import type { Node as RichContentNode } from 'ricos-schema'; import type { AnchorTarget, AvailableExperiments, CustomAnchorScroll, Helpers, RelValue, RicosTheme, SEOSettings, TextAlignment, TextDirection, TFunction } from '.'; export type ViewerContextualData = { t: TFunction; theme: RicosTheme; isMobile: boolean; anchorTarget?: AnchorTarget; relValue?: RelValue; config: Record; helpers: Helpers; locale: string; disabled?: boolean; seoMode?: SEOSettings; iframeSandboxDomain?: string; disableRightClick?: boolean; experiments?: AvailableExperiments; customAnchorScroll?: CustomAnchorScroll; textAlignment?: TextAlignment; textDirection?: TextDirection; languageDir: TextDirection; onNodeClick?: ({ node }: { node: RichContentNode; }) => void; jsdomMode?: boolean; }; export type NotifySpoiler = () => void; export type ISpoilerManager = { toggleSpoiler: (id: string) => void; isActive: (id: string) => boolean; registerSpoiler: (id: string, notifier: NotifySpoiler) => void; }; //# sourceMappingURL=viewer.d.ts.map