import type { PaginatedDocs, ValueWithRelation } from 'payload'; export type ValueAsDataWithRelation = { relationTo: string; value: any; }; type PopulateDocsDeprecated = (ids: (number | string)[], items: never, collectionSlug?: string) => Promise; type PopulateDocsNew = (items: ValueWithRelation[], ids: never, collectionSlug: never) => Promise; export type PopulateDocs = PopulateDocsDeprecated | PopulateDocsNew; export type ReloadDoc = (doc: number | string, collectionSlug: string) => Promise; export {}; //# sourceMappingURL=types.d.ts.map