import { ComposedGuardrailResult, GuardrailContext, GuardrailDefinition, InputGuardrail, OutputGuardrail } from "./types.js"; //#region src/guardrails/builders.d.ts /** * Create a typed input guardrail. Thin wrapper around the * declarative shape - the helper exists so call-sites stay * declarative. * * @stable */ declare function defineInputGuardrail(spec: Omit, 'kind'>): InputGuardrail; /** * Create a typed output guardrail. Thin wrapper around the * declarative shape. * * @stable */ declare function defineOutputGuardrail(spec: Omit, 'kind'>): OutputGuardrail; /** * Compose a sequence of guardrails into a single check that runs * them in order. The first `'block'` short-circuits; `'warn'` is * accumulated; `'rewrite'` mutates the in-flight value and continues * forward. * * The composer never throws: every error path returns * `ComposedGuardrailResult` so the caller can surface structured * results without exception handling. * * @stable */ declare function composeGuardrails(guardrails: ReadonlyArray>, value: TValue, ctx: GuardrailContext): Promise>; //#endregion export { composeGuardrails, defineInputGuardrail, defineOutputGuardrail }; //# sourceMappingURL=builders.d.ts.map