import { FC, ReactNode } from 'react'; export interface PromptDialogProps { isOpen: boolean; onClose: () => void; /** Called with the trimmed value when the user confirms. */ onSubmit: (value: string) => void; title: string; /** Visible label for the input. */ label: string; description?: string; placeholder?: string; defaultValue?: string; confirmLabel?: string; /** Return an error message to block submission, or null when valid. */ validate?: (value: string) => string | null; isLoading?: boolean; children?: ReactNode; } /** * Accessible single-input dialog — the styled replacement for every * window.prompt() call. Labeled input, inline validation with * aria-describedby, Enter submits, ResponsiveDialog supplies focus * trap / Escape / bottom-sheet-on-mobile behavior. */ export declare const PromptDialog: FC;