export declare const FETCH_MODES: readonly ["readable", "raw", "answer"]; export type FetchMode = (typeof FETCH_MODES)[number]; export interface FetchModeConfig { defaultMode: FetchMode; allowedModes: readonly FetchMode[]; } export interface FetchContentParams { url?: unknown; urls?: unknown; forceClone?: unknown; prompt?: unknown; timestamp?: unknown; frames?: unknown; model?: unknown; mode?: unknown; answerModel?: unknown; auth?: unknown; proxy?: unknown; redirects?: unknown; } export interface NormalizedFetchContentParams { urlList: string[]; options: { forceClone?: boolean; prompt?: string; timestamp?: string; frames?: number; model?: string; mode?: FetchMode; answerModel?: string; auth?: true | string; proxy?: string; redirects?: "same-origin"; }; } export interface FetchRequest { urlList: string[]; mode: FetchMode; options: NormalizedFetchContentParams["options"]; } /** Normalizes fetch parameters and rejects the combinations the effective mode cannot honor. */ export declare function resolveFetchRequest(params: FetchContentParams, config: FetchModeConfig): FetchRequest;