import type { Core } from '@strapi/strapi'; declare const population: ({ strapi }: { strapi: Core.Strapi; }) => { /** * Build a full recursive populate object for a given model UID. * Uses plugin config values unless overrides are provided. */ getFullPopulate(modelUid: string, maxDepth?: number, maxLocale?: number): any; /** * If params.populate === '*.*', replace with the full recursive populate. * Otherwise return params unchanged. */ populateHandler(modelUid: string, params: Record): { [x: string]: any; }; /** * Wrapper for strapi.service(uid).find() with deep populate support. */ find(coreService: Function, modelUid: string, params: Record): Promise; /** * Wrapper for strapi.service(uid).findOne() with deep populate support. */ findOne(coreService: Function, modelUid: string, entityId: string | number, params: Record): Promise; }; export default population;