{
  "schemaVersion": 1,
  "package": "@fayegram-ai/faye-ui",
  "moduleGroup": "theme",
  "entry": "@fayegram-ai/faye-ui/theme/migration",
  "source": "packages/theme/src/migration.ts",
  "clientBoundary": false,
  "declarations": [
    {
      "name": "ThemeMigrationOptions",
      "kind": "InterfaceDeclaration",
      "signature": "export interface ThemeMigrationOptions {\n    readonly base: ThemeDefinition;\n    readonly schema?: TokenContract;\n    readonly id?: string;\n    /** Explicit stable-name changes; aliases in every context are updated too. */\n    readonly renames?: Readonly<Record<string, string>>;\n    /** Exact obsolete names to discard. Unknown names otherwise fail. */\n    readonly remove?: readonly string[];\n}",
      "members": [
        {
          "name": "base",
          "optional": false,
          "type": "ThemeDefinition"
        },
        {
          "name": "schema",
          "optional": true,
          "type": "TokenContract"
        },
        {
          "name": "id",
          "optional": true,
          "type": "string"
        },
        {
          "name": "renames",
          "optional": true,
          "type": "Readonly<Record<string, string>>"
        },
        {
          "name": "remove",
          "optional": true,
          "type": "readonly string[]"
        }
      ],
      "line": 5
    },
    {
      "name": "ThemeMigrationResult",
      "kind": "InterfaceDeclaration",
      "signature": "export interface ThemeMigrationResult {\n    readonly theme: ThemeDefinition;\n    readonly added: readonly string[];\n    readonly removed: readonly string[];\n    readonly renamed: Readonly<Record<string, string>>;\n    readonly contrast: ReturnType<typeof auditThemeContrast>;\n    readonly reviewRequired: true;\n}",
      "members": [
        {
          "name": "theme",
          "optional": false,
          "type": "ThemeDefinition"
        },
        {
          "name": "added",
          "optional": false,
          "type": "readonly string[]"
        },
        {
          "name": "removed",
          "optional": false,
          "type": "readonly string[]"
        },
        {
          "name": "renamed",
          "optional": false,
          "type": "Readonly<Record<string, string>>"
        },
        {
          "name": "contrast",
          "optional": false,
          "type": "ReturnType<typeof auditThemeContrast>"
        },
        {
          "name": "reviewRequired",
          "optional": false,
          "type": "true"
        }
      ],
      "line": 14
    },
    {
      "name": "migrateTheme",
      "kind": "FunctionDeclaration",
      "signature": "export function migrateTheme(input: unknown, options: ThemeMigrationOptions): ThemeMigrationResult",
      "line": 23
    }
  ],
  "typesComplete": false,
  "typeScope": "Explicit source declarations plus dependency-resolved emitted exports. Full inherited/generic restrictions remain authoritative in installed declarations.",
  "compiledExports": [
    {
      "name": "migrateTheme",
      "kind": "value",
      "type": "(input: unknown, options: ThemeMigrationOptions) => ThemeMigrationResult",
      "description": "Upgrade a version-1 partial/full theme with a supplied current base, never an implicit reset."
    },
    {
      "name": "ThemeMigrationOptions",
      "kind": "type",
      "type": "ThemeMigrationOptions",
      "description": ""
    },
    {
      "name": "ThemeMigrationResult",
      "kind": "type",
      "type": "ThemeMigrationResult",
      "description": ""
    }
  ],
  "declaration": "packages/faye-ui/dist/theme/migration.d.ts"
}
