wilddragon-site/node_modules/next/dist/shared/lib/router/utils/parse-url.d.ts
2026-04-17 15:51:01 -04:00

15 lines
410 B
TypeScript
Executable file

import type { ParsedUrlQuery } from 'querystring';
export interface ParsedUrl {
auth: string | null;
hash: string;
hostname: string | null;
href: string;
origin?: string | null;
pathname: string;
port: string | null;
protocol: string | null;
query: ParsedUrlQuery;
search: string;
slashes: boolean | null;
}
export declare function parseUrl(url: string): ParsedUrl;