import { ZodCompilerRegisterConfig } from "./config.js"; //#region src/register/transform.d.ts type RegisterFormat = "commonjs" | "commonjs-typescript" | "module" | "module-typescript"; /** Formats whose source Node can execute after a synchronous load hook returns it. */ declare function isRegisterFormat(format: string | null | undefined): format is RegisterFormat; /** Decode the textual module formats accepted by Node's load hook. */ declare function decodeModuleSource(source: string | ArrayBuffer | NodeJS.TypedArray): string; /** * Add lazy JIT registration to a module without executing it during the load hook. * Named ESM exports are referenced by their real local binding, so aliases and * multiple declarations work without rewriting their initializers. */ declare function instrumentModule(source: string, filename: string, format: RegisterFormat, config: ZodCompilerRegisterConfig): string | null; //#endregion export { decodeModuleSource, instrumentModule, isRegisterFormat }; //# sourceMappingURL=transform.d.ts.map