export interface DeleteDialogProps { /** Whether the dialog is currently visible. Controlled by the parent. */ open: boolean; /** Toggle handler — invoked when the dialog wants to close (e.g. cancel). */ onOpenChange: (open: boolean) => void; /** * Snapshot of the active cache name at dialog-open time (R-001). The parent * captures it via `openDeleteDialog` and freezes it for the lifetime of the * dialog so a concurrent rename does not change the displayed name. */ cacheName: string; /** * Confirm handler — runs the delete mutation in the parent hook. The dialog * does NOT close itself on confirm; the parent dismisses it as part of the * mutation's success / failure branches. */ onConfirm: () => Promise; /** True while any mutation is in-flight — disables buttons, shows spinner. */ isMutating: boolean; } export declare function DeleteDialog({ open, onOpenChange, cacheName, onConfirm, isMutating, }: DeleteDialogProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=DeleteDialog.d.ts.map