import type { ParsedManifestSet } from "../../domain/service/ManifestParser.js"; /** A fresh, empty SQLite connection supplied by platform code. */ export interface SqlViewSandbox { exec(sql: string): void; } /** * Input to the manifest validation use case (Loop 1 of the SDK * authoring contract — ADR-0007). Loose primitives stay out per the * clean-arch DTO rule; everything the use case needs is named here. */ export interface ValidateManifestsRequest { readonly parsed: ParsedManifestSet; /** Optional concatenated handler source — when provided, the use * case greps for each `Procedure.handler.ref` literal and emits a * warning when not found. */ readonly handlerSource?: string; /** Optional site config locales for the locale-vs-Schema consistency * check (ADR-0010). Validate-from-CLI flows leave this absent * (CLI can't reach the runtime DB); boot always passes it. */ readonly siteLocales?: ReadonlyArray; /** Advisory checks on MCP-surfaced Procedure inputs (#971). Core ships * the defaults; a downstream decides its own thresholds. `false` * disables the whole group. */ readonly mcpInput?: false | McpInputCheckOptions; /** Empty SQLite supplied by the caller. When absent, SQL View table * confinement is deferred to an admission gate that can supply one. */ readonly sqlViewSandbox?: SqlViewSandbox; } export interface McpInputCheckOptions { /** Warn on a top-level `oneOf` input; the message names any branch-only * required fields hidden behind the advertised `required` (default `true`). */ readonly unionAmbiguity?: boolean; /** Warn on array inputs whose `maxItems` exceeds this bound or is * undeclared, and on free-form object inputs (default `100`; * `null` disables the size check). */ readonly maxArrayItems?: number | null; } //# sourceMappingURL=ValidateManifestsRequest.d.ts.map