import type { Castable, FieldPredicate, SchemaSpec, SchemaSpecFromConstant } from './types'; export declare const cast: (fromType: Castable, toType: Castable) => (value: unknown) => unknown; export declare const castIfNeeded: (schemaMap: SchemaSpec, input: any) => any; export declare const fromPath: (input: any, path: readonly string[] | undefined) => unknown; export declare const satisfiesPredicates: (predicates: readonly FieldPredicate[] | undefined) => (input: any) => boolean; export declare const createInputParser: (spec: import("./types").SchemaSpecFromPath | import("./types").SchemaSpecFromTraversable) => (input: any) => T | T[] | undefined;