declare module "@11ty/eleventy-fetch" { type FetchType = | "json" | "buffer" | "text"; type EleventyFetchOptionsBase = { type: TType; directory?: string; concurrency?: number; fetchOptions?: RequestInit; dryRun?: boolean; removeUrlQueryParams?: boolean; verbose?: boolean; hashLength?: number; duration?: string; formatUrlForDisplay?: (url: string) => string; } type EleventyFetch = (url: string, options: EleventyFetchOptionsBase) => Promise< TType extends "json" ? TReturn : TType extends "buffer" ? Buffer : TType extends "text" ? string : never >; const fetch: EleventyFetch; export default fetch; }