Files
scrap/node_modules/next/dist/shared/lib/router/utils/parse-url.d.ts
2024-09-24 03:52:46 +00:00

14 lines
362 B
TypeScript

/// <reference types="node" />
import type { ParsedUrlQuery } from 'querystring';
export interface ParsedUrl {
hash: string;
hostname?: string | null;
href: string;
pathname: string;
port?: string | null;
protocol?: string | null;
query: ParsedUrlQuery;
search: string;
}
export declare function parseUrl(url: string): ParsedUrl;