import type { OAuthSession } from '@atproto/oauth-client-browser'; /** * @deprecated Use `useAtprotoSession` and `useAtprotoAuth` instead. */ export declare function useAtproto(): { signInWithHandle: (handle?: string, options?: Parameters<(handle: string, options?: import("../../../types/index.js").AtprotoSignInOptions) => Promise>[1]) => Promise; isLogged: () => boolean; getSession: () => OAuthSession | undefined; signIn: (serviceEndpoint?: string, options?: import("../../../types/index.js").AtprotoSignInOptions) => Promise; signOut: () => Promise; restore: (did: string) => Promise; };