import { ActiveRecord, RelationUpdateType, RuntimeModel, RuntimeRelationField, SubmitType } from '@oinone/kunlun-engine';
import { ViewMode } from '@oinone/kunlun-meta';
import { Condition } from '@oinone/kunlun-request';
export declare class RelationQueryHelper {
    static isNeedQuery(field: RuntimeRelationField, viewMode: ViewMode | undefined, submitType?: SubmitType, relationUpdateType?: RelationUpdateType): boolean | undefined;
    static generatorO2MCondition(field: RuntimeRelationField, activeRecord: ActiveRecord): Condition | undefined;
    static generatorM2MQueryData(model: RuntimeModel, field: RuntimeRelationField, activeRecord: ActiveRecord): ActiveRecord | undefined;
}
