@chalidade/protect-pdf 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+ /**
2
+ * <protect-pdf> — importing this module registers the element.
3
+ *
4
+ * Attributes:
5
+ * - `theme`: "auto" (default, follows the OS), "light" or "dark"
6
+ * - `lang`: "en" or "id" for the UI language (default: the visitor's browser language)
7
+ */
8
+ export declare class ProtectPdfElement extends HTMLElement {
9
+ readonly theme: 'light' | 'dark' | 'auto'
10
+ }
11
+
12
+ declare global {
13
+ interface HTMLElementTagNameMap {
14
+ 'protect-pdf': ProtectPdfElement
15
+ }
16
+ }