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