import { UseQueryOptions } from '@tanstack/react-query'; import { AuthUser } from '../../auth/types'; import { AuthDependencies, ProvideAuthError, SigninCredentials } from './types'; export declare function useProvideAuth(baseURL: string, authQueryProps?: Partial>, auth?: AuthDependencies): { user: AuthUser | null | undefined; loading: boolean; error: ProvideAuthError | undefined; query: import('@tanstack/react-query').UseQueryResult; signin: ({ username, password }: SigninCredentials) => Promise; signout: () => Promise; update: (data: Partial) => Promise; resetPassword: (password: string) => Promise; oauthSignin: (provider: string, popup: boolean) => Promise; oauthCallback: (provider: string, callbackQuery: string) => Promise; refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise>; resetError: () => void; oauth_signin: (provider: string, popup: boolean) => Promise; };