svelte-command-palette
Version:
A beautiful, accessible, and fully customizable command palette for Svelte 5 applications.
13 lines (12 loc) • 415 B
TypeScript
import type { ActionId } from '../types';
declare const createStoreMethods: () => {
togglePalette: () => void;
getAllCalledActions: () => ActionId[];
storeCalledAction: (id: ActionId) => void;
revertLastAction: (id: ActionId) => void;
resetActionLog: () => void;
openPalette: () => void;
closePalette: () => void;
resetPaletteStore: () => void;
};
export default createStoreMethods;