import type { IncludeOption, PlainDateOutput, WithClause } from "@contfu/core"; import type { ItemWithRelations } from "../../domain/query-types.js"; import { type DbCtx } from "./db.js"; type FindItemsFn = (options: { filter?: string; limit?: number; include?: IncludeOption[]; with?: WithClause; includeDeleted?: boolean; onlyDeleted?: boolean; plainDatesAs?: PlainDateOutput; }, ctx?: any) => ItemWithRelations[]; export declare function resolveRelations(items: ItemWithRelations[], withClause: WithClause, findItems: FindItemsFn, ctx?: DbCtx, depth?: number, ancestors?: ItemWithRelations[], plainDatesAs?: PlainDateOutput): void; export {};