/** Match .mjs, .cts, .ts, .jsx etc */ export declare const JS_EXT_RE: RegExp; export type RequireFunction = (outfile: string, ctx: { format: 'cjs' | 'esm'; }) => any; export declare function getPkgType(): any; export declare const getRandomId: () => string; export declare function isValidJsFile(filepath: string): boolean; /** * Converts a file path to a URL path (file://...) * Without this, absolute paths can't be imported on Windows */ export declare function makeFilePath(path: string): string; //# sourceMappingURL=utils.d.ts.map