/** * `` — root component for the FormCacheSelector library. * * In this story (S015) the component adds: * - A Delete icon button visible only when a cache is active (FR-FFCS-018). * Desktop: standalone Trash2 button styled with `text-red-600`. * Mobile: entry inside the overflow `DropdownMenu` next to Rename — also * styled with `text-red-600` so the destructive intent is consistent * across breakpoints (R-003). * - The `DeleteDialog` wired into the hook's `deleteDialogOpen` / * `deletingCacheName` / `handleDelete` API. The hook's `openDeleteDialog` * helper is what the buttons invoke — it snapshots the active cache name * before opening so the dialog title is frozen for the lifetime of the * confirmation (R-001). * * Earlier stories established: * - Developer-facing assertions for `cacheId` and `filter` (FR-FFCS-019). * - Loading skeleton render branch while GetAllByUser is in-flight. * - Wiring to `useFormCacheSelector` so the mount-time auto-restore flow * fires `onSelected` exactly once. * - Save button + SaveDialog (S013). * - Rename icon button (desktop) + DropdownMenu entry (mobile) + RenameDialog (S014). */ import { type Ref } from 'react'; import type { FormCacheSelectorHandle, FormCacheSelectorProps } from './FormCacheSelector.types'; export declare function FormCacheSelector(props: FormCacheSelectorProps & { ref?: Ref; }): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=FormCacheSelector.d.ts.map