{
  "schemaVersion": 1,
  "package": "@fayegram-ai/faye-ui",
  "moduleGroup": "provider",
  "entry": "@fayegram-ai/faye-ui/provider/provider",
  "source": "packages/provider/src/provider.tsx",
  "clientBoundary": true,
  "declarations": [
    {
      "name": "TokenVariables",
      "kind": "TypeAliasDeclaration",
      "signature": "export type TokenVariables = Readonly<Record<`--faye-ui-${string}`, string>>;",
      "line": 20
    },
    {
      "name": "VisualScope",
      "kind": "InterfaceDeclaration",
      "signature": "export interface VisualScope {\n    scheme: Scheme;\n    density: Density;\n    direction: Direction;\n    themeId: string;\n    axes: AxisSelection;\n    motion: 'system' | 'reduced';\n    accessibility?: AccessibilityPreferences;\n    systemContrast?: SystemContrast;\n    variables: TokenVariables;\n    isolate: boolean;\n}",
      "members": [
        {
          "name": "scheme",
          "optional": false,
          "type": "Scheme"
        },
        {
          "name": "density",
          "optional": false,
          "type": "Density"
        },
        {
          "name": "direction",
          "optional": false,
          "type": "Direction"
        },
        {
          "name": "themeId",
          "optional": false,
          "type": "string"
        },
        {
          "name": "axes",
          "optional": false,
          "type": "AxisSelection"
        },
        {
          "name": "motion",
          "optional": false,
          "type": "'system' | 'reduced'"
        },
        {
          "name": "accessibility",
          "optional": true,
          "type": "AccessibilityPreferences"
        },
        {
          "name": "systemContrast",
          "optional": true,
          "type": "SystemContrast"
        },
        {
          "name": "variables",
          "optional": false,
          "type": "TokenVariables"
        },
        {
          "name": "isolate",
          "optional": false,
          "type": "boolean"
        }
      ],
      "line": 21
    },
    {
      "name": "Environment",
      "kind": "InterfaceDeclaration",
      "signature": "export interface Environment {\n    ownerDocument?: Document;\n    portalContainer?: HTMLElement | ShadowRoot;\n    nonce?: string;\n    locale: string;\n    message?: MessageFormatter;\n}",
      "members": [
        {
          "name": "ownerDocument",
          "optional": true,
          "type": "Document"
        },
        {
          "name": "portalContainer",
          "optional": true,
          "type": "HTMLElement | ShadowRoot"
        },
        {
          "name": "nonce",
          "optional": true,
          "type": "string"
        },
        {
          "name": "locale",
          "optional": false,
          "type": "string"
        },
        {
          "name": "message",
          "optional": true,
          "type": "MessageFormatter"
        }
      ],
      "line": 33
    },
    {
      "name": "ComponentConfiguration",
      "kind": "InterfaceDeclaration",
      "signature": "export interface ComponentConfiguration {\n    profiles: Readonly<Record<string, ComponentProfile>>;\n}",
      "members": [
        {
          "name": "profiles",
          "optional": false,
          "type": "Readonly<Record<string, ComponentProfile>>"
        }
      ],
      "line": 40
    },
    {
      "name": "FayeUIProviderProps",
      "kind": "InterfaceDeclaration",
      "signature": "export interface FayeUIProviderProps {\n    accessibility?: AccessibilityOptions;\n    interaction?: InteractionOptions;\n    children: ReactNode;\n    initialPreference?: ColorPreference;\n    serverScheme?: Scheme;\n    storageKey?: string;\n    store?: PreferenceStore;\n    density?: Density;\n    direction?: Direction;\n    locale?: string;\n    catalogs?: readonly MessageCatalog[];\n    themeId?: string;\n    axes?: AxisSelection;\n    motion?: 'system' | 'reduced';\n    variables?: TokenVariables;\n    profiles?: readonly ComponentProfile[];\n    settings?: readonly ComponentSettings[];\n    ownerDocument?: Document;\n    portalContainer?: HTMLElement | ShadowRoot;\n    nonce?: string;\n    /** Set false when another root already owns the document theme. */\n    applyToDocument?: boolean;\n}",
      "members": [
        {
          "name": "accessibility",
          "optional": true,
          "type": "AccessibilityOptions"
        },
        {
          "name": "interaction",
          "optional": true,
          "type": "InteractionOptions"
        },
        {
          "name": "children",
          "optional": false,
          "type": "ReactNode"
        },
        {
          "name": "initialPreference",
          "optional": true,
          "type": "ColorPreference"
        },
        {
          "name": "serverScheme",
          "optional": true,
          "type": "Scheme"
        },
        {
          "name": "storageKey",
          "optional": true,
          "type": "string"
        },
        {
          "name": "store",
          "optional": true,
          "type": "PreferenceStore"
        },
        {
          "name": "density",
          "optional": true,
          "type": "Density"
        },
        {
          "name": "direction",
          "optional": true,
          "type": "Direction"
        },
        {
          "name": "locale",
          "optional": true,
          "type": "string"
        },
        {
          "name": "catalogs",
          "optional": true,
          "type": "readonly MessageCatalog[]"
        },
        {
          "name": "themeId",
          "optional": true,
          "type": "string"
        },
        {
          "name": "axes",
          "optional": true,
          "type": "AxisSelection"
        },
        {
          "name": "motion",
          "optional": true,
          "type": "'system' | 'reduced'"
        },
        {
          "name": "variables",
          "optional": true,
          "type": "TokenVariables"
        },
        {
          "name": "profiles",
          "optional": true,
          "type": "readonly ComponentProfile[]"
        },
        {
          "name": "settings",
          "optional": true,
          "type": "readonly ComponentSettings[]"
        },
        {
          "name": "ownerDocument",
          "optional": true,
          "type": "Document"
        },
        {
          "name": "portalContainer",
          "optional": true,
          "type": "HTMLElement | ShadowRoot"
        },
        {
          "name": "nonce",
          "optional": true,
          "type": "string"
        },
        {
          "name": "applyToDocument",
          "optional": true,
          "type": "boolean"
        }
      ],
      "line": 60
    },
    {
      "name": "FayeUIProvider",
      "kind": "FunctionDeclaration",
      "signature": "export function FayeUIProvider({ accessibility, interaction, children, initialPreference = 'system', serverScheme = 'light', storageKey, store: externalStore, density = 'comfortable', direction = 'ltr', locale = 'en', catalogs = emptyCatalogs, themeId = 'faye-ui', axes = emptyAxes, motion = 'system', variables = emptyVariables, profiles = emptyProfiles, settings = emptySettings, ownerDocument, portalContainer, nonce, applyToDocument = true }: FayeUIProviderProps)",
      "line": 84
    },
    {
      "name": "useColorScheme",
      "kind": "FunctionDeclaration",
      "signature": "export function useColorScheme()",
      "line": 125
    },
    {
      "name": "useEnvironment",
      "kind": "FunctionDeclaration",
      "signature": "export function useEnvironment()",
      "line": 132
    },
    {
      "name": "useVisualScope",
      "kind": "FunctionDeclaration",
      "signature": "export function useVisualScope()",
      "line": 133
    },
    {
      "name": "useAccessibilityPreferences",
      "kind": "FunctionDeclaration",
      "signature": "export function useAccessibilityPreferences(): AccessibilityPreferences",
      "line": 135
    },
    {
      "name": "useInputModality",
      "kind": "FunctionDeclaration",
      "signature": "export function useInputModality(ownerDocument?: Document): InputModality",
      "line": 137
    },
    {
      "name": "ThemeScopeProps",
      "kind": "InterfaceDeclaration",
      "signature": "export interface ThemeScopeProps extends HTMLAttributes<HTMLDivElement> {\n    accessibility?: AccessibilityOptions;\n    interaction?: InteractionOptions;\n    scheme?: Scheme;\n    density?: Density;\n    direction?: Direction;\n    themeId?: string;\n    axes?: AxisSelection;\n    motion?: 'system' | 'reduced';\n    variables?: TokenVariables;\n    mode?: 'extend' | 'isolate';\n    profiles?: readonly ComponentProfile[];\n    settings?: readonly ComponentSettings[];\n}",
      "members": [
        {
          "name": "accessibility",
          "optional": true,
          "type": "AccessibilityOptions"
        },
        {
          "name": "interaction",
          "optional": true,
          "type": "InteractionOptions"
        },
        {
          "name": "scheme",
          "optional": true,
          "type": "Scheme"
        },
        {
          "name": "density",
          "optional": true,
          "type": "Density"
        },
        {
          "name": "direction",
          "optional": true,
          "type": "Direction"
        },
        {
          "name": "themeId",
          "optional": true,
          "type": "string"
        },
        {
          "name": "axes",
          "optional": true,
          "type": "AxisSelection"
        },
        {
          "name": "motion",
          "optional": true,
          "type": "'system' | 'reduced'"
        },
        {
          "name": "variables",
          "optional": true,
          "type": "TokenVariables"
        },
        {
          "name": "mode",
          "optional": true,
          "type": "'extend' | 'isolate'"
        },
        {
          "name": "profiles",
          "optional": true,
          "type": "readonly ComponentProfile[]"
        },
        {
          "name": "settings",
          "optional": true,
          "type": "readonly ComponentSettings[]"
        }
      ],
      "line": 141
    },
    {
      "name": "ThemeScope",
      "kind": "FunctionDeclaration",
      "signature": "export function ThemeScope({ accessibility, interaction, scheme, density, direction, themeId, axes, motion, variables, mode = 'extend', profiles, settings, children, style, className, ...props }: ThemeScopeProps)",
      "line": 155
    },
    {
      "name": "PortalTheme",
      "kind": "FunctionDeclaration",
      "signature": "export function PortalTheme({ children }: {\n    children: ReactNode;\n})",
      "line": 170
    },
    {
      "name": "ComponentStyleScope",
      "kind": "FunctionDeclaration",
      "signature": "export function ComponentStyleScope<N extends string>({ name, variants, children }: {\n    name: N;\n    variants: VisualVariants<N>;\n    children: ReactNode;\n})",
      "line": 179
    },
    {
      "name": "useComponentStyle",
      "kind": "FunctionDeclaration",
      "signature": "export function useComponentStyle(name: string, part = 'root', instance: Readonly<Record<string, string | undefined>> = {})",
      "line": 184
    },
    {
      "name": "useConfiguredProps",
      "kind": "FunctionDeclaration",
      "signature": "export function useConfiguredProps<T extends object>(name: string, part: string, props: T, libraryDefaults?: Partial<T>): T",
      "line": 191
    },
    {
      "name": "useInteractionVisuals",
      "kind": "FunctionDeclaration",
      "signature": "export function useInteractionVisuals(options?: InteractionOptions)",
      "line": 197
    }
  ],
  "typesComplete": false,
  "typeScope": "Explicit source declarations plus dependency-resolved emitted exports. Full inherited/generic restrictions remain authoritative in installed declarations.",
  "compiledExports": [
    {
      "name": "FayeUIProvider",
      "kind": "value",
      "type": "({ accessibility, interaction, children, initialPreference, serverScheme, storageKey, store: externalStore, density, direction, locale, catalogs, themeId, axes, motion, variables, profiles, settings, ownerDocument, portalContainer, nonce, applyToDocument }: FayeUIProviderProps) => import(\"react\").JSX.Element",
      "description": ""
    },
    {
      "name": "useColorScheme",
      "kind": "value",
      "type": "() => { setPreference: (value: ColorPreference) => void; preference: ColorPreference; scheme: Scheme; }",
      "description": ""
    },
    {
      "name": "useEnvironment",
      "kind": "value",
      "type": "() => Environment & { message: MessageFormatter; }",
      "description": ""
    },
    {
      "name": "useVisualScope",
      "kind": "value",
      "type": "() => VisualScope",
      "description": ""
    },
    {
      "name": "useAccessibilityPreferences",
      "kind": "value",
      "type": "() => AccessibilityPreferences",
      "description": "Read-only effective preferences; applications own updates and persistence."
    },
    {
      "name": "useInputModality",
      "kind": "value",
      "type": "(ownerDocument?: Document) => InputModality",
      "description": "Navigation modality is document-local and never indicates assistive-technology use."
    },
    {
      "name": "ThemeScope",
      "kind": "value",
      "type": "({ accessibility, interaction, scheme, density, direction, themeId, axes, motion, variables, mode, profiles, settings, children, style, className, ...props }: ThemeScopeProps) => import(\"react\").JSX.Element",
      "description": ""
    },
    {
      "name": "PortalTheme",
      "kind": "value",
      "type": "({ children }: { children: ReactNode; }) => import(\"react\").JSX.Element",
      "description": "Mirrors the logical scope onto the actual portal DOM, without another focus manager."
    },
    {
      "name": "ComponentStyleScope",
      "kind": "value",
      "type": "<N extends string>({ name, variants, children }: { name: N; variants: VisualVariants<N>; children: ReactNode; }) => import(\"react\").JSX.Element",
      "description": ""
    },
    {
      "name": "useComponentStyle",
      "kind": "value",
      "type": "(name: string, part?: string, instance?: Readonly<Record<string, string | undefined>>) => { className: string | undefined; variants: Readonly<Record<string, string>>; attributes: { [k: string]: string; }; }",
      "description": ""
    },
    {
      "name": "useConfiguredProps",
      "kind": "value",
      "type": "<T extends object>(name: string, part: string, props: T, libraryDefaults?: Partial<T>) => T",
      "description": ""
    },
    {
      "name": "useInteractionVisuals",
      "kind": "value",
      "type": "(options?: InteractionOptions) => { attributes: { \"data-faye-ui-interaction-variant\": import(\"@fayegram-ai/faye-ui/contracts\").InteractionVariant; \"data-faye-ui-interaction-level\": import(\"@fayegram-ai/faye-ui/contracts\").InteractionLevel; \"data-faye-ui-track-effect\": \"expand\" | \"highlight\" | \"none\"; \"data-faye-ui-track-highlight\": true | undefined; }; style: CSSProperties; }",
      "description": "Shared opt-in adapter for components with track interaction capability."
    },
    {
      "name": "InputModality",
      "kind": "type",
      "type": "InputModality",
      "description": ""
    },
    {
      "name": "TokenVariables",
      "kind": "type",
      "type": "Readonly<Record<`--faye-ui-${string}`, string>>",
      "description": ""
    },
    {
      "name": "VisualScope",
      "kind": "type",
      "type": "VisualScope",
      "description": ""
    },
    {
      "name": "Environment",
      "kind": "type",
      "type": "Environment",
      "description": ""
    },
    {
      "name": "ComponentConfiguration",
      "kind": "type",
      "type": "ComponentConfiguration",
      "description": ""
    },
    {
      "name": "FayeUIProviderProps",
      "kind": "type",
      "type": "FayeUIProviderProps",
      "description": ""
    },
    {
      "name": "ThemeScopeProps",
      "kind": "type",
      "type": "ThemeScopeProps",
      "description": ""
    }
  ],
  "declaration": "packages/faye-ui/dist/provider/provider.d.ts"
}
