import type { LoadHook } from "node:module";
import type { MessagePort } from "node:worker_threads";
import type { SerializedResolvedConfig, SerializedUserOptions } from "../types.js";
export declare let loaderPort: MessagePort | undefined;
export declare function initialize(data: {
    id: string;
    port: MessagePort;
    resolvedConfig: SerializedResolvedConfig;
    userOptions: SerializedUserOptions;
}): Promise<void>;
export declare const load: LoadHook;
//# sourceMappingURL=env-loader.d.ts.map