export interface PromptDialogProps { readonly title: string; readonly label: string; readonly initialValue: string; readonly confirmLabel: string; readonly cancelLabel: string; readonly onConfirm: (value: string) => void; readonly onCancel: () => void; } /** * One line of text, asked for. The sibling of `ConfirmDialog`: that one asks a * yes-or-no before something destructive, this one asks for a value before * something the reviewer has to name. * * A blank answer is refused by disabling the button rather than by staging a * row that the projection schema would then reject — `presentation.title` is * required non-empty text, so an empty rename can only ever come back as a * fault. * * The value lives here rather than in the caller because it belongs to the * dialog while it is on screen: a half-typed name is not workspace state, and * closing the dialog is what discards it. */ export declare function PromptDialog({ title, label, initialValue, confirmLabel, cancelLabel, onConfirm, onCancel, }: PromptDialogProps): import("react").JSX.Element;