import { Effect } from 'effect'; import type * as SchemaTypes from 'effect/Schema'; import { AgentInputValidationError } from './errors'; export interface DecodedAgentInput { readonly value: A; readonly message: string; } /** Validate, transform, and encode one agent input at the execution boundary. */ export declare const decodeAgentInput: (agentId: string, schema: S, input: unknown) => Effect.Effect>, AgentInputValidationError>; /** * Decode the compatibility string entrypoint without assuming which side of a * schema owns JSON parsing. Raw string decoding wins; object/array parsing is a * fallback for schemas whose encoded side is already structured. */ export declare const decodeProcessMessageInput: (agentId: string, schema: S, message: string) => Effect.Effect | string>, AgentInputValidationError>; /** Validate a direct `run()` value on the schema's Type side, then encode it. */ export declare const validateAgentInput: (agentId: string, schema: S, input: unknown) => Effect.Effect>, AgentInputValidationError>; export declare const decodeStringAgentInput: (agentId: string, input: unknown) => Effect.Effect, AgentInputValidationError>; export declare const validateStringAgentInput: (agentId: string, input: unknown) => Effect.Effect, AgentInputValidationError>; //# sourceMappingURL=io.d.ts.map