import { DEFAULT_PRESET } from './constants.js'; import type { AdapterWriteFailure, OverrideDiagnostic, RuntimeMap, UpdateCssVariables } from './override/contracts.js'; import type { Platform } from './types.js'; export type { UpdateCssVariables } from './override/contracts.js'; export { DEFAULT_PRESET }; export type ApplyThemeOverrideResult = { readonly applied: true; readonly revision: string; readonly diagnostics: readonly OverrideDiagnostic[]; } | { readonly applied: false; readonly reason: 'invalid_theme_override' | 'no_theme_changes'; readonly diagnostics: readonly OverrideDiagnostic[]; readonly revision: string; } | { readonly applied: false; readonly reason: 'adapter_write_failed'; readonly diagnostics: readonly OverrideDiagnostic[]; readonly revision: string; readonly failure: AdapterWriteFailure; }; export interface ApplyThemeOverrideOptions { runtimeMap?: RuntimeMap; runtimePlatform?: Platform; updateCSSVariables?: UpdateCssVariables; } export interface ApplyThemeOverrideRuntimeOptions { runtimeMap?: RuntimeMap; runtimePlatform: Platform; getUpdateCSSVariables: () => UpdateCssVariables; } export declare function applyThemeOverrideWithRuntime(override: unknown, options: ApplyThemeOverrideRuntimeOptions): ApplyThemeOverrideResult; //# sourceMappingURL=applyThemeOverrideRuntime.d.ts.map