import { TypeConverter, ConverterFunction, Converters, DefaultConverter } from "@plumjs/core"; import { MethodReflection } from "tinspector"; import { Context } from "koa"; export declare function booleanConverter(rawValue: {}, path: string[]): boolean; export declare function numberConverter(rawValue: {}, path: string[]): number; export declare function dateConverter(rawValue: {}, path: string[]): Date; export declare function modelConverter(value: {}, path: string[], expectedType: Function | Function[], converters: Converters): any; export declare function arrayConverter(value: {}[], path: string[], expectedType: Function | Function[], converters: Converters): any; export declare function convert(value: any, path: string[], expectedType: Function | Function[] | undefined, conf: Converters): any; export declare function flattenConverters(converters: TypeConverter[]): Map; export declare const TypeConverters: TypeConverter[]; export declare const DefaultConverters: { [key in DefaultConverter]: ConverterFunction; }; export declare function bindParameter(ctx: Context, action: MethodReflection, converter?: TypeConverter[]): any[];