export interface ApprovalPinSubmit { pin: string; reason: string; } export interface ApprovalPinDialogProps { open: boolean; /** Headline, e.g. "Venta sin existencias". */ title: string; /** What is being authorized, in the operator's words. */ description?: React.ReactNode; /** Called with the typed PIN + reason. Throw (or reject) to keep the dialog open. */ onSubmit: (v: ApprovalPinSubmit) => Promise; onCancel: () => void; /** Optional secondary action, e.g. "Enviar a la bandeja" (async request). */ secondaryAction?: { label: string; onClick: () => void; }; } /** Best human message out of an axios-style error carrying the kernel envelope. */ export declare function approvalErrorMessage(err: unknown, t: (k: string, o?: { defaultValue?: string; }) => string): string; export declare function ApprovalPinDialog({ open, title, description, onSubmit, onCancel, secondaryAction }: ApprovalPinDialogProps): import("react").JSX.Element; //# sourceMappingURL=approval-pin-dialog.d.ts.map