/** Entry module name inside the artifact (matches the CLI builder). */ export declare const SINGLE_FILE_ENTRY = "index.mjs"; /** A built program artifact + the metadata the version row records. */ export interface BuiltServerArtifact { tarball: Uint8Array; digest: string; size: number; entry: string; sdkVersion: string; lockfileDigest: null; } /** * Build a single-file program artifact from submitted source. Type-strips TS→ESM (no type-check; * imports preserved so `@boardwalk-labs/workflow` stays external), packs `index.mjs` into a deterministic * tar.gz, and content-addresses it. Pure (string in → bytes out) — no fs, no network. */ export declare function buildSingleFileArtifact(source: string, carryAssets?: readonly { name: string; data: Buffer; }[]): BuiltServerArtifact; /** Build a standards-compliant ustar archive holding the given regular files in order (deterministic: * mtime/uid/gid zeroed). Readable by node-tar / system tar (the worker extractor) and our own reader. * Exported so the multi-file package builder reuses the exact same packing. */ export declare function tarFiles(files: { name: string; data: Buffer; }[]): Buffer;