import { type AgentRunAsyncResponse, type AgentRunResponse, type AgentRunWithStreamingResponse, type BrowserSession, type FetchGetContentsParams, type FetchResponse, type Run, type RunListParams, type RunListResponse, type SearchQueryParams, type SearchQueryResponse, type WalletResponse } from '@tiny-fish/sdk'; import type { BatchCancelResponse, BatchGetResponse, BatchRunRequest, BatchRunResponse, CancelRunResponse, CliAgentRunParams, CliBrowserSessionCreateParams, CookieRecord, ProfileCreateResponse, ProfileUploadResponse, RunStepsResponse, VaultConnectRequest, VaultConnectResponse, VaultConnectionsListResponse, VaultDisconnectResponse, VaultItemsListResponse, VaultItemsSyncResponse } from './types.js'; type ConnectMap = Record | undefined; export declare function buildConnectHeaders(connect: ConnectMap, caller: string | null): Record; export declare function setupPageConnectHeaders(attemptId: string | undefined): Record; export declare function resolveClientName(env?: Record): string; export declare function runSync(req: CliAgentRunParams, apiKey: string): Promise; export declare function runAsync(req: CliAgentRunParams, apiKey: string): Promise; export declare function runStream(req: CliAgentRunParams, apiKey: string, signal?: AbortSignal, onDropped?: (count: number) => void): AsyncGenerator; export declare function listRuns(opts: RunListParams, apiKey: string, timeout?: number, baseUrl?: string): Promise; export declare function getRun(runId: string, apiKey: string): Promise; export declare function getRunSteps(runId: string, apiKey: string): Promise; export declare function searchQuery(params: SearchQueryParams, apiKey: string): Promise; export declare function fetchContentGet(params: FetchGetContentsParams, apiKey: string): Promise; export declare function browserSessionCreate(params: CliBrowserSessionCreateParams, apiKey: string): Promise; export declare function cancelRun(runId: string, apiKey: string): Promise; export declare function getWallet(apiKey: string): Promise; export declare function submitBatch(req: BatchRunRequest, apiKey: string): Promise; export declare function getBatchRuns(runIds: string[], apiKey: string): Promise; export declare function cancelBatchRuns(runIds: string[], apiKey: string): Promise; export declare function profileCreate(name: string, apiKey: string): Promise; export declare function profileUpload(profileId: string, cookies: CookieRecord[], apiKey: string): Promise; export declare function vaultConnections(apiKey: string): Promise; export declare function vaultConnect(req: VaultConnectRequest, apiKey: string): Promise; export declare function vaultDisconnect(connectionId: string, apiKey: string): Promise; export declare function vaultItems(apiKey: string): Promise; export declare function vaultSync(apiKey: string): Promise; export {};