import { OAuthTokenStorage } from '../oauth/store'; export declare function getValidCodexToken(account?: string): Promise; export interface CodexRequestInput { path: string; method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'; body?: unknown; headers?: Record; account?: string; } export interface CodexResponse { status: number; headers: Record; body: unknown; errorType?: string; account: string; } export declare function streamCodex(input: CodexRequestInput): AsyncGenerator<{ chunk: string; }, { status: number; account: string; }, void>; export declare function callCodex(input: CodexRequestInput): Promise;