export interface CodeEditorPayload { code: string; language: string; theme: string; fontSize: number; showLineNumbers: boolean; } export declare const DEFAULT_CODE_LANGUAGE = "typescript"; export declare const DEFAULT_CODE_THEME = "github-dark"; export declare const DEFAULT_CODE_FONT_SIZE = 18; export declare const DEFAULT_CODE_WIDTH = 640; export declare const DEFAULT_CODE_HEIGHT = 360; export declare const CODE_PAD_X = 16; export declare const CODE_PAD_Y = 12; export declare const CODE_LINE_HEIGHT = 1.5; export declare function measureCodeElementSize(data: Pick): { width: number; height: number; }; export declare const DEFAULT_CODE_SAMPLE = "function greet(name: string) {\n return `Hello, ${name}!`\n}\n\nconsole.log(greet('world'))"; export declare const CODE_LANGUAGES: readonly [{ readonly id: 'typescript'; readonly label: 'TypeScript'; }, { readonly id: 'javascript'; readonly label: 'JavaScript'; }, { readonly id: 'python'; readonly label: 'Python'; }, { readonly id: 'json'; readonly label: 'JSON'; }, { readonly id: 'html'; readonly label: 'HTML'; }, { readonly id: 'css'; readonly label: 'CSS'; }, { readonly id: 'vue'; readonly label: 'Vue'; }, { readonly id: 'rust'; readonly label: 'Rust'; }, { readonly id: 'go'; readonly label: 'Go'; }, { readonly id: 'java'; readonly label: 'Java'; }, { readonly id: 'csharp'; readonly label: 'C#'; }, { readonly id: 'cpp'; readonly label: 'C++'; }, { readonly id: 'sql'; readonly label: 'SQL'; }, { readonly id: 'bash'; readonly label: 'Bash'; }, { readonly id: 'markdown'; readonly label: 'Markdown'; }, { readonly id: 'yaml'; readonly label: 'YAML'; }, { readonly id: 'xml'; readonly label: 'XML'; }, { readonly id: 'php'; readonly label: 'PHP'; }, { readonly id: 'ruby'; readonly label: 'Ruby'; }, { readonly id: 'swift'; readonly label: 'Swift'; }, { readonly id: 'kotlin'; readonly label: 'Kotlin'; }, { readonly id: 'plaintext'; readonly label: 'Plain text'; }]; export type CodeLanguageId = (typeof CODE_LANGUAGES)[number]['id']; export declare const CODE_LANGUAGE_ALIASES: Record; export declare const CODE_THEMES: readonly [{ readonly id: 'github-dark'; readonly label: 'GitHub Dark'; }, { readonly id: 'github-light'; readonly label: 'GitHub Light'; }, { readonly id: 'synthwave-84'; readonly label: "Synthwave '84"; }, { readonly id: 'laserwave'; readonly label: 'LaserWave'; }, { readonly id: 'aurora-x'; readonly label: 'Aurora X'; }, { readonly id: 'andromeeda'; readonly label: 'Andromeeda'; }, { readonly id: 'houston'; readonly label: 'Houston'; }, { readonly id: 'dracula'; readonly label: 'Dracula'; }, { readonly id: 'tokyo-night'; readonly label: 'Tokyo Night'; }, { readonly id: 'night-owl'; readonly label: 'Night Owl'; }, { readonly id: 'horizon'; readonly label: 'Horizon'; }, { readonly id: 'monokai'; readonly label: 'Monokai'; }, { readonly id: 'plastic'; readonly label: 'Plastic'; }, { readonly id: 'poimandres'; readonly label: 'Poimandres'; }, { readonly id: 'ayu-dark'; readonly label: 'Ayu Dark'; }, { readonly id: 'ayu-mirage'; readonly label: 'Ayu Mirage'; }, { readonly id: 'vesper'; readonly label: 'Vesper'; }, { readonly id: 'rose-pine'; readonly label: 'Rosé Pine'; }, { readonly id: 'rose-pine-moon'; readonly label: 'Rosé Pine Moon'; }, { readonly id: 'material-theme-palenight'; readonly label: 'Material Palenight'; }, { readonly id: 'material-theme-ocean'; readonly label: 'Material Ocean'; }, { readonly id: 'kanagawa-wave'; readonly label: 'Kanagawa Wave'; }, { readonly id: 'one-dark-pro'; readonly label: 'One Dark Pro'; }, { readonly id: 'one-light'; readonly label: 'One Light'; }, { readonly id: 'catppuccin-mocha'; readonly label: 'Catppuccin Mocha'; }, { readonly id: 'catppuccin-macchiato'; readonly label: 'Catppuccin Macchiato'; }, { readonly id: 'catppuccin-frappe'; readonly label: 'Catppuccin Frappé'; }, { readonly id: 'catppuccin-latte'; readonly label: 'Catppuccin Latte'; }, { readonly id: 'vitesse-dark'; readonly label: 'Vitesse Dark'; }, { readonly id: 'vitesse-light'; readonly label: 'Vitesse Light'; }, { readonly id: 'nord'; readonly label: 'Nord'; }, { readonly id: 'min-dark'; readonly label: 'Min Dark'; }, { readonly id: 'min-light'; readonly label: 'Min Light'; }]; export type CodeThemeId = (typeof CODE_THEMES)[number]['id']; export declare function resolveCodeLanguage(language: string): CodeLanguageId; export declare function resolveCodeTheme(theme: string): CodeThemeId; export declare function isLightCodeTheme(theme: string): boolean;