import { N as Nullable, A as Arrayable } from './types-fc7e68bc.js';

declare const isWindows: boolean;
declare function slash(str: string): string;
declare function mergeSlashes(str: string): string;
declare function normalizeRequestId(id: string, base?: string): string;
declare const queryRE: RegExp;
declare const hashRE: RegExp;
declare const cleanUrl: (url: string) => string;
declare function normalizeModuleId(id: string): string;
declare function isPrimitive(v: any): boolean;
declare function pathFromRoot(root: string, filename: string): string;
declare function toFilePath(id: string, root: string): string;
/**
 * Convert `Arrayable<T>` to `Array<T>`
 *
 * @category Array
 */
declare function toArray<T>(array?: Nullable<Arrayable<T>>): Array<T>;

export { cleanUrl, hashRE, isPrimitive, isWindows, mergeSlashes, normalizeModuleId, normalizeRequestId, pathFromRoot, queryRE, slash, toArray, toFilePath };
