import { Dialog } from './dialog'; import { Filesystem } from '../file_system'; type ThemeSource = 'built_in' | 'file' | 'repository' | 'custom'; type ThemeData = { name: string; author: string; version?: string; borders?: boolean; thumbnail?: string; css: string; id: string; main_font?: string; headline_font?: string; code_font?: string; colors: Record; source?: ThemeSource; path?: string; desktop_only?: boolean; options?: { [key: string]: { name: string; options: Record; }; }; option_values: Record; }; export declare class CustomTheme { name: string; author: string; version?: string; borders: boolean; thumbnail?: string; css: string; id: string; main_font: string; headline_font: string; code_font: string; colors: Record; source?: 'built_in' | 'file' | 'repository' | 'custom'; path?: string; desktop_only?: boolean; options: null | { [key: string]: { name: string; options: Record; }; }; option_values: Record; constructor(data?: Partial); extend(data: Partial): void; openOptions(): void; static selected: CustomTheme; static get data(): CustomTheme; static backup_data: string | null; static themes: CustomTheme[]; static defaultColors: { ui: string; back: string; dark: string; border: string; selected: string; elevated: string; button: string; bright_ui: string; accent: string; frame: string; text: string; light: string; accent_text: string; bright_ui_text: string; subtle_text: string; grid: string; wireframe: string; checkerboard: string; }; static sideloaded_themes: string[]; static dialog: Dialog | null; static setup(): void; static setupDialog(): void; static dialog_is_setup: boolean; static customizeTheme(): void; static updateColors(): void; static updateSettings(): void; static loadThumbnailStyles(): void; load(): void; static loadTheme(theme: CustomTheme): void; reloadThemeFile(): void; static import(file: Filesystem.FileResult): void; parseBBTheme(content: string, include_id?: boolean): this; compileBBTheme(): string; save(): void; } export declare function loadThemes(): void; declare const global: { CustomTheme: typeof import("./themes").CustomTheme; }; declare global { const CustomTheme: typeof global.CustomTheme; type CustomTheme = import('./themes').CustomTheme; } export {};