mono/packages/commons/dist/lib/scheme.d.ts
2026-01-27 08:26:13 +01:00

10 lines
281 B
TypeScript

export type ParsedURL = {
scheme: string;
host?: string;
path?: string;
query?: Record<string, string>;
fragment?: string;
};
export declare const escapeFirstUrlSegment: (url: string) => string;
export declare const parseURL: (url: string) => ParsedURL | null;