/// /** * Converts a file URL to a path string. * * ```ts * import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/posix.ts"; * * fromFileUrl("file:///home/foo"); // "/home/foo" * ``` * @param url of a file URL */ export declare function posixFromFileUrl(url: URL | string): string; /** * Converts a file URL to a path string. * * ```ts * import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/win32.ts"; * * fromFileUrl("file:///home/foo"); // "\\home\\foo" * fromFileUrl("file:///C:/Users/foo"); // "C:\\Users\\foo" * fromFileUrl("file://localhost/home/foo"); // "\\\\localhost\\home\\foo" * ``` * @param url of a file URL */ export declare function windowsFromFileUrl(url: URL | string): string;