import { IKeyboardEvent } from "../../keyboardEvent.js"; import { Toggle } from "../toggle/toggle.js"; import { type IHoverLifecycleOptions } from "../hover/hover.js"; export interface IFindInputToggleOpts { readonly appendTitle: string; readonly isChecked: boolean; readonly inputActiveOptionBorder: string | undefined; readonly inputActiveOptionForeground: string | undefined; readonly inputActiveOptionBackground: string | undefined; readonly hoverLifecycleOptions?: IHoverLifecycleOptions; } /** * Arrow-Key support to navigate between the toggles of a find input, with * `Escape` moving focus back to the input box. * * The toggles are resolved through a callback because they are only needed * once one of the handled keys is pressed. */ export declare function navigateToggles(event: IKeyboardEvent, domNode: HTMLElement, getToggleDomNodes: () => HTMLElement[], focusInput: () => void): void; export declare class CaseSensitiveToggle extends Toggle { constructor(opts: IFindInputToggleOpts); } export declare class WholeWordsToggle extends Toggle { constructor(opts: IFindInputToggleOpts); } export declare class RegexToggle extends Toggle { constructor(opts: IFindInputToggleOpts); }