import { BasicExpression, From, QueryIR } from '../ir.js';
import { Collection } from '../../collection/index.js';
export type LazyLoadTarget = {
    alias: string;
    collection: Collection;
    path: Array<string>;
};
export declare function getLazyLoadTargets(rawQuery: QueryIR, lazyFrom: From, lazyAlias: string, lazySourceExpr: BasicExpression, lazySource: Collection | undefined, aliasRemapping: Record<string, string>): Array<LazyLoadTarget>;
export declare function containsUnionFrom(from: From): boolean;
