interface ModalProps { title?: string; onClose: () => void; actions: { name: string; onClick: () => void; }[]; message?: string; } /** * * @param data If this object is empty or undefined or returns a falsy value the prompt will render to the user * @param options The props that are given to the model * */ export declare const useLocalePromptPlugin: (condition: boolean, options?: Partial & { /** * The action that happens when the user clicks "yes" */ onYes: () => void; /** * The action that happens when the user clicks "No" */ onNo: () => void; }> | undefined) => void; export {};