import type { RepoQuery } from "../../../data";
import type { Entity, EntityManager, RepositoryQB } from "../../entities";
export declare class WithBuilder {
    static addClause(em: EntityManager<any>, qb: RepositoryQB, entity: Entity, withs: RepoQuery["with"]): RepositoryQB;
    static validateWiths(em: EntityManager<any>, entity: string, withs: RepoQuery["with"]): number;
}
