import { type Nabi } from '../editor/index.js'; import { type Translator } from '../locale/index.js'; export declare const FULLSCREEN_CLASS = "is-fullscreen"; export { FULLSCREEN_ENTER_ICON, FULLSCREEN_EXIT_ICON, PREVIEW_ICON } from '../wing/toolbar-html.js'; export declare function isFullscreen(root: HTMLElement): boolean; export declare function setFullscreen(root: HTMLElement, on: boolean): void; export interface PreviewOptions { readonly nabi: Nabi; readonly surface: HTMLElement; readonly locale?: string; readonly translator?: Translator; readonly onBody?: (body: HTMLElement) => (() => void) | void; } export interface Overlay { readonly card: HTMLElement; close(): void; } export declare function openPreview(options: PreviewOptions): Overlay; export interface LightboxOptions { readonly surface: HTMLElement; readonly src: string; readonly alt?: string; readonly locale?: string; readonly translator?: Translator; } export declare function openLightbox(options: LightboxOptions): Overlay; export interface ViewToolsOptions extends PreviewOptions { readonly root: HTMLElement; readonly container: HTMLElement; } export interface ViewTools { readonly buttons: readonly HTMLButtonElement[]; unmount(): void; } export declare function mountViewTools(options: ViewToolsOptions): ViewTools; //# sourceMappingURL=overlay.d.ts.map