import { F as FastApiClient$1, a as FastApiClientOptions, I as InterceptorManager, R as RequestTransformer, b as ResponseTransformer, E as ErrorInterceptor, c as FastApiRequestConfig, H as HttpMethod, d as FastApiResponse, S as StormFetchBatchRequest, e as StormFetchPollOptions, f as StormFetchPollController, g as StormFetchDomMimeType, h as StormFetchDomDocument, i as StormFetchScrapeSchema, j as StormFetchScrapeResult, k as StormFetchResource, D as DownloadOptions, l as StormFetchCacheManager, m as StormFetchCacheSnapshot, n as StormFetchHistoryEntry, o as ResolvedFastApiRequestConfig, p as StormFetchHarLog, q as StormFetchPolicyMatcher, r as StormFetchSseOptions, s as StormFetchSseController, t as StormFetchContractDefinition, u as StormFetchContract, N as NativeTransferOptions, v as NativeTransferResult, w as NativeTransferTask, x as StormFetchPlugin, y as StormFetchInstalledPlugin, z as StormFetchEvent, O as OfflineQueueSnapshot, A as StormFetchServerClientOptions, B as EndpointMap, T as TypedStormFetchClient } from './types-g5m4rG32.js'; declare class FastApiClient implements FastApiClient$1 { readonly defaults: FastApiClientOptions; readonly interceptors: { request: InterceptorManager; response: InterceptorManager; error: InterceptorManager; }; private cache; private dedupe; private queue; private offline; private nativeTransfers; private pluginRegistry; private onlineListener?; private listeners; private refreshTokenPromise?; private historyEntries; private policies; private circuitByHost; constructor(options?: FastApiClientOptions); request(input: FastApiRequestConfig & { url: string; method?: HttpMethod; }): Promise>; get(url: string, config?: FastApiRequestConfig): Promise>; fetch(url: string, config?: FastApiRequestConfig): Promise>; post(url: string, data?: TBody, config?: FastApiRequestConfig): Promise>; put(url: string, data?: TBody, config?: FastApiRequestConfig): Promise>; patch(url: string, data?: TBody, config?: FastApiRequestConfig): Promise>; delete(url: string, config?: FastApiRequestConfig): Promise>; head(url: string, config?: FastApiRequestConfig): Promise>; options(url: string, config?: FastApiRequestConfig): Promise>; query(url: string, data?: TBody, config?: FastApiRequestConfig): Promise>; GET(url: string, config?: FastApiRequestConfig): Promise>; POST(url: string, data?: TBody, config?: FastApiRequestConfig): Promise>; PUT(url: string, data?: TBody, config?: FastApiRequestConfig): Promise>; PATCH(url: string, data?: TBody, config?: FastApiRequestConfig): Promise>; DELETE(url: string, config?: FastApiRequestConfig): Promise>; HEAD(url: string, config?: FastApiRequestConfig): Promise>; OPTIONS(url: string, config?: FastApiRequestConfig): Promise>; QUERY(url: string, data?: TBody, config?: FastApiRequestConfig): Promise>; postJson(url: string, data?: TBody, config?: FastApiRequestConfig): Promise>; postForm(url: string, data: Record | URLSearchParams, config?: FastApiRequestConfig): Promise>; postMultipart(url: string, data: Record | FormData, config?: FastApiRequestConfig): Promise>; graphql>(query: string, variables?: TVariables, config?: FastApiRequestConfig): Promise>; batch(requests: readonly StormFetchBatchRequest[]): Promise<{ [K in keyof TResponses]: FastApiResponse; }>; poll(url: string, intervalOrOptions?: number | StormFetchPollOptions, config?: FastApiRequestConfig): StormFetchPollController; getHtml(url: string, config?: FastApiRequestConfig): Promise>; getXml(url: string, config?: FastApiRequestConfig): Promise>; getDom(url: string, config?: FastApiRequestConfig & { mimeType?: StormFetchDomMimeType; }): Promise>; parseDom(html: string, mimeType?: StormFetchDomMimeType): StormFetchDomDocument; scrape(url: string, schema: TShape, config?: FastApiRequestConfig): Promise>>; resource, TUpdate = Partial>(basePath: string): StormFetchResource; download(url: string, fileName?: string, config?: DownloadOptions): Promise>; clearCache(key?: string): void; clearCacheAsync(key?: string): Promise; invalidateTags(tags: string[]): Promise; get cacheManager(): StormFetchCacheManager; prefetch(url: string, config?: FastApiRequestConfig): Promise>; dehydrateCache(): Promise; hydrateCache(snapshot: StormFetchCacheSnapshot): Promise; cacheKeys(): string[]; history(): StormFetchHistoryEntry[]; clearHistory(): void; replay(requestId: string): Promise>; toCurl(requestIdOrConfig: string | ResolvedFastApiRequestConfig): string; toHAR(): StormFetchHarLog; policy(match: StormFetchPolicyMatcher, config: FastApiRequestConfig): () => void; streamText(url: string, config?: FastApiRequestConfig): AsyncIterable; streamJson(url: string, config?: FastApiRequestConfig): Promise; streamNdjson(url: string, config?: FastApiRequestConfig): AsyncIterable; sse(url: string, options?: StormFetchSseOptions): StormFetchSseController; contract(definition: TContract): StormFetchContract; createFormData(data: Record): FormData; nativeUpload(options: NativeTransferOptions): Promise; nativeDownload(options: NativeTransferOptions): Promise; startNativeUpload(options: NativeTransferOptions): NativeTransferTask; startNativeDownload(options: NativeTransferOptions): NativeTransferTask; usePlugin(plugin: StormFetchPlugin): Promise<() => Promise>; removePlugin(name: string): Promise; installedPlugins(): StormFetchInstalledPlugin[]; dispose(): Promise; private createURLSearchParams; subscribe(listener: (event: StormFetchEvent) => void): () => void; private resolveConfig; private executeWithOfflineQueue; flushOfflineQueue(): Promise; offlineQueueSnapshot(): Promise; retryOfflineRequest(id: string): Promise; discardOfflineRequest(id: string): Promise; retryOfflineBatch(ids?: string[]): Promise; reconcileOfflineRequest(id: string, config: FastApiRequestConfig & { url: string; method: HttpMethod; }): Promise; private executeWithRetry; private execute; private applyPolicies; private validateConfig; private matchesPolicy; private recordHistory; private assertCircuit; private isCircuitOpen; private recordCircuitFailure; private recordCircuitSuccess; private shellQuote; private parseSse; private fetchAndCache; private writeCache; private errorShape; private runNativeTransfer; private startNativeTransfer; private emit; private readHost; private resolveParamsSerializer; private assertUrlInput; private hasPathTraversal; private applySecurity; private blockSecurity; private validateResolvedAddresses; private assertNoQuerySecrets; private resolveHostAddresses; private matchesCidr; private ipv4ToNumber; private shouldAttachXsrf; private createSecureRedirectHandler; private matchesHost; private sanitizeHeaders; private applyCredentialPolicy; private readCredentialPolicy; private canForwardCredential; private isPrivateNetworkHost; private redactHeaders; private redactString; private redactUrl; private redactData; private validateJsonShape; private isStreamLike; private validateSchema; private normalizeError; private defaultNormalizeError; } declare const createStormFetchClient: (options?: FastApiClientOptions) => FastApiClient; declare const createFastApiClient: (options?: FastApiClientOptions) => FastApiClient; declare const createTypedStormFetchClient: (options?: FastApiClientOptions) => TypedStormFetchClient; declare const createStormFetchServerClient: (options?: StormFetchServerClientOptions) => FastApiClient; export { FastApiClient as F, createStormFetchClient as a, createStormFetchServerClient as b, createFastApiClient as c, createTypedStormFetchClient as d };