import type { BulkWriteResult } from 'mongodb';
import { Connection, FilterQuery } from 'mongoose';
import { ICustomerType } from './mongoose/schemas/customerType';
import * as factory from '../factory';
type IKeyOfProjection = keyof ICustomerType;
/**
 * カスタマータイプリポジトリ
 */
export declare class CustomerTypeRepo {
    private readonly customerTypeModel;
    constructor(connection: Connection);
    static CREATE_MONGO_CONDITIONS(params: factory.categoryCode.ISearchConditions): FilterQuery<ICustomerType>[];
    /**
     * 検索
     */
    projectFields(params: factory.categoryCode.ISearchConditions, inclusion: IKeyOfProjection[]): Promise<ICustomerType[]>;
    saveManyByCodeValue(params: {
        attributes: ICustomerType;
        upsert?: boolean;
    }[]): Promise<BulkWriteResult | void>;
}
export {};
