import type Endpoint from '../Endpoint.js';
import type Schema from '../../schema/Schema.js';
import type { CastFn } from '../../schema/types.js';
import type { Action } from '../../types.js';
export declare const getCastFn: (schemas: Map<string, Schema>, type?: string | string[]) => CastFn | undefined;
export declare const castPayload: (action: Action, endpoint: Endpoint, castFn?: CastFn) => Action;
export declare const castResponse: (action: Action, endpoint: Endpoint, castFn?: CastFn) => Action;
