import type { CoercionConfig } from "../types.js"; export type CoercionResult = { success: true; value: unknown; } | { success: false; message: string; }; /** * Normalize coercion config from the corpus/interchange format. * The corpus uses strings like "string->int", "trim", "lower", "upper" * or arrays like ["trim", "lower"]. The SDK API uses CoercionConfig objects. */ export declare function normalizeCoercionConfig(raw: unknown): CoercionConfig; export declare function applyCoercion(input: unknown, config: CoercionConfig, targetType: string): CoercionResult; //# sourceMappingURL=coerce.d.ts.map