import { type Diagnostic } from "@aotter/mantle-spec"; import { type PreparedMantleRevision } from "../../domain/model/PreparedMantleRevision.js"; import type { HandlerRegistry } from "../../domain/port/HandlerRegistry.js"; import type { MantleStorageAdapter } from "../../domain/port/MantleStorageAdapter.js"; import type { RuntimePlan } from "../../domain/service/RuntimePlanCompiler.js"; export type ValidateBootResponse = { readonly ok: true; } | { readonly ok: false; readonly diagnostics: readonly Diagnostic[]; }; export interface ValidateBootRequest { readonly plan: RuntimePlan; readonly registry: HandlerRegistry; /** Selected adapter/module route prefixes checked during deployment readiness. */ readonly reservedHttpPathPrefixes?: readonly string[]; readonly siteLocales?: readonly string[]; } export interface DeploymentPreparationOptions { /** Registered handlers to validate. Omit when this embedding never dispatches Procedures. */ readonly handlerNames?: readonly string[]; readonly reservedHttpPathPrefixes?: readonly string[]; readonly siteLocales?: readonly string[]; } export declare function prepareDeployment(plan: RuntimePlan, storage: MantleStorageAdapter, options?: DeploymentPreparationOptions): Promise; export declare function assertDeploymentPlan(plan: RuntimePlan, options?: DeploymentPreparationOptions): void; /** Deployment checks only; all pure graph rules belong to `linkManifestSet`. */ export declare class ValidateBootUseCase { execute(request: ValidateBootRequest): ValidateBootResponse; assert(request: ValidateBootRequest): void; } export declare class BootValidationError extends Error { readonly diagnostics: readonly Diagnostic[]; constructor(diagnostics: readonly Diagnostic[]); } //# sourceMappingURL=ValidateBootUseCase.d.ts.map