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