Files
2026-07-27 14:07:26 +08:00

10 lines
370 B
TypeScript

/// <reference types="node" />
import { type UrlWithStringQuery } from 'url';
export declare function isRelativeUrl(url: string): boolean;
export declare function isExternalUrl(url: string): boolean;
export declare function isDataUrl(url: string): boolean;
/**
* Parses string url into URL object.
*/
export declare function parseUrl(url: string): UrlWithStringQuery;