import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query"; import type { AuthActionResponse } from "../../../contexts/auth/types"; import type { RefineError } from "../../../contexts/data/types"; type Variables = { redirectPath?: string | false; }; export type UseLogoutProps = { mutationOptions?: Omit, "mutationFn">; }; export type UseLogoutReturnType = UseMutationResult; /** * `useLogout` calls the `logout` method from the {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood. * * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useLogout} for more details. * */ export declare function useLogout({ mutationOptions, }?: UseLogoutProps): UseLogoutReturnType; export {}; //# sourceMappingURL=index.d.ts.map