import * as react_jsx_runtime from 'react/jsx-runtime'; import * as react from 'react'; import { ReactNode } from 'react'; import * as _tanstack_react_query from '@tanstack/react-query'; import { AnyUseQueryOptions, QueryKey, QueryClient } from '@tanstack/react-query'; import * as better_auth_plugins_organization from 'better-auth/plugins/organization'; import * as better_auth_plugins_passkey from 'better-auth/plugins/passkey'; import * as better_auth_types from 'better-auth/types'; import * as better_auth_dist_shared_better_auth_CYegVoq1 from 'better-auth/dist/shared/better-auth.CYegVoq1'; import * as better_auth_react from 'better-auth/react'; import { BetterFetchOption, createAuthClient, BetterFetchResponse } from 'better-auth/react'; import * as better_auth_client_plugins from 'better-auth/client/plugins'; import * as better_auth_dist_shared_better_auth_Bzjh9zg_ from 'better-auth/dist/shared/better-auth.Bzjh9zg_'; type AuthQueryOptions = { queryOptions?: Partial; sessionQueryOptions?: Partial; tokenQueryOptions?: Partial; sessionKey: QueryKey; tokenKey: QueryKey; listAccountsKey: QueryKey; listApiKeysKey: QueryKey; listSessionsKey: QueryKey; listDeviceSessionsKey: QueryKey; listPasskeysKey: QueryKey; optimistic: boolean; refetchOnMutate: boolean; }; declare const defaultAuthQueryOptions: AuthQueryOptions; declare const AuthQueryContext: react.Context; declare const AuthQueryProvider: ({ children, sessionQueryOptions, tokenQueryOptions, ...props }: { children: ReactNode; } & Partial) => react_jsx_runtime.JSX.Element; type AuthMutationFn = (params: TParams) => Promise; declare function useAuthMutation>({ queryKey, mutationFn, optimisticData, options }: { queryKey: QueryKey; mutationFn: TAuthFn; optimisticData?(params: Omit[0], "fetchOptions">, previousData: unknown): unknown; options?: Partial; }): { mutate: _tanstack_react_query.UseMutateFunction[0], { previousData: {}; }>; mutateAsync: { (params: Omit[0], "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit[0], "fetchOptions"> & { fetchOptions?: BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: undefined; isError: false; isIdle: true; isSuccess: false; status: "idle"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction[0], { previousData: {}; }>; mutateAsync: { (params: Omit[0], "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit[0], "fetchOptions"> & { fetchOptions?: BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: Parameters[0]; isError: false; isIdle: false; isSuccess: false; status: "pending"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction[0], { previousData: {}; }>; mutateAsync: { (params: Omit[0], "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit[0], "fetchOptions"> & { fetchOptions?: BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: Parameters[0]; isError: true; isIdle: false; isSuccess: false; status: "error"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction[0], { previousData: {}; }>; mutateAsync: { (params: Omit[0], "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit[0], "fetchOptions"> & { fetchOptions?: BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: NonThrowableResult | ThrowableResult; variables: Parameters[0]; isError: false; isIdle: false; isSuccess: true; status: "success"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; }; type AnyAuthClient = Omit, "signUp" | "getSession">; type BetterFetchRequest = ({ fetchOptions }: { fetchOptions: BetterFetchOption; }) => Promise>; declare const authClient: { useListPasskeys: () => { data: better_auth_plugins_passkey.Passkey[] | null; error: null | better_auth_react.BetterFetchError; isPending: boolean; isRefetching: boolean; refetch: () => void; }; } & {} & { useActiveOrganization: () => { data: better_auth_dist_shared_better_auth_CYegVoq1.P<{ id: string; name: string; createdAt: Date; slug: string; metadata?: any; logo?: string | null | undefined; } & { members: (better_auth_plugins_organization.Member & { user: { id: string; name: string; email: string; image: string | undefined; }; })[]; invitations: better_auth_plugins_organization.Invitation[]; }> | null; error: null | better_auth_react.BetterFetchError; isPending: boolean; isRefetching: boolean; refetch: () => void; }; useListOrganizations: () => { data: { id: string; name: string; createdAt: Date; slug: string; metadata?: any; logo?: string | null | undefined; }[] | null; error: null | better_auth_react.BetterFetchError; isPending: boolean; isRefetching: boolean; refetch: () => void; }; useActiveMember: () => { data: { id: string; createdAt: Date; userId: string; organizationId: string; role: string; teamId?: string | undefined; } | null; error: null | better_auth_react.BetterFetchError; isPending: boolean; isRefetching: boolean; refetch: () => void; }; } & { signIn: { social: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "kick" | "zoom"; scopes?: string[] | undefined; loginHint?: string | undefined; idToken?: { token: string; refreshToken?: string | undefined; accessToken?: string | undefined; expiresAt?: number | undefined; nonce?: string | undefined; } | undefined; callbackURL?: string | undefined; requestSignUp?: boolean | undefined; errorCallbackURL?: string | undefined; newUserCallbackURL?: string | undefined; disableRedirect?: boolean | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "kick" | "zoom"; scopes?: string[] | undefined; loginHint?: string | undefined; idToken?: { token: string; refreshToken?: string | undefined; accessToken?: string | undefined; expiresAt?: number | undefined; nonce?: string | undefined; } | undefined; callbackURL?: string | undefined; requestSignUp?: boolean | undefined; errorCallbackURL?: string | undefined; newUserCallbackURL?: string | undefined; disableRedirect?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise, { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { getSession: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ disableCookieCache?: string | boolean | undefined; disableRefresh?: string | boolean | undefined; }> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: { disableCookieCache?: string | boolean | undefined; disableRefresh?: string | boolean | undefined; } | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { signOut: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { signIn: { email: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ password: string; email: string; callbackURL?: string | undefined; rememberMe?: boolean | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ password: string; email: string; callbackURL?: string | undefined; rememberMe?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { forgetPassword: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ email: string; redirectTo?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ email: string; redirectTo?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { resetPassword: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ newPassword: string; token?: string | undefined; }> & Record) | undefined; query?: (Partial<{ token?: string | undefined; }> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ newPassword: string; token?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { verifyEmail: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ token: string; callbackURL?: string | undefined; }> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query: { token: string; callbackURL?: string | undefined; }; fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise, { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; } & { sendVerificationEmail: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ email: string; callbackURL?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ email: string; callbackURL?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { changeEmail: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ newEmail: string; callbackURL?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ newEmail: string; callbackURL?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { changePassword: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ newPassword: string; currentPassword: string; revokeOtherSessions?: boolean | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ newPassword: string; currentPassword: string; revokeOtherSessions?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { deleteUser: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ password?: string | undefined; token?: string | undefined; callbackURL?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ password?: string | undefined; token?: string | undefined; callbackURL?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { resetPassword: { ":token": >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ callbackURL: string; }> & Record) | undefined; params?: { token: string; } | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query: { callbackURL: string; }; fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { revokeSession: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ token: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { revokeSessions: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { revokeOtherSessions: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { linkSocial: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "kick" | "zoom"; scopes?: string[] | undefined; callbackURL?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "kick" | "zoom"; scopes?: string[] | undefined; callbackURL?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { listAccounts: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { deleteUser: { callback: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ token: string; callbackURL?: string | undefined; }> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query: { token: string; callbackURL?: string | undefined; }; fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { unlinkAccount: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ providerId: string; accountId?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { refreshToken: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; userId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ providerId: string; accountId?: string | undefined; userId?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { getAccessToken: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; userId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ providerId: string; accountId?: string | undefined; userId?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; } & { signUp: { email: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ name: string; email: string; password: string; callbackURL?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ email: string; name: string; password: string; image?: string; callbackURL?: string; fetchOptions?: FetchOptions | undefined; } & {} & { isAnonymous?: boolean | null | undefined; } & {} & { username?: string | null | undefined; displayUsername?: string | null | undefined; } & {} & {}>, data_1?: FetchOptions | undefined) => Promise, { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { updateUser: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ image?: string | null; name?: string; fetchOptions?: FetchOptions | undefined; } & Partial<{} & { isAnonymous?: boolean | null | undefined; } & {} & { username?: string | null | undefined; displayUsername?: string | null | undefined; } & {} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise>; } & { listSessions: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise[], { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; } & { apiKey: { create: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { apiKey: { get: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ id: string; }> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query: { id: string; }; fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise | null; }, { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { apiKey: { update: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; metadata?: any; name?: string | undefined; userId?: string | undefined; enabled?: boolean | undefined; expiresIn?: number | null | undefined; permissions?: Record | null | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ keyId: string; metadata?: any; name?: string | undefined; userId?: string | undefined; enabled?: boolean | undefined; expiresIn?: number | null | undefined; permissions?: Record | null | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise | null; }, { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { apiKey: { delete: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ keyId: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { apiKey: { list: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise | null; }[], { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { multiSession: { listDeviceSessions: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { multiSession: { setActive: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise; user: better_auth_types.User & Record; }, { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { multiSession: { revoke: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { passkey: { generateRegisterOptions: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ authenticatorAttachment?: "platform" | "cross-platform" | undefined; }> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: { authenticatorAttachment?: "platform" | "cross-platform" | undefined; } | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { passkey: { generateAuthenticateOptions: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ email?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { passkey: { verifyRegistration: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ name?: string | undefined; response?: any; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ name?: string | undefined; response?: any; } & { fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { passkey: { verifyAuthentication: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ response: better_auth_client_plugins.AuthenticationResponseJSON; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ response: better_auth_client_plugins.AuthenticationResponseJSON; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { passkey: { listUserPasskeys: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { passkey: { deletePasskey: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ id: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { passkey: { updatePasskey: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; name: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ id: string; name: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { signIn: { oauth2: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; scopes?: string[] | undefined; callbackURL?: string | undefined; requestSignUp?: boolean | undefined; errorCallbackURL?: string | undefined; newUserCallbackURL?: string | undefined; disableRedirect?: boolean | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ providerId: string; scopes?: string[] | undefined; callbackURL?: string | undefined; requestSignUp?: boolean | undefined; errorCallbackURL?: string | undefined; newUserCallbackURL?: string | undefined; disableRedirect?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { oauth2: { callback: { ":providerid": >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ state?: string | undefined; code?: string | undefined; error?: string | undefined; error_description?: string | undefined; }> & Record) | undefined; params?: { providerId: string; } | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query: { state?: string | undefined; code?: string | undefined; error?: string | undefined; error_description?: string | undefined; }; fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise, { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; }; }; } & { oauth2: { link: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; callbackURL: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ providerId: string; callbackURL: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { signIn: { anonymous: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { signIn: { username: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ password: string; username: string; rememberMe?: boolean | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ password: string; username: string; rememberMe?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { signIn: { magicLink: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ email: string; name?: string | undefined; callbackURL?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ email: string; name?: string | undefined; callbackURL?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { magicLink: { verify: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ token: string; callbackURL?: string | undefined; }> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query: { token: string; callbackURL?: string | undefined; }; fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { emailOtp: { sendVerificationOtp: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ email: string; type: "sign-in" | "forget-password" | "email-verification"; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ email: string; type: "sign-in" | "forget-password" | "email-verification"; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { emailOtp: { verifyEmail: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ email: string; otp: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ email: string; otp: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise, { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { signIn: { emailOtp: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ email: string; otp: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ email: string; otp: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { forgetPassword: { emailOtp: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ email: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ email: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { emailOtp: { resetPassword: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ password: string; email: string; otp: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ password: string; email: string; otp: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { twoFactor: { enable: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ password: string; issuer?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ password: string; issuer?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { twoFactor: { disable: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ password: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ password: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { twoFactor: { verifyBackupCode: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ code: string; trustDevice?: boolean | undefined; disableSession?: boolean | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ code: string; trustDevice?: boolean | undefined; disableSession?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { twoFactor: { generateBackupCodes: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ password: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ password: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { twoFactor: { sendOtp: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ trustDevice?: boolean | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { twoFactor: { verifyOtp: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ code: string; trustDevice?: boolean | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ code: string; trustDevice?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { twoFactor: { getTotpUri: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ password: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ password: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { twoFactor: { verifyTotp: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ code: string; trustDevice?: boolean | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ code: string; trustDevice?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { create: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ name: string; slug: string; metadata?: Record | undefined; userId?: string | undefined; logo?: string | undefined; keepCurrentActiveOrganization?: boolean | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ name: string; slug: string; metadata?: Record | undefined; userId?: string | undefined; logo?: string | undefined; keepCurrentActiveOrganization?: boolean | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise | undefined; members: { id: string; createdAt: Date; userId: string; organizationId: string; role: string; teamId?: string | undefined; }[]; id: string; name: string; createdAt: Date; slug: string; logo?: string | null | undefined; }, { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { organization: { update: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ data: { metadata?: Record | undefined; name?: string | undefined; slug?: string | undefined; logo?: string | undefined; }; organizationId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ data: { metadata?: Record | undefined; name?: string | undefined; slug?: string | undefined; logo?: string | undefined; }; organizationId?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise | undefined; id: string; name: string; createdAt: Date; slug: string; logo?: string | null | undefined; }, { code?: string; message?: string; }, FetchOptions["throw"] extends true ? true : false>>; }; } & { organization: { delete: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ organizationId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ organizationId: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { setActive: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ organizationId?: string | null | undefined; organizationSlug?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ organizationId?: string | null | undefined; organizationSlug?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { getFullOrganization: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ organizationId?: string | undefined; organizationSlug?: string | undefined; }> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: { organizationId?: string | undefined; organizationSlug?: string | undefined; } | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { list: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { inviteMember: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ email: string; role: "member" | "admin" | "owner" | ("member" | "admin" | "owner")[]; organizationId?: string; resend?: boolean; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ email: string; role: "member" | "admin" | "owner" | ("member" | "admin" | "owner")[]; organizationId?: string; resend?: boolean; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { cancelInvitation: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ invitationId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ invitationId: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { acceptInvitation: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ invitationId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ invitationId: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { getInvitation: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ id: string; }> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query: { id: string; }; fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { rejectInvitation: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ invitationId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ invitationId: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { checkSlug: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ slug: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ slug: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { removeMember: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ memberIdOrEmail: string; organizationId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ memberIdOrEmail: string; organizationId?: string | undefined; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { updateMemberRole: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ role: "member" | "admin" | "owner" | ("member" | "admin" | "owner")[]; memberId: string; organizationId?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ role: "member" | "admin" | "owner" | ("member" | "admin" | "owner")[]; memberId: string; organizationId?: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { getActiveMember: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { leave: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ organizationId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<{ organizationId: string; } & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { listInvitations: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial<{ organizationId?: string | undefined; }> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0?: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: { organizationId?: string | undefined; } | undefined; fetchOptions?: FetchOptions | undefined; }> | undefined, data_1?: FetchOptions | undefined) => Promise>; }; } & { organization: { hasPermission: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<({ permission: { readonly organization?: ("delete" | "update")[] | undefined; readonly member?: ("delete" | "update" | "create")[] | undefined; readonly invitation?: ("create" | "cancel")[] | undefined; readonly team?: ("delete" | "update" | "create")[] | undefined; }; permissions?: never; } | { permissions: { readonly organization?: ("delete" | "update")[] | undefined; readonly member?: ("delete" | "update" | "create")[] | undefined; readonly invitation?: ("create" | "cancel")[] | undefined; readonly team?: ("delete" | "update" | "create")[] | undefined; }; permission?: never; }) & { organizationId?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; }>(data_0: better_auth_dist_shared_better_auth_CYegVoq1.P<(({ permission: { readonly organization?: ("delete" | "update")[] | undefined; readonly member?: ("delete" | "update" | "create")[] | undefined; readonly invitation?: ("create" | "cancel")[] | undefined; readonly team?: ("delete" | "update" | "create")[] | undefined; }; permissions?: never; } | { permissions: { readonly organization?: ("delete" | "update")[] | undefined; readonly member?: ("delete" | "update" | "create")[] | undefined; readonly invitation?: ("create" | "cancel")[] | undefined; readonly team?: ("delete" | "update" | "create")[] | undefined; }; permission?: never; }) & { organizationId?: string; }) & { fetchOptions?: FetchOptions | undefined; }>, data_1?: FetchOptions | undefined) => Promise>; }; } & { signIn: { passkey: (opts?: { autoFill?: boolean; email?: string; fetchOptions?: better_auth_react.BetterFetchOption; }, options?: better_auth_react.BetterFetchOption) => Promise<{ data: null; error: { message?: string | undefined; status: number; statusText: string; }; } | undefined>; }; passkey: { addPasskey: (opts?: { fetchOptions?: better_auth_react.BetterFetchOption; name?: string; authenticatorAttachment?: "platform" | "cross-platform"; useAutoRegister?: boolean; }, fetchOpts?: better_auth_react.BetterFetchOption) => Promise<{ data: null; error: { message?: string | undefined; status: number; statusText: string; }; } | undefined>; }; $Infer: { Passkey: better_auth_plugins_passkey.Passkey; }; } & { oneTap: (opts?: better_auth_client_plugins.GoogleOneTapActionOptions, fetchOptions?: better_auth_react.BetterFetchOption) => Promise; } & { $Infer: { ActiveOrganization: { members: { id: string; organizationId: string; role: "member" | "admin" | "owner"; createdAt: Date; userId: string; user: { email: string; name: string; image?: string; }; }[]; invitations: { id: string; organizationId: string; email: string; role: "member" | "admin" | "owner"; status: better_auth_plugins_organization.InvitationStatus; inviterId: string; expiresAt: Date; }[]; } & { id: string; name: string; createdAt: Date; slug: string; metadata?: any; logo?: string | null | undefined; }; Organization: better_auth_plugins_organization.Organization; Invitation: { id: string; organizationId: string; email: string; role: "member" | "admin" | "owner"; status: better_auth_plugins_organization.InvitationStatus; inviterId: string; expiresAt: Date; }; Member: { id: string; organizationId: string; role: "member" | "admin" | "owner"; createdAt: Date; userId: string; user: { email: string; name: string; image?: string; }; }; Team: better_auth_plugins_organization.Team; }; organization: { checkRolePermission: (data: ({ permission: { readonly organization?: ("delete" | "update")[] | undefined; readonly member?: ("delete" | "update" | "create")[] | undefined; readonly invitation?: ("create" | "cancel")[] | undefined; readonly team?: ("delete" | "update" | "create")[] | undefined; }; permissions?: never; } | { permissions: { readonly organization?: ("delete" | "update")[] | undefined; readonly member?: ("delete" | "update" | "create")[] | undefined; readonly invitation?: ("create" | "cancel")[] | undefined; readonly team?: ("delete" | "update" | "create")[] | undefined; }; permission?: never; }) & { role: R; }) => boolean; }; } & { useSession: () => { data: { user: { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined | undefined; isAnonymous?: boolean | null | undefined; username?: string | null | undefined; displayUsername?: string | null | undefined; twoFactorEnabled: boolean | null | undefined; }; session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined | undefined; userAgent?: string | null | undefined | undefined; activeOrganizationId?: string | null | undefined; }; } | null; isPending: boolean; error: better_auth_react.BetterFetchError | null; refetch: () => void; }; $Infer: { Session: { user: { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined | undefined; isAnonymous?: boolean | null | undefined; username?: string | null | undefined; displayUsername?: string | null | undefined; twoFactorEnabled: boolean | null | undefined; }; session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined | undefined; userAgent?: string | null | undefined | undefined; activeOrganizationId?: string | null | undefined; }; }; }; $fetch: better_auth_react.BetterFetch<{ plugins: (better_auth_react.BetterFetchPlugin | { id: string; name: string; hooks: { onSuccess(context: better_auth_react.SuccessContext): void; }; })[]; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache; credentials?: RequestCredentials; integrity?: string; keepalive?: boolean; method: string; mode?: RequestMode; priority?: RequestPriority; redirect?: RequestRedirect; referrer?: string; referrerPolicy?: ReferrerPolicy; signal?: AbortSignal | null; window?: null; onRequest?: >(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void; onResponse?: (context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: (context: better_auth_react.ErrorContext) => Promise | void; onRetry?: (response: better_auth_react.ResponseContext) => Promise | void; hookOptions?: { cloneResponse?: boolean; }; timeout?: number; customFetchImpl: better_auth_react.FetchEsque; baseURL: string; throw?: boolean; auth?: { type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }; body?: any; query?: any; params?: any; duplex?: "full" | "half"; jsonParser: (text: string) => Promise | any; retry?: better_auth_react.RetryOptions; retryAttempt?: number; output?: better_auth_react.StandardSchemaV1 | typeof Blob | typeof File; errorSchema?: better_auth_react.StandardSchemaV1; disableValidation?: boolean; }, unknown, unknown, {}>; $store: { notify: (signal?: Omit | "$sessionSignal") => void; listen: (signal: Omit | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void; atoms: Record>; }; $ERROR_CODES: { USER_NOT_FOUND: string; FAILED_TO_CREATE_USER: string; FAILED_TO_CREATE_SESSION: string; FAILED_TO_UPDATE_USER: string; FAILED_TO_GET_SESSION: string; INVALID_PASSWORD: string; INVALID_EMAIL: string; INVALID_EMAIL_OR_PASSWORD: string; SOCIAL_ACCOUNT_ALREADY_LINKED: string; PROVIDER_NOT_FOUND: string; INVALID_TOKEN: string; ID_TOKEN_NOT_SUPPORTED: string; FAILED_TO_GET_USER_INFO: string; USER_EMAIL_NOT_FOUND: string; EMAIL_NOT_VERIFIED: string; PASSWORD_TOO_SHORT: string; PASSWORD_TOO_LONG: string; USER_ALREADY_EXISTS: string; EMAIL_CAN_NOT_BE_UPDATED: string; CREDENTIAL_ACCOUNT_NOT_FOUND: string; SESSION_EXPIRED: string; FAILED_TO_UNLINK_LAST_ACCOUNT: string; ACCOUNT_NOT_FOUND: string; }; }; type AuthClient = typeof authClient; declare function createAuthHooks(authClient: TAuthClient): { useSession: (options?: Partial) => { session: TAuthClient["$Infer"]["Session"]["session"] | undefined; user: TAuthClient["$Infer"]["Session"]["user"] | undefined; data: TAuthClient["$Infer"]["Session"]; error: Error; isError: true; isPending: false; isLoading: false; isLoadingError: false; isRefetchError: true; isSuccess: false; isPlaceholderData: false; status: "error"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult>; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise; } | { session: TAuthClient["$Infer"]["Session"]["session"] | undefined; user: TAuthClient["$Infer"]["Session"]["user"] | undefined; data: TAuthClient["$Infer"]["Session"]; error: null; isError: false; isPending: false; isLoading: false; isLoadingError: false; isRefetchError: false; isSuccess: true; isPlaceholderData: false; status: "success"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult>; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise; } | { session: TAuthClient["$Infer"]["Session"]["session"] | undefined; user: TAuthClient["$Infer"]["Session"]["user"] | undefined; data: undefined; error: Error; isError: true; isPending: false; isLoading: false; isLoadingError: true; isRefetchError: false; isSuccess: false; isPlaceholderData: false; status: "error"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult>; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise; } | { session: TAuthClient["$Infer"]["Session"]["session"] | undefined; user: TAuthClient["$Infer"]["Session"]["user"] | undefined; data: undefined; error: null; isError: false; isPending: true; isLoading: true; isLoadingError: false; isRefetchError: false; isSuccess: false; isPlaceholderData: false; status: "pending"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult>; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise; } | { session: TAuthClient["$Infer"]["Session"]["session"] | undefined; user: TAuthClient["$Infer"]["Session"]["user"] | undefined; data: undefined; error: null; isError: false; isPending: true; isLoadingError: false; isRefetchError: false; isSuccess: false; isPlaceholderData: false; status: "pending"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isLoading: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult>; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise; } | { session: TAuthClient["$Infer"]["Session"]["session"] | undefined; user: TAuthClient["$Infer"]["Session"]["user"] | undefined; data: TAuthClient["$Infer"]["Session"]; isError: false; error: null; isPending: false; isLoading: false; isLoadingError: false; isRefetchError: false; isSuccess: true; isPlaceholderData: true; status: "success"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult>; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise; }; usePrefetchSession: (options?: Partial) => { prefetch: () => Promise<{ error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; } | null; data: { user: { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined | undefined; isAnonymous?: boolean | null | undefined; username?: string | null | undefined; displayUsername?: string | null | undefined; twoFactorEnabled: boolean | null | undefined; }; session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined | undefined; userAgent?: string | null | undefined | undefined; activeOrganizationId?: string | null | undefined; }; } | null; session: TAuthClient["$Infer"]["Session"]["session"] | undefined; user: TAuthClient["$Infer"]["Session"]["user"] | undefined; }>; }; useUpdateUser: (options?: Partial) => { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: undefined; isError: false; isIdle: true; isSuccess: false; status: "idle"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ image?: string | null; name?: string; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined; isError: false; isIdle: false; isSuccess: false; status: "pending"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ image?: string | null; name?: string; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined; isError: true; isIdle: false; isSuccess: false; status: "error"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: NonThrowableResult | ThrowableResult; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ image?: string | null; name?: string; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial & { name?: string; image?: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; } & Partial<{}>> | undefined; isError: false; isIdle: false; isSuccess: true; status: "success"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; }; useToken: (options?: Partial) => { data: { token: string; } | undefined; token: string | undefined; payload: any; error: Error; isError: true; isPending: false; isLoading: false; isLoadingError: false; isRefetchError: true; isSuccess: false; isPlaceholderData: false; status: "error"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise<{ token: string; }>; } | { data: { token: string; } | undefined; token: string | undefined; payload: any; error: null; isError: false; isPending: false; isLoading: false; isLoadingError: false; isRefetchError: false; isSuccess: true; isPlaceholderData: false; status: "success"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise<{ token: string; }>; } | { data: { token: string; } | undefined; token: string | undefined; payload: any; error: Error; isError: true; isPending: false; isLoading: false; isLoadingError: true; isRefetchError: false; isSuccess: false; isPlaceholderData: false; status: "error"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise<{ token: string; }>; } | { data: { token: string; } | undefined; token: string | undefined; payload: any; error: null; isError: false; isPending: true; isLoading: true; isLoadingError: false; isRefetchError: false; isSuccess: false; isPlaceholderData: false; status: "pending"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise<{ token: string; }>; } | { data: { token: string; } | undefined; token: string | undefined; payload: any; error: null; isError: false; isPending: true; isLoadingError: false; isRefetchError: false; isSuccess: false; isPlaceholderData: false; status: "pending"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isLoading: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise<{ token: string; }>; } | { data: { token: string; } | undefined; token: string | undefined; payload: any; isError: false; error: null; isPending: false; isLoading: false; isLoadingError: false; isRefetchError: false; isSuccess: true; isPlaceholderData: true; status: "success"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; fetchStatus: _tanstack_react_query.FetchStatus; promise: Promise<{ token: string; }>; }; useAuthQuery: ({ queryKey, queryFn, options }: { queryKey: QueryKey; queryFn: BetterFetchRequest; options?: Partial; }) => _tanstack_react_query.UseQueryResult; useListAccounts: (options?: Partial) => _tanstack_react_query.UseQueryResult<{ id: string; provider: string; createdAt: Date; updatedAt: Date; accountId: string; scopes: string[]; }[], Error>; useUnlinkAccount: () => { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: undefined; isError: false; isIdle: true; isSuccess: false; status: "idle"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ providerId: string; accountId?: string | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isSuccess: false; status: "pending"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ providerId: string; accountId?: string | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: true; isIdle: false; isSuccess: false; status: "error"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: NonThrowableResult | ThrowableResult; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ providerId: string; accountId?: string | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ providerId: string; accountId?: string | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isSuccess: true; status: "success"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; }; useListSessions: (options?: Partial) => _tanstack_react_query.UseQueryResult[], Error>; useRevokeSession: (options?: Partial) => { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: undefined; isError: false; isIdle: true; isSuccess: false; status: "idle"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ token: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isSuccess: false; status: "pending"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ token: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: true; isIdle: false; isSuccess: false; status: "error"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: NonThrowableResult | ThrowableResult; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ token: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ token: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isSuccess: true; status: "success"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; }; useRevokeSessions: (options?: Partial) => { mutate: _tanstack_react_query.UseMutateFunction | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: undefined; isError: false; isIdle: true; isSuccess: false; status: "idle"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined; isError: false; isIdle: false; isSuccess: false; status: "pending"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined; isError: true; isIdle: false; isSuccess: false; status: "error"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: NonThrowableResult | ThrowableResult; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined; isError: false; isIdle: false; isSuccess: true; status: "success"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; }; useRevokeOtherSessions: (options?: Partial) => { mutate: _tanstack_react_query.UseMutateFunction | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: undefined; isError: false; isIdle: true; isSuccess: false; status: "idle"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined; isError: false; isIdle: false; isSuccess: false; status: "pending"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined; isError: true; isIdle: false; isSuccess: false; status: "error"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: NonThrowableResult | ThrowableResult; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ query?: Record | undefined; fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined; isError: false; isIdle: false; isSuccess: true; status: "success"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; }; useListDeviceSessions: (options?: Partial) => _tanstack_react_query.UseQueryResult<{ session: better_auth_types.Session; user: better_auth_types.User; }[], Error>; useRevokeDeviceSession: (options?: Partial) => { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: undefined; isError: false; isIdle: true; isSuccess: false; status: "idle"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isSuccess: false; status: "pending"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: true; isIdle: false; isSuccess: false; status: "error"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: NonThrowableResult | ThrowableResult; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isSuccess: true; status: "success"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; }; useSetActiveSession: (options?: Partial) => { setActiveSession: _tanstack_react_query.UseMutateFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; setActiveSessionAsync: _tanstack_react_query.UseMutateAsyncFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; setActiveSessionPending: boolean; setActiveSessionError: Error | null; data: undefined; variables: undefined; error: null; isError: false; isIdle: true; isPending: false; isSuccess: false; status: "idle"; mutate: _tanstack_react_query.UseMutateFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; reset: () => void; context: unknown; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; mutateAsync: _tanstack_react_query.UseMutateAsyncFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; } | { setActiveSession: _tanstack_react_query.UseMutateFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; setActiveSessionAsync: _tanstack_react_query.UseMutateAsyncFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; setActiveSessionPending: boolean; setActiveSessionError: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; error: null; isError: false; isIdle: false; isPending: true; isSuccess: false; status: "pending"; mutate: _tanstack_react_query.UseMutateFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; reset: () => void; context: unknown; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; mutateAsync: _tanstack_react_query.UseMutateAsyncFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; } | { setActiveSession: _tanstack_react_query.UseMutateFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; setActiveSessionAsync: _tanstack_react_query.UseMutateAsyncFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; setActiveSessionPending: boolean; setActiveSessionError: Error | null; data: undefined; error: Error; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: true; isIdle: false; isPending: false; isSuccess: false; status: "error"; mutate: _tanstack_react_query.UseMutateFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; reset: () => void; context: unknown; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; mutateAsync: _tanstack_react_query.UseMutateAsyncFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; } | { setActiveSession: _tanstack_react_query.UseMutateFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; setActiveSessionAsync: _tanstack_react_query.UseMutateAsyncFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; setActiveSessionPending: boolean; setActiveSessionError: Error | null; data: { data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }; error: null; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isPending: false; isSuccess: true; status: "success"; mutate: _tanstack_react_query.UseMutateFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; reset: () => void; context: unknown; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; mutateAsync: _tanstack_react_query.UseMutateAsyncFunction<{ data: { session: better_auth_types.Session & Record; user: better_auth_types.User & Record; }; error: null; } | { data: null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; }; }, Error, better_auth_dist_shared_better_auth_CYegVoq1.P<{ sessionToken: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ sessionToken: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, unknown>; }; useListPasskeys: (options?: Partial) => _tanstack_react_query.UseQueryResult; useDeletePasskey: (options?: Partial) => { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: undefined; isError: false; isIdle: true; isSuccess: false; status: "idle"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ id: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isSuccess: false; status: "pending"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ id: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: true; isIdle: false; isSuccess: false; status: "error"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: NonThrowableResult | ThrowableResult; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ id: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ id: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isSuccess: true; status: "success"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; }; useListApiKeys: (options?: Partial) => _tanstack_react_query.UseQueryResult<{ permissions: { [key: string]: string[]; } | null; id: string; name: string | null; start: string | null; prefix: string | null; userId: string; refillInterval: number | null; refillAmount: number | null; lastRefillAt: Date | null; enabled: boolean; rateLimitEnabled: boolean; rateLimitTimeWindow: number | null; rateLimitMax: number | null; requestCount: number; remaining: number | null; lastRequest: Date | null; expiresAt: Date | null; createdAt: Date; updatedAt: Date; metadata: Record | null; }[], Error>; useCreateApiKey: (options?: Partial) => { mutate: _tanstack_react_query.UseMutateFunction | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: undefined; isError: false; isIdle: true; isSuccess: false; status: "idle"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined; isError: false; isIdle: false; isSuccess: false; status: "pending"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined; isError: true; isIdle: false; isSuccess: false; status: "error"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, { previousData: {}; }>; mutateAsync: { (params: Omit | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: NonThrowableResult | ThrowableResult; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ metadata?: any; name?: string | undefined; userId?: string | undefined; prefix?: string | undefined; expiresIn?: number | null | undefined; permissions?: Record | undefined; rateLimitMax?: number | undefined; refillInterval?: number | undefined; refillAmount?: number | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; remaining?: number | null | undefined; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }> | undefined; isError: false; isIdle: false; isSuccess: true; status: "success"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; }; useDeleteApiKey: (options?: Partial) => { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: undefined; isError: false; isIdle: true; isSuccess: false; status: "idle"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ keyId: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isSuccess: false; status: "pending"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: undefined; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ keyId: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: true; isIdle: false; isSuccess: false; status: "error"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; } | { mutate: _tanstack_react_query.UseMutateFunction>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, { previousData: {}; }>; mutateAsync: { (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: { throw?: true; } | undefined; }): Promise; (params: Omit>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>, "fetchOptions"> & { fetchOptions?: better_auth_react.BetterFetchOption; }): Promise; }; isPending: boolean; error: Error | null; data: NonThrowableResult | ThrowableResult; variables: better_auth_dist_shared_better_auth_CYegVoq1.P<{ keyId: string; } & { fetchOptions?: { method?: string | undefined; headers?: (HeadersInit & (HeadersInit | { accept: "application/json" | "text/plain" | "application/octet-stream"; "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream"; authorization: "Bearer" | "Basic"; })) | undefined; cache?: RequestCache | undefined; credentials?: RequestCredentials | undefined; integrity?: string | undefined; keepalive?: boolean | undefined; mode?: RequestMode | undefined; priority?: RequestPriority | undefined; redirect?: RequestRedirect | undefined; referrer?: string | undefined; referrerPolicy?: ReferrerPolicy | undefined; signal?: (AbortSignal | null) | undefined; window?: null | undefined; onRequest?: (>(context: better_auth_react.RequestContext) => Promise | better_auth_react.RequestContext | void) | undefined; onResponse?: ((context: better_auth_react.ResponseContext) => Promise | Response | better_auth_react.ResponseContext | void) | undefined; onSuccess?: ((context: better_auth_react.SuccessContext) => Promise | void) | undefined; onError?: ((context: better_auth_react.ErrorContext) => Promise | void) | undefined; onRetry?: ((response: better_auth_react.ResponseContext) => Promise | void) | undefined; hookOptions?: { cloneResponse?: boolean; } | undefined; timeout?: number | undefined; customFetchImpl?: better_auth_react.FetchEsque | undefined; plugins?: better_auth_react.BetterFetchPlugin[] | undefined; baseURL?: string | undefined; throw?: boolean | undefined; auth?: ({ type: "Bearer"; token: string | Promise | (() => string | Promise | undefined) | undefined; } | { type: "Basic"; username: string | (() => string | undefined) | undefined; password: string | (() => string | undefined) | undefined; } | { type: "Custom"; prefix: string | (() => string | undefined) | undefined; value: string | (() => string | undefined) | undefined; }) | undefined; body?: (Partial<{ keyId: string; }> & Record) | undefined; query?: (Partial> & Record) | undefined; params?: Record | undefined; duplex?: "full" | "half" | undefined; jsonParser?: ((text: string) => Promise | any) | undefined; retry?: better_auth_react.RetryOptions | undefined; retryAttempt?: number | undefined; output?: (better_auth_react.StandardSchemaV1 | typeof Blob | typeof File) | undefined; errorSchema?: better_auth_react.StandardSchemaV1 | undefined; disableValidation?: boolean | undefined; } | undefined; }>; isError: false; isIdle: false; isSuccess: true; status: "success"; reset: () => void; context: { previousData: {}; } | undefined; failureCount: number; failureReason: Error | null; isPaused: boolean; submittedAt: number; }; useActiveOrganization: (options?: Partial) => _tanstack_react_query.UseQueryResult<{ members: { id: string; organizationId: string; role: "member" | "admin" | "owner"; createdAt: Date; userId: string; user: { email: string; name: string; image?: string; }; }[]; invitations: { id: string; organizationId: string; email: string; role: "member" | "admin" | "owner"; status: better_auth_plugins_organization.InvitationStatus; inviterId: string; expiresAt: Date; }[]; } & { id: string; name: string; createdAt: Date; slug: string; metadata?: any; logo?: string | null | undefined; }, Error>; useListOrganizations: (options?: Partial) => _tanstack_react_query.UseQueryResult<{ id: string; name: string; createdAt: Date; slug: string; metadata?: any; logo?: string | null | undefined; }[], Error>; useHasPermission: (params: Parameters[0], options?: Partial) => _tanstack_react_query.UseQueryResult<{ error: null; success: boolean; }, Error>; useInvitation: (params: Parameters[0], options?: Partial) => _tanstack_react_query.UseQueryResult<{ organizationName: string; organizationSlug: string; inviterEmail: string; id: string; email: string; status: "pending" | "accepted" | "rejected" | "canceled"; expiresAt: Date; organizationId: string; role: string; inviterId: string; teamId?: string | undefined; }, Error>; useAuthMutation: typeof useAuthMutation; }; declare function createAuthPrefetches(authClient: TAuthClient, queryOptions?: AuthQueryOptions): { prefetchSession: (queryClient: QueryClient, options?: Partial) => Promise<{ error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; } | null; data: { user: { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined | undefined; isAnonymous?: boolean | null | undefined; username?: string | null | undefined; displayUsername?: string | null | undefined; twoFactorEnabled: boolean | null | undefined; }; session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined | undefined; userAgent?: string | null | undefined | undefined; activeOrganizationId?: string | null | undefined; }; } | null; session: TAuthClient["$Infer"]["Session"]["session"] | undefined; user: TAuthClient["$Infer"]["Session"]["user"] | undefined; }>; }; declare function prefetchSession(authClient: TAuthClient, queryClient: QueryClient, queryOptions?: AuthQueryOptions, options?: Partial): Promise<{ error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; } | null; data: { user: { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined | undefined; isAnonymous?: boolean | null | undefined; username?: string | null | undefined; displayUsername?: string | null | undefined; twoFactorEnabled: boolean | null | undefined; }; session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined | undefined; userAgent?: string | null | undefined | undefined; activeOrganizationId?: string | null | undefined; }; } | null; session: TAuthClient["$Infer"]["Session"]["session"] | undefined; user: TAuthClient["$Infer"]["Session"]["user"] | undefined; }>; type NonThrowableResult = { data: { status?: boolean; success?: boolean; [key: string]: unknown; } | null; error: { code?: string | undefined; message?: string | undefined; status: number; statusText: string; } | null; }; type ThrowableResult = { status?: boolean; [key: string]: unknown; }; export { AuthQueryContext, type AuthQueryOptions, AuthQueryProvider, type NonThrowableResult, type ThrowableResult, createAuthHooks, createAuthPrefetches, defaultAuthQueryOptions, prefetchSession };