import { type UseQueryOptions, type UseQueryResult } from "@tanstack/react-query"; import type { CheckResponse } from "../../../contexts/auth/types"; export type UseIsAuthenticatedProps = { queryOptions?: Omit, "queryKey" | "queryFn">; params?: any; }; export type UseIsAuthenticatedReturnType = UseQueryResult; /** * `useIsAuthenticated` calls `check` method from {@link https://refine.dev/docs/authentication/auth-provider/#check `authProvider`} under the hood. * * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useIsAuthenticated} for more details. * */ export declare function useIsAuthenticated({ queryOptions, params, }?: UseIsAuthenticatedProps): UseIsAuthenticatedReturnType; //# sourceMappingURL=index.d.ts.map