import type { FlowDefinition } from "./types.js"; /** Result of validating fields at a producer's consumed-output boundary. */ export interface NodeOutputValidationResult { /** Whether the fields may be exposed to downstream consumers. */ valid: boolean; /** Stable, path-bearing failures. Empty when validation is not required. */ issues: string[]; } /** * Return a producer's declared fields schema only when another node reads it. * * Consumption is deliberately limited to preconditions, named bindings, and * router conditions. Status reads and unreferenced declarations remain prose-only. */ export declare function getConsumedOutputSchema(flow: FlowDefinition, producerId: string): Record | undefined; /** Validate proposed fields only when a downstream deterministic consumer requires them. */ export declare function validateConsumedNodeOutput(flow: FlowDefinition, producerId: string, fields: Record | undefined): NodeOutputValidationResult; //# sourceMappingURL=output-schema.d.ts.map