import type { SanitizedCollectionConfig } from '../../../collections/config/types';
import type { PayloadRequest, RequestContext } from '../../../express/types';
import type { SanitizedGlobalConfig } from '../../../globals/config/types';
type Args<T> = {
    context: RequestContext;
    data: Record<string, unknown> | T;
    doc?: Record<string, unknown> | T;
    entityConfig: SanitizedCollectionConfig | SanitizedGlobalConfig;
    id?: number | string;
    operation: 'create' | 'update';
    overrideAccess: boolean;
    req: PayloadRequest;
};
export declare const beforeValidate: <T extends Record<string, unknown>>({ id, context, data: incomingData, doc, entityConfig, operation, overrideAccess, req, }: Args<T>) => Promise<T>;
export {};
//# sourceMappingURL=index.d.ts.map