import { type UseQueryResult, type UseQueryOptions } from "@tanstack/react-query"; import type { MakeOptional } from "../../../definitions/types"; export type UseGetIdentityProps = { queryOptions?: MakeOptional, "queryKey" | "queryFn">; }; export type UseGetIdentityReturnType = UseQueryResult; /** * `useGetIdentity` calls `getIdentity` method from {@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/useGetIdentity} for more details. * * @typeParam TData - Result data of the query * */ export declare function useGetIdentity({ queryOptions, }?: UseGetIdentityProps): UseGetIdentityReturnType; //# sourceMappingURL=index.d.ts.map