/** * Link semantic graph ownership and concrete build units with adapter-emitted * assets, then derive the in-memory output projections consumed by runtimes, * plugins, and deployment helpers. */ import type { AssetGroup, BuildOutput, BuildPlan, DeploymentMetadata } from "../contracts.js"; import type { CoreGraph } from "../graph/core.js"; export interface BuildOutputLinkInput { graph: CoreGraph; plan: BuildPlan; clientEntryAssets?: Record; /** Assets keyed by the exact server BuildPlan entry name. */ serverEntryAssets?: Record; } /** * Join CoreGraph, BuildPlan, and bundler facts into one validated BuildOutput. * Bundler facts must identify planned entries by name, and every executable * server entry must resolve to one self-contained JavaScript asset. Semantic * ownership and routing are projected from graph and plan rather than inferred * from emitted filenames or module stats. */ export declare function linkBuildOutput(input: BuildOutputLinkInput): BuildOutput; /** Require every client BuildPlan entry to have exact named JavaScript facts. */ export declare function assertBuildOutputLinkInputClientAssets(input: Pick): void; export interface DeploymentMetadataOptions { includeAssets?: boolean; } /** * Create the canonical deployment projection from linked output. Public asset * filtering, Document ownership, request routes, server capability endpoints, * and the server entry are all derived once at this boundary. */ export declare function createDeploymentMetadata(output: BuildOutput, options?: DeploymentMetadataOptions): DeploymentMetadata; //# sourceMappingURL=linker.d.ts.map