{
  "schemaVersion": 1,
  "package": "@fayegram-ai/faye-ui",
  "moduleGroup": "theme",
  "entry": "@fayegram-ai/faye-ui/theme/contexts",
  "source": "packages/theme/src/contexts.ts",
  "clientBoundary": false,
  "declarations": [
    {
      "name": "ThemeContext",
      "kind": "InterfaceDeclaration",
      "signature": "export interface ThemeContext {\n    readonly scheme: Scheme;\n    readonly density: Density;\n    readonly axes: Readonly<Record<string, string>>;\n}",
      "members": [
        {
          "name": "scheme",
          "optional": false,
          "type": "Scheme"
        },
        {
          "name": "density",
          "optional": false,
          "type": "Density"
        },
        {
          "name": "axes",
          "optional": false,
          "type": "Readonly<Record<string, string>>"
        }
      ],
      "line": 2
    },
    {
      "name": "ThemeContextOptions",
      "kind": "InterfaceDeclaration",
      "signature": "export interface ThemeContextOptions {\n    scheme?: Scheme;\n    density?: Density;\n    axes?: Readonly<Record<string, string>>;\n}",
      "members": [
        {
          "name": "scheme",
          "optional": true,
          "type": "Scheme"
        },
        {
          "name": "density",
          "optional": true,
          "type": "Density"
        },
        {
          "name": "axes",
          "optional": true,
          "type": "Readonly<Record<string, string>>"
        }
      ],
      "line": 7
    },
    {
      "name": "MAX_THEME_CONTEXTS",
      "kind": "VariableDeclaration",
      "signature": "MAX_THEME_CONTEXTS = 256",
      "line": 13
    },
    {
      "name": "validateAxes",
      "kind": "FunctionDeclaration",
      "signature": "export function validateAxes(definition: ThemeDefinition, validate: (tokens: TokenSet, path: string) => void): void",
      "line": 14
    },
    {
      "name": "contextSelections",
      "kind": "FunctionDeclaration",
      "signature": "export function contextSelections(definition: ThemeDefinition): ThemeContext[]",
      "line": 71
    },
    {
      "name": "selectContext",
      "kind": "FunctionDeclaration",
      "signature": "export function selectContext(definition: ThemeDefinition, options: ThemeContextOptions): ThemeContext",
      "line": 79
    },
    {
      "name": "contextualTokens",
      "kind": "FunctionDeclaration",
      "signature": "export function contextualTokens(definition: ThemeDefinition, context: ThemeContext): TokenSet",
      "line": 98
    }
  ],
  "typesComplete": false,
  "typeScope": "Explicit source declarations plus dependency-resolved emitted exports. Full inherited/generic restrictions remain authoritative in installed declarations.",
  "compiledExports": [
    {
      "name": "validateAxes",
      "kind": "value",
      "type": "(definition: ThemeDefinition, validate: (tokens: TokenSet, path: string) => void) => void",
      "description": ""
    },
    {
      "name": "contextSelections",
      "kind": "value",
      "type": "(definition: ThemeDefinition) => ThemeContext[]",
      "description": "Called after structural validation, never on arbitrary portable input."
    },
    {
      "name": "selectContext",
      "kind": "value",
      "type": "(definition: ThemeDefinition, options: ThemeContextOptions) => ThemeContext",
      "description": ""
    },
    {
      "name": "contextualTokens",
      "kind": "value",
      "type": "(definition: ThemeDefinition, context: ThemeContext) => TokenSet",
      "description": "Precedence: base, scheme, density, axes sorted by name, matching conditions in declaration order."
    },
    {
      "name": "ThemeContext",
      "kind": "type",
      "type": "ThemeContext",
      "description": ""
    },
    {
      "name": "ThemeContextOptions",
      "kind": "type",
      "type": "ThemeContextOptions",
      "description": ""
    },
    {
      "name": "MAX_THEME_CONTEXTS",
      "kind": "value",
      "type": "256",
      "description": "Bound expansion before allocation. Applications needing more should split independent theme assets."
    }
  ],
  "declaration": "packages/faye-ui/dist/theme/contexts.d.ts"
}
