/** * Converts a file URL to a path string. * * @example Usage * ```ts * import { fromFileUrl } from "from_file_url.ts"; * import { assertEquals } from "../../assert/mod.ts"; * * assertEquals(fromFileUrl("file:///home/foo"), "\\home\\foo"); * assertEquals(fromFileUrl("file:///C:/Users/foo"), "C:\\Users\\foo"); * assertEquals(fromFileUrl("file://localhost/home/foo"), "\\home\\foo"); * ``` * * @param url The file URL to convert. * @returns The path string. */ export declare function fromFileUrl(url: URL | string): string;