export interface Theme {
    /** 画布背景色 */
    bg: string;
    /** 默认线条颜色 */
    stroke: string;
    /** 默认填充色 */
    fill: string;
    /** 默认文字颜色 */
    text: string;
    /** 默认字体 */
    font: string;
    /** 默认线宽 */
    lw: number;
}
export declare const BUILTIN_THEMES: Record<string, Theme>;
/** CSS variable names used by `theme: "auto"`. Host page defines these to control circuit colors. */
export declare const CSS_VARS: {
    readonly bg: "--circuit-bg";
    readonly stroke: "--circuit-stroke";
    readonly fill: "--circuit-fill";
    readonly text: "--circuit-text";
    readonly font: "--circuit-font";
    readonly lw: "--circuit-lw";
};
export declare function resolveTheme(theme?: string | Partial<Theme>): Theme;
export declare function applyThemeToDrawingConfig(theme: Theme, drawingConfig?: Record<string, unknown>): Record<string, unknown>;
