import type { CollectionContext } from '@/types/index.js'; import type { CollectionBeforeValidateHook, JsonObject, TypeWithID } from 'payload'; type Args = { context: CollectionContext; filesRequiredOnCreate: boolean; }; type Data = JsonObject & TypeWithID; export declare const getBeforeValidateHook: ({ context, filesRequiredOnCreate }: Args) => CollectionBeforeValidateHook; export {};