export declare class TokenPoolExhaustedError extends Error { tokens: Record; constructor(tokens: Record); } export declare class TokenPool { private states; constructor(...tokens: string[]); private preview; /** Anthropic & OpenAI SDKs both attach `status` to thrown errors */ private statusCode; private retryAfter; run(fn: (token: string) => Promise): Promise; }