import type { AgentEnvSpec, NodeRuntime } from '../../schema';
import type { ArtifactResult, CodeZipPackager, PackageOptions, RuntimePackager } from './types/packaging';
/**
 * Extracts Node version from runtime constant.
 * Example: NODE_20 -> "20" (for use with node version checks)
 */
export declare function extractNodeVersion(runtime: NodeRuntime): string;
/**
 * Async Node/TypeScript packager for CLI usage.
 * Bundles TypeScript source into a single JS file using esbuild.
 */
export declare class NodeCodeZipPackager implements RuntimePackager {
    pack(spec: AgentEnvSpec, options?: PackageOptions): Promise<ArtifactResult>;
}
/**
 * Sync Node/TypeScript packager for CDK bundling.
 * Bundles TypeScript source into a single JS file using esbuild.
 */
export declare class NodeCodeZipPackagerSync implements CodeZipPackager {
    packCodeZip(config: AgentEnvSpec, options?: PackageOptions): ArtifactResult;
}
//# sourceMappingURL=node.d.ts.map