export interface ConfirmAccountDeletionProps { /** The one-time code emailed by `useRequestAccountDeletion`. */ code: string; } /** * Step 2 of self-service account deletion. Verifies the emailed code and then * permanently deletes the signed-in user's account (same cascade as the * admin/service delete). On success the local session is torn down like a * sign-out — the deleted account is removed from the multi-account map and * **no other account is activated**, even if the user has others signed in. * The app lands signed-out; read `activeAccount` from `useAccounts` and render * your own next screen. This is immediate and cannot be undone. */ declare function useConfirmAccountDeletion(): (props: ConfirmAccountDeletionProps) => Promise; export default useConfirmAccountDeletion;