type UndiciHeadersInit = string[][] | Record | Headers; type UndiciBodyInit = ArrayBuffer | AsyncIterable | Blob | FormData | Iterable | ArrayBufferView | URLSearchParams | null | string; type UndiciRequestRedirect = 'error' | 'follow' | 'manual'; type UndiciRequestCredentials = 'omit' | 'include' | 'same-origin'; type UndiciReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'; type UndiciRequestMode = 'cors' | 'navigate' | 'no-cors' | 'same-origin'; type UndiciRequestInit = { method?: string; keepalive?: boolean; headers?: UndiciHeadersInit; body?: UndiciBodyInit; redirect?: UndiciRequestRedirect; integrity?: string; signal?: AbortSignal | undefined; credentials?: UndiciRequestCredentials; mode?: UndiciRequestMode; referrer?: string; referrerPolicy?: UndiciReferrerPolicy; window?: undefined; dispatcher?: unknown; duplex?: unknown; }; type CombinedRequestInit = globalThis.RequestInit & UndiciRequestInit; export type RequestInitRegistry = { [K in keyof CombinedRequestInit]-?: true; }; export type KyRequest = { json: () => Promise; } & Request; export {};