import type { ReactNode } from "react"; export * from "./variants.js"; type ConfirmDialogProps = { open?: boolean; onOpenChange?: (open: boolean) => void; trigger?: ReactNode; title: string; description: string; confirmLabel?: string; cancelLabel?: string; onConfirm: () => void; variant?: "destructive" | "default"; /** * When true, the confirm button is disabled and the click handler is a no-op. * Use this to block double-submits while the underlying mutation is in flight. */ confirming?: boolean; }; export declare function ConfirmDialog({ open, onOpenChange, trigger, title, description, confirmLabel, cancelLabel, onConfirm, variant, confirming, }: ConfirmDialogProps): import("react").JSX.Element; //# sourceMappingURL=index.d.ts.map