import { RendererStyles } from './renderer'; import { FixedPageVisualAppearance } from './fixed-document'; export type BuiltInReaderThemeName = 'normal' | 'night'; export interface ReaderTheme { /** Stable theme id. */ id?: string; /** Display name for UI surfaces. */ label?: string; /** Main reading text color. */ color?: string; /** Viewport/background color around content. */ background?: string; /** Page-like surface background, useful for fixed pages or card-like readers. */ pageBackground?: string; /** Page-like surface shadow. Use "none" for flat themes. */ pageShadow?: string; /** Visual appearance applied by fixed-page renderers that support direct theming. */ fixedPageVisualAppearance?: FixedPageVisualAppearance; /** Optional link/accent color for renderers that support it. */ accentColor?: string; /** Optional selection background for renderers that inject CSS. */ selectionBackground?: string; /** Optional selection text color for renderers that inject CSS. */ selectionColor?: string; /** Optional renderer CSS appended before user CSS. */ css?: string; } export type ReaderThemeInput = BuiltInReaderThemeName | ReaderTheme; export declare const BUILT_IN_READER_THEMES: Record> & Pick>; export declare function resolveReaderTheme(theme: ReaderThemeInput | null | undefined): ReaderTheme | null; export declare function resolveRendererStyles(styles?: RendererStyles): RendererStyles; export declare function mergeRendererStyles(current: RendererStyles, patch: RendererStyles): RendererStyles; //# sourceMappingURL=theme.d.ts.map