import type { Base16Key, Base16Palette, ResolvedThemePolarity, ThemePolarity, ThemeTint } from "./types";
export declare const COLOR_SCHEME_QUERY = "(prefers-color-scheme: dark)";
export declare const THEME_VALUES: ThemePolarity[];
export declare const BASE16_KEYS: Base16Key[];
export declare const THEME_TINT_OPTIONS: [{
    readonly value: "soft";
    readonly label: "Soft";
}, {
    readonly value: "hard";
    readonly label: "Hard";
}, {
    readonly value: "extreme";
    readonly label: "Extreme";
}];
export declare const TINT_VALUES: ("extreme" | "hard" | "soft")[];
export declare const DEFAULT_THEME_COLOR = "";
export declare const DEFAULT_BORDER_RADIUS = 0.5;
export declare const MIN_BORDER_RADIUS = 0;
export declare const MAX_BORDER_RADIUS = 1.5;
export declare const COLOR_PICKER_FALLBACK = "#2f9b9b";
export declare const DEFAULT_BASE16_PALETTE: Base16Palette;
export declare const THEME_VARIABLE_NAMES: string[];
export declare function isTheme(value: string | null): value is ThemePolarity;
export declare function isTint(value: string | null): value is ThemeTint;
export declare function isHexColor(value: string | null): value is string;
export declare function isThemeColor(value: string | null): value is string;
export declare function parseBorderRadius(value: string | null): number | null;
export declare function parseBase16Palette(value: unknown): Base16Palette | null;
export declare function parseStoredBase16Palette(value: string | null): Base16Palette | null;
export declare function serializeBase16Palette(palette: Base16Palette | null): string;
export declare function formatPaletteJson(palette: Base16Palette | null): string;
export declare function getSystemTheme(): ResolvedThemePolarity;
export declare function disableTransitionsTemporarily(): () => void;
export declare function clamp(value: number, min: number, max: number): number;
export declare function getThemeVariables(color: string, polarity: ResolvedThemePolarity, tint: ThemeTint): {
    "--background": string;
    "--foreground": string;
    "--card": string;
    "--card-foreground": string;
    "--popover": string;
    "--popover-foreground": string;
    "--primary": string;
    "--primary-foreground": string;
    "--primary-foreground-alt": string;
    "--secondary": string;
    "--secondary-foreground": string;
    "--muted": string;
    "--muted-foreground": string;
    "--accent": string;
    "--accent-foreground": string;
    "--destructive": string;
    "--border": string;
    "--input": string;
    "--ring": string;
    "--chart-1": string;
    "--chart-2": string;
    "--chart-3": string;
    "--chart-4": string;
    "--chart-5": string;
    "--sidebar": string;
    "--sidebar-foreground": string;
    "--sidebar-primary": string;
    "--sidebar-primary-foreground": string;
    "--sidebar-accent": string;
    "--sidebar-accent-foreground": string;
    "--sidebar-border": string;
    "--sidebar-ring": string;
};
export declare function getBase16ThemeVariables(palette: Base16Palette): {
    "--background": string;
    "--foreground": string;
    "--card": string;
    "--card-foreground": string;
    "--popover": string;
    "--popover-foreground": string;
    "--primary": string;
    "--primary-foreground": string;
    "--primary-foreground-alt": string;
    "--secondary": string;
    "--secondary-foreground": string;
    "--muted": string;
    "--muted-foreground": string;
    "--accent": string;
    "--accent-foreground": string;
    "--destructive": string;
    "--border": string;
    "--input": string;
    "--ring": string;
    "--chart-1": string;
    "--chart-2": string;
    "--chart-3": string;
    "--chart-4": string;
    "--chart-5": string;
    "--sidebar": string;
    "--sidebar-foreground": string;
    "--sidebar-primary": string;
    "--sidebar-primary-foreground": string;
    "--sidebar-accent": string;
    "--sidebar-accent-foreground": string;
    "--sidebar-border": string;
    "--sidebar-ring": string;
};
export declare function getPrimaryThemeVariables(color: string): {
    "--primary": string;
    "--primary-foreground": string;
    "--primary-foreground-alt": string;
    "--ring": string;
    "--sidebar-primary": string;
    "--sidebar-primary-foreground": string;
};
export declare function readStoredValue<T extends string>(key: string | null | undefined, validate: (value: string | null) => value is T, fallback: T): T;
export declare function saveStoredValue(key: string | null | undefined, value: string): void;
