import type { MessagePort } from 'node:worker_threads'; import { LoadHookSync, ModuleSource } from 'node:module'; export declare const globalPreload: (context: { port?: MessagePort; }) => string; export declare const initialize: ({ port }: { port: MessagePort; }) => void; export declare const record: (url: string, content?: ModuleSource, originSource?: string) => void; export declare const loadSync: LoadHookSync; export declare const load: (url: string, context: any, nextLoad: Function) => Promise; export declare const reset: () => void; //# sourceMappingURL=hooks.d.mts.map