import { AcApContext, AcEdCommand } from '@mlightcad/cad-simple-viewer'; /** * Opens the Find palette (FIND). * * The palette searches text, multiline text, attributes and the text inside * blocks, dimensions, leaders and tables in the whole drawing (all layouts) by * default, or in the current layout only, and navigates to a result * (activating its layout when needed). */ export declare class AcApFindCmd extends AcEdCommand { execute(_context: AcApContext): Promise; } /** * Shows the Find tab of the palette and focuses its query field. Shared by * the FIND command, the ribbon button and the Ctrl/Cmd+F shortcut. */ export declare function openFindPalette(): void; /** * True when a keydown is the Find shortcut (Ctrl+F, or Cmd+F on macOS) * that the viewer should handle instead of the browser's page search, which * cannot see text drawn on the canvas. */ export declare function isFindShortcut(e: Pick): boolean; /** * True when the keydown target counts as "inside the viewer" for the Find * shortcut: nothing focused (`null`), the page body / root element (focus is * on the page, not on a field) or a node inside the viewer root. A field * outside the viewer keeps the browser's own Ctrl/Cmd+F. */ export declare function isFindShortcutInViewer(target: EventTarget | null, viewerRoot: { contains(node: Node): boolean; } | null | undefined): boolean; //# sourceMappingURL=AcApFindCmd.d.ts.map