import type { OAuthSession } from '@atproto/oauth-client-browser'; import type { AtprotoSignInOptions } from '../../../types/index.js'; export interface UseAtprotoAuthReturn { signIn: (serviceEndpoint?: string, options?: AtprotoSignInOptions) => Promise; signInWithHandle: (handle: string, options?: AtprotoSignInOptions) => Promise; signOut: () => Promise; restore: (did: string) => Promise; } /** * ATProto sign-in, sign-out, and session restore (client-only). */ export declare function useAtprotoAuth(): UseAtprotoAuthReturn;