export declare const __isCustomTurbopackBinary: () => Promise; export declare const lockfilePatchPromise: { cur?: Promise; }; export declare function loadBindings(): Promise; export declare function isWasm(): Promise; export declare function transform(src: string, options?: any): Promise; export declare function transformSync(src: string, options?: any): any; export declare function minify(src: string, options: any): Promise; export declare function minifySync(src: string, options: any): string; export declare function parse(src: string, options: any): Promise; export declare function getBinaryMetadata(): { target: any; }; /** * Initialize trace subscriber to emit traces. * */ export declare const initCustomTraceSubscriber: (traceFileName?: string) => void; /** * Teardown swc's trace subscriber if there's an initialized flush guard exists. * * This is workaround to amend behavior with process.exit * (https://github.com/vercel/next.js/blob/4db8c49cc31e4fc182391fae6903fb5ef4e8c66e/packages/next/bin/next.ts#L134=) * seems preventing napi's cleanup hook execution (https://github.com/swc-project/swc/blob/main/crates/node/src/util.rs#L48-L51=), * * instead parent process manually drops guard when process gets signal to exit. */ export declare const teardownTraceSubscriber: () => void; export declare const teardownCrashReporter: () => void;