/**
 * Build Theme Runtime from ThemeBridge Config
 *
 * Converts the SDK ThemeBridge config into the same runtime buckets consumed by
 * ThemeScopeCore. The bridge deliberately keeps component skins opt-in while
 * always emitting the structural CSS contract system blocks rely on.
 */
import type { ThemeCssVars } from './buildThemeRuntime';
export declare const THEME_BRIDGE_SCOPE_ID = "sdk";
/**
 * ThemeBridgeConfig definition (subset needed for runtime generation).
 * Full type is in @riverbankcms/sdk, but we define the compatible shape here
 * to avoid a package cycle.
 */
export interface ThemeBridgeConfigMinimal {
    tokens: Record<string, string>;
    typography?: {
        headingFamily?: string;
        bodyFamily?: string;
        headingWeight?: number;
        bodyWeight?: number;
    };
    spacing?: 'comfortable' | 'standard' | 'dense';
    corners?: 'square' | 'soft' | 'rounded' | 'pill';
    shadows?: 'none' | 'low' | 'medium' | 'high';
    components?: {
        buttons?: boolean | {
            variants?: Array<'primary' | 'secondary' | 'outline' | 'ghost'>;
        };
        cards?: boolean | {
            variants?: Array<'default' | 'elevated' | 'outlined'>;
        };
        inputs?: boolean;
    };
    overrides?: Record<string, string>;
}
export type ThemeBridgeRuntime = Readonly<{
    themeId: typeof THEME_BRIDGE_SCOPE_ID;
    cssVars: ThemeCssVars;
    buttonCss?: string;
    cardCss?: string;
    inputCss?: string;
    statusCss: string;
    progressCss: string;
    blockVarsCss: string;
    customCss?: string;
}>;
export declare const BRIDGE_DEFAULT_TOKENS: Readonly<Record<string, string>>;
export declare function normalizeTokenValue(value: string): string;
/**
 * Legacy css-var-only bridge helper. Prefer buildThemeBridgeRuntime() for SDK
 * sites that need the full ThemeScopeCore runtime contract.
 */
export declare function buildThemeRuntimeFromBridge(config: ThemeBridgeConfigMinimal): ThemeCssVars;
export declare function buildThemeBridgeRuntime(config: ThemeBridgeConfigMinimal): ThemeBridgeRuntime;
