import React from "react"; import { ModalProps } from "../../components"; /** * Returns a function which, when called: shows a prompt dialog with a * confirmation callback and an optional cancellation callback. */ export declare const usePrompt: () => (title: string, message: React.ReactNode, label: string, labelConfirm: string, labelCancel: string, onConfirm: (message: string) => void, onCancel?: () => void, modalProps?: Partial, autofocus?: boolean) => void;