import { HookDecorator } from '@foal/core';
export interface FilesSchema {
    [key: string]: {
        required: boolean;
        multiple?: boolean;
        saveTo?: string;
    };
}
export interface FieldsSchema {
    type: 'object';
    properties: {
        [key: string]: any;
    };
    [key: string]: any;
}
export declare function ParseAndValidateFiles(filesSchema: FilesSchema, fieldsSchema?: FieldsSchema, options?: {
    openapi?: boolean;
}): HookDecorator;
