版博士V2.0程序
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.

пре 1 година
12345678910111213141516171819202122232425
  1. import { N as Nullable, A as Arrayable } from './types-e6d31da0.js';
  2. import './types.d-1e7e3fdf.js';
  3. declare const isWindows: boolean;
  4. declare function slash(str: string): string;
  5. declare const VALID_ID_PREFIX = "/@id/";
  6. declare function normalizeRequestId(id: string, base?: string): string;
  7. declare const queryRE: RegExp;
  8. declare const hashRE: RegExp;
  9. declare const cleanUrl: (url: string) => string;
  10. declare const isInternalRequest: (id: string) => boolean;
  11. declare function normalizeModuleId(id: string): string;
  12. declare function isPrimitive(v: any): boolean;
  13. declare function toFilePath(id: string, root: string): {
  14. path: string;
  15. exists: boolean;
  16. };
  17. /**
  18. * Convert `Arrayable<T>` to `Array<T>`
  19. *
  20. * @category Array
  21. */
  22. declare function toArray<T>(array?: Nullable<Arrayable<T>>): Array<T>;
  23. export { VALID_ID_PREFIX, cleanUrl, hashRE, isInternalRequest, isPrimitive, isWindows, normalizeModuleId, normalizeRequestId, queryRE, slash, toArray, toFilePath };