import { loadWorkspaceManifest, type WorkspaceSourceLayoutDiagnostic, type EnvironmentDescriptorV1 } from './workspace-contract'; import { type MetadataPackageManifest, type RuntimeComposerInput } from './api-client'; export interface WorkspaceValidationResult { valid: boolean; errors: string[]; warnings: string[]; diagnostics: WorkspaceSourceLayoutDiagnostic[]; summary: string[]; workspace: ReturnType; environments: Array<{ path: string; descriptor: EnvironmentDescriptorV1; valid: boolean; errors: string[]; warnings: string[]; }>; packages: Array<{ manifestPath: string; packageDirectory: string; manifest: MetadataPackageManifest; valid: boolean; errors: string[]; warnings: string[]; }>; } export declare function buildRuntimeComposerInput(workspaceDir?: string, environmentName?: string): { workspaceId?: string; descriptorPath: string; input: RuntimeComposerInput; registryRootDirectories: string[]; }; export declare function validateWorkspaceContract(workspaceDir?: string): WorkspaceValidationResult;