import type { H3Event } from 'h3'; import type { EponymeAuthUser, EponymeSchema } from '../../types/index.js'; /** `?depth=` of a public read, refused with a `400` above `eponyme.relations.maxDepth`. */ export declare function readEponymeDepthQuery(event: H3Event): number; /** * Resolves the relations of what a route is about to answer. * * A published read only ever sees live targets. A draft read - already behind `content.read` on the entry * itself - shows a target's draft only to a reader allowed to open that target, and its live version to * anyone else, so populating cannot become a way around a per-collection permission. */ export declare function populateEponymeResponse(event: H3Event, items: Array<{ schema: EponymeSchema | undefined; data: Record; }>, options: { depth: number; version: 'published' | 'draft'; raw: boolean; user?: EponymeAuthUser; }): Promise[]>;