import type { ContextMenuOptions } from './types'; import type { Zine } from '../zine'; /** * A right-click menu of reading controls, opened at the cursor over the book. * * It reuses the toolbar's control definitions and its {@link ControlMenu} body, so the same icons * and actions appear whether a reader reaches them from the toolbar or a right-click. It is opt-in * (`contextMenu` off by default), because overriding the browser's own menu is a real cost to pay * only when asked. Works with `controls: false` too, which is the point: a bare book with no * toolbar can still offer a right-click menu. */ export declare class ContextMenu { #private; constructor(zine: Zine, container: HTMLElement, options?: ContextMenuOptions, hidden?: ReadonlySet); destroy(): void; }