import { TFunction } from 'i18next'; import { NotepadMenuItem } from './types'; export interface NotepadMenuContext { t: TFunction; handleNew: () => void; handleOpen: () => void; handleSave: () => Promise; handleSaveAs: () => Promise; handleDownload: () => void; handleExit: () => void; handleUndo: () => void; handleRedo: () => void; handleCut: () => void; handleCopy: () => void; handlePaste: () => void; handleDelete: () => void; handleFind: () => void; handleOpenReplace: () => void; handleSelectAll: () => void; handleToggleWrap: () => void; handleToggleStatusBar: () => void; handleAbout: () => void; isReadOnly: boolean; canUndo: boolean; canRedo: boolean; wordWrap: boolean; showStatusBar: boolean; } export declare function buildDropdownMenus(ctx: NotepadMenuContext): Record<'file' | 'edit' | 'format' | 'view' | 'help', NotepadMenuItem[]>; export declare function buildContextMenuItems(ctx: NotepadMenuContext): NotepadMenuItem[];