{
  "schemaVersion": 1,
  "package": "@fayegram-ai/faye-ui",
  "moduleGroup": "provider",
  "entry": "@fayegram-ai/faye-ui/provider/document-theme",
  "source": "packages/provider/src/document-theme.ts",
  "clientBoundary": false,
  "declarations": [
    {
      "name": "DocumentThemeSnapshot",
      "kind": "InterfaceDeclaration",
      "signature": "export interface DocumentThemeSnapshot {\n    themeId: string;\n    scheme: Scheme;\n    density: Density;\n    direction: Direction;\n    axes?: AxisSelection;\n    motion?: 'system' | 'reduced';\n    accessibility?: AccessibilityOptions;\n    systemContrast?: 'normal' | 'more';\n    variables?: Readonly<Record<`--faye-ui-${string}`, string>>;\n}",
      "members": [
        {
          "name": "themeId",
          "optional": false,
          "type": "string"
        },
        {
          "name": "scheme",
          "optional": false,
          "type": "Scheme"
        },
        {
          "name": "density",
          "optional": false,
          "type": "Density"
        },
        {
          "name": "direction",
          "optional": false,
          "type": "Direction"
        },
        {
          "name": "axes",
          "optional": true,
          "type": "AxisSelection"
        },
        {
          "name": "motion",
          "optional": true,
          "type": "'system' | 'reduced'"
        },
        {
          "name": "accessibility",
          "optional": true,
          "type": "AccessibilityOptions"
        },
        {
          "name": "systemContrast",
          "optional": true,
          "type": "'normal' | 'more'"
        },
        {
          "name": "variables",
          "optional": true,
          "type": "Readonly<Record<`--faye-ui-${string}`, string>>"
        }
      ],
      "line": 4
    },
    {
      "name": "DocumentThemeLease",
      "kind": "InterfaceDeclaration",
      "signature": "export interface DocumentThemeLease {\n    update(snapshot: DocumentThemeSnapshot): void;\n    dispose(): void;\n}",
      "members": [
        {
          "name": "update",
          "optional": false,
          "type": "void"
        },
        {
          "name": "dispose",
          "optional": false,
          "type": "void"
        }
      ],
      "line": 15
    },
    {
      "name": "createDocumentTheme",
      "kind": "FunctionDeclaration",
      "signature": "export function createDocumentTheme(target: HTMLElement): DocumentThemeLease",
      "line": 37
    }
  ],
  "typesComplete": false,
  "typeScope": "Explicit source declarations plus dependency-resolved emitted exports. Full inherited/generic restrictions remain authoritative in installed declarations.",
  "compiledExports": [
    {
      "name": "createDocumentTheme",
      "kind": "value",
      "type": "(target: HTMLElement) => DocumentThemeLease",
      "description": "One document/scope owner, with diffed writes and compare-before-restore cleanup.\nHost writes made after the last Faye UI update are not silently undone on disposal."
    },
    {
      "name": "DocumentThemeSnapshot",
      "kind": "type",
      "type": "DocumentThemeSnapshot",
      "description": ""
    },
    {
      "name": "DocumentThemeLease",
      "kind": "type",
      "type": "DocumentThemeLease",
      "description": ""
    }
  ],
  "declaration": "packages/faye-ui/dist/provider/document-theme.d.ts"
}
