import { type CodeStyle, type Mode, type Scheme } from './model.js'; export declare const THEME_TOKENS: readonly ['--theme-app-bg', '--theme-panel-bg', '--theme-panel-hover', '--theme-muted-panel-bg', '--theme-hover', '--theme-input-bg', '--theme-input-disabled-bg', '--theme-app', '--theme-muted-text-color', '--theme-placeholder', '--theme-link', '--theme-border', '--theme-border-field', '--theme-border-strong', '--theme-accent', '--theme-accent-text', '--theme-accent-hover', '--theme-accent-subtle', '--theme-focus', '--theme-focus-ring', '--theme-success', '--theme-success-text', '--theme-success-solid', '--theme-success-muted', '--theme-error', '--theme-error-text', '--theme-error-solid', '--theme-error-muted', '--theme-warning', '--theme-warning-text', '--theme-warning-solid', '--theme-warning-muted', '--theme-info', '--theme-info-text', '--theme-info-solid', '--theme-info-muted', '--theme-favorite', '--theme-favorite-text', '--theme-favorite-solid', '--theme-favorite-muted', '--theme-shadow-sm', '--theme-shadow', '--theme-shadow-lg', '--theme-shadow-xl', '--theme-backdrop', '--theme-sidebar-bg', '--theme-sidebar-text', '--theme-sidebar-hover', '--theme-sidebar-active-bg', '--theme-sidebar-active-text', '--theme-code-bg', '--theme-code-text', '--theme-code-comment', '--theme-code-keyword', '--theme-code-string', '--theme-code-number', '--theme-code-function', '--theme-code-type', '--theme-code-property', '--theme-ansi-black', '--theme-ansi-red', '--theme-ansi-green', '--theme-ansi-yellow', '--theme-ansi-blue', '--theme-ansi-magenta', '--theme-ansi-cyan', '--theme-ansi-white', '--theme-category-1', '--theme-category-1-text', '--theme-category-2', '--theme-category-2-text', '--theme-category-3', '--theme-category-3-text', '--theme-category-4', '--theme-category-4-text', '--theme-category-5', '--theme-category-5-text', '--theme-category-6', '--theme-category-6-text', '--theme-category-7', '--theme-category-7-text', '--theme-category-8', '--theme-category-8-text']; export type ThemeToken = (typeof THEME_TOKENS)[number]; export type ThemeVariables = Record; /** The tokens the sidebar owns. A host's chrome may supply its own fallbacks, so the stylesheet gives them no defaults. */ export declare const SIDEBAR_TOKENS: readonly ThemeToken[]; /** A theme as both outputs: every token in sRGB, and the tokens a display-p3 screen shows noticeably more of. */ export interface GeneratedTheme { srgb: ThemeVariables; /** `color(display-p3 …)` for the tokens whose display-p3 mapping is more than one just-noticeable difference from their sRGB one. */ p3: Partial; } export interface DeriveOptions { /** How the code theme colors syntax. */ code?: CodeStyle; } /** The surfaces placeholder and disabled text sit on: field boxes, and the bare inputs of * search bars, menus and dialogs that take their surface's background. */ export declare const PLACEHOLDER_ON: ThemeToken[]; /** The surfaces a control's edge sits on: the page, panels, and the control's own fill. */ export declare const CONTROL_ON: ThemeToken[]; export declare const CATEGORY_COUNT = 8; /** Every token as sRGB, plus display-p3 overrides that keep every contrast the sRGB output meets. */ export declare function generateTheme(scheme: Scheme, options?: DeriveOptions): GeneratedTheme; /** Every `--theme-*` token for a scheme, in sRGB. */ export declare function deriveTheme(scheme: Scheme, options?: DeriveOptions): ThemeVariables; /** A stylesheet for a scheme: sRGB under `selector`, and the display-p3 overrides under * `@media (color-gamut: p3)`. Given a scheme for each mode, every token that differs between * them is written as `light-dark()`, so the tokens follow the CSS color-scheme wherever they are * used. `omit` leaves tokens out, such as ones a host supplies. */ export declare function themeStylesheet(selector: string, scheme: Scheme | Record, options?: DeriveOptions & { omit?: readonly ThemeToken[]; }): string;