/** A destructive action awaiting confirmation. `kill` is a quick y/n (with `f` for a hard kill); * `deleteSpace` and `purge` (irreversible) require typing the space name, `delchan` the channel name. */ export type ConfirmTarget = { kind: "kill"; name: string; } | { kind: "deleteSpace"; space: string; } | { kind: "purge"; space: string; } | { kind: "delchan"; channel: string; }; /** Full-screen red danger overlay. Owns input while shown. Calls onConfirm only when the gate is * satisfied (y/f for kill, exact name typed for deleteSpace/purge); Esc/n/Enter cancels. Kill's * choice travels in the callback: `y` is a graceful stop, `f` a force-kill. */ export declare function Confirm({ target, width, height, onConfirm, onCancel, }: { target: ConfirmTarget; width: number; height: number; onConfirm: (opts?: { force?: boolean; }) => void; onCancel: () => void; }): import("react").JSX.Element; //# sourceMappingURL=Confirm.d.ts.map