You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
903 B
21 lines
903 B
import { N as Nullable, A as Arrayable } from './types-63205a44.js';
|
|
|
|
declare const isWindows: boolean;
|
|
declare function slash(str: string): string;
|
|
declare const VALID_ID_PREFIX = "/@id/";
|
|
declare function normalizeRequestId(id: string, base?: string): string;
|
|
declare const queryRE: RegExp;
|
|
declare const hashRE: RegExp;
|
|
declare const cleanUrl: (url: string) => string;
|
|
declare const isInternalRequest: (id: string) => boolean;
|
|
declare function normalizeModuleId(id: string): string;
|
|
declare function isPrimitive(v: any): boolean;
|
|
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 { VALID_ID_PREFIX, cleanUrl, hashRE, isInternalRequest, isPrimitive, isWindows, normalizeModuleId, normalizeRequestId, queryRE, slash, toArray, toFilePath };
|
|
|