next
Version:
The React Framework
9 lines (8 loc) • 387 B
TypeScript
import type { NodeHeaders } from './types';
export declare function fromNodeHeaders(object: NodeHeaders): Headers;
export declare function toNodeHeaders(headers?: Headers): NodeHeaders;
export declare function splitCookiesString(cookiesString: string): string[];
/**
* Validate the correctness of a user-provided URL.
*/
export declare function validateURL(url: string | URL): string;