import type { AssetGroup, BuildOutput } from "../contracts.js"; export interface ServerArtifactGroupReference { assets: AssetGroup; source: string; } /** Validate one path that will be resolved relative to BuildOutput.paths.serverDir. */ export declare function assertServerRelativeArtifactPath(value: unknown, source: string): string; /** * Validate physical server artifact groups as one output namespace. Reusing * the exact same file across owners is supported; alternate case or Unicode * spellings are rejected because they alias on common file systems. */ export declare function assertServerArtifactGroups(groups: readonly ServerArtifactGroupReference[]): void; /** * Validate every BuildOutput field whose assets are loaded from serverDir and * enforce canonical SSG materialization and request-time runtime contracts. */ export declare function assertBuildOutputServerArtifacts(output: BuildOutput, source: string): void; /** Return the exact JavaScript allowlist accepted by server module loaders. */ export declare function collectBuildOutputServerJavaScriptArtifacts(output: BuildOutput, source: string): string[]; //# sourceMappingURL=server-artifacts.d.ts.map