declare type UseDeleteAccountMutation = (args: { /** * The message to show in the confirmation dialog. * @default "Are you sure you wish to delete your account?" */ confirmationMessage?: string; }) => { /** Shows a confirmation dialog in the browser, and then deletes the user if they confirm */ confirmDeletion: () => void; /** Whether or not the mutation was successful */ success: boolean; /** An error message, if an error occurs during the mutation */ error: string | undefined; }; declare const useDeleteAccountMutation: UseDeleteAccountMutation; export { useDeleteAccountMutation };