import type { Backend } from '../../agent-adapter/index.js'; import type { AgentHandle, AgentResult } from '../../core/types/agent-types.js'; interface ProviderConfig { backend: Backend; provider?: string | null; mode: string | null; } interface AuthRunOptions { channel?: string; trackSessionId?: string | null; sessionId?: string | null; } export declare function resolveRateLimitProvider(config: Pick): string; export declare function withRateLimitProvider(handle: AgentHandle, provider: string): AgentHandle; export declare function withAuthLifecycle(handle: AgentHandle, options: AuthRunOptions, config: ProviderConfig): AgentHandle; export declare function configIsRateLimited(config: ProviderConfig): boolean; export declare function rateLimitedResult(mode: string, provider: string): AgentResult; export {};