import type { DataSource } from "../../data-source/DataSource";
import type { RelationCountAttribute } from "./RelationCountAttribute";
import type { RelationCountLoadResult } from "./RelationCountLoadResult";
import type { QueryRunner } from "../../query-runner/QueryRunner";
export declare class RelationCountLoader {
    protected dataSource: DataSource;
    protected queryRunner: QueryRunner | undefined;
    protected relationCountAttributes: RelationCountAttribute[];
    constructor(dataSource: DataSource, queryRunner: QueryRunner | undefined, relationCountAttributes: RelationCountAttribute[]);
    load(rawEntities: any[]): Promise<RelationCountLoadResult[]>;
}
