/**
 * Render the Worker source. Pure — the R2 binding + token are wired at deploy time.
 *
 * The literal below still spells the CLI `agents share` in its provenance comment,
 * its root response, and its gallery title, even though the command is now
 * `agents artifacts share` (RUSH-2580). That is deliberate: `hashWorkerScript` of
 * this exact text is what `shareTemplateStatus` compares a provisioned endpoint's
 * recorded `templateHash` against, so editing ANY byte here marks every already-
 * deployed endpoint `outdated` — which makes `agents artifacts share list` refuse
 * until its owner re-runs `agents artifacts share update`. Cosmetic renames are not
 * worth that; change this text only alongside a real Worker behavior change.
 */
export interface WorkerModule {
    name: string;
    contentType: 'application/wasm';
    contents: Uint8Array<ArrayBuffer>;
}
export interface WorkerBundle {
    script: string;
    modules: WorkerModule[];
}
/** Bundle the Worker renderer into an ES module plus workerd-compiled WASM modules. */
export declare function renderWorkerBundle(): WorkerBundle;
/** Single-file representation for direct Node tests, which cannot import compiled WASM modules. */
export declare function renderWorkerScript(): string;
/** Unbundled Worker source. Kept separate so esbuild can resolve npm modules. */
export declare function renderWorkerSource(): string;
