import { type EditAction } from "./actions.js"; import { type PaneName, type PaneRow, type StopView } from "./rows.js"; /** One thing the palette offers: an edit on a row, named by the action's * sentence, with where the row is so the UI can move the cursor there. */ export type PaletteEntry = { sentence: string; pane: PaneName; rowIndex: number; row: PaneRow; action: EditAction; }; /** Every edit every row offers at `view`, pane by pane, row by row, in * the action table's order on each row. */ export declare function paletteEntries(view: StopView): PaletteEntry[]; /** The entries whose sentence contains `query`, ignoring case; every * entry when the query is blank. */ export declare function filterPalette(entries: PaletteEntry[], query: string): PaletteEntry[];