import type { TenantEntity } from '../types.js'; export interface CommandPaletteNavTarget { path: string; label: string; description?: string; } export interface CommandPaletteProps { entities: TenantEntity[]; navigationTargets: CommandPaletteNavTarget[]; /** Called when a navigation target is chosen. */ onNavigate?: (path: string) => void; /** Called when an entity is chosen (consumer typically pans/zooms to it). */ onSelectEntity?: (entity: TenantEntity) => void; /** Called when the user picks "Tidy Up Layout" (§3.6 item 3 + §3.10). */ onTidyUp?: () => void; /** Called when the user picks "Export as PNG" (§3.6 item 8 + §3.10). */ onExportPng?: () => void; /** * Called when the user picks "Add Field to Selected Entity" (§3.10). If * omitted, the command falls back to dispatching the `bsuite-add-field` * CustomEvent which SchemaCanvas handles by default. */ onAddField?: () => void; } /** * Mounted once at the app shell level. Listens for Cmd/Ctrl+K globally. * Phase 1a command catalogue: `Find Entity ` + `Go to `. * Phase 1b adds `Tidy Up Layout` per §3.10. Everything else ships in Phases * 3 / 5. */ export declare function CommandPalette({ entities, navigationTargets, onNavigate, onSelectEntity, onTidyUp, onExportPng, onAddField, }: CommandPaletteProps): import("react").JSX.Element | null; //# sourceMappingURL=CommandPalette.d.ts.map