import type { Agent, AtpAgent } from '@atproto/api'; export type AtprotoAgentScope = 'authenticated' | 'public' | (string & {}); /** * Returns a cached AT Protocol agent for the given scope (client-only). * * - `authenticated` — OAuth session agent (formerly `private`) * - `public` — unauthenticated public API agent * - custom string — `AtpAgent` for a specific PDS/service URL */ export declare function useAtprotoAgent(scope: AtprotoAgentScope, fetch?: typeof globalThis.fetch): Agent | AtpAgent;