/// import { PathOrURLStr, URLStr } from "./Strings"; export declare namespace URLs { interface CreateOpts { readonly base: URLStr; readonly params?: { [name: string]: string; }; } export function create(opts: CreateOpts): URLStr; export function toBuffer(url: URLStr): Promise; export function toBlob(url: URLStr): Promise; export function isWebScheme(url: URLStr): boolean; export function toBase(url: URLStr): string; export function absolute(url: string, base: string): string; export function isURL(path: string): boolean; export function pathname(url: string): string; export function basename(url: string, ext?: string): string; export function existsWithHEAD(url: URLStr): Promise; export function existsWithGETUsingRange(url: URLStr): Promise; export function toURL(docPathOrURL: PathOrURLStr): Promise; export {}; }