import type { Connection } from 'mongoose';
import * as factory from '../factory';
/**
 * 許可証リポジトリ
 */
export declare class PermitRepo {
    private readonly serviceOutputModel;
    constructor(connection: Connection);
    findByIdentifier(params: {
        project: {
            id: {
                $eq: string;
            };
        };
        identifier: {
            $eq: string;
        };
        issuedThrough: {
            typeOf: {
                $eq: factory.product.ProductType;
            };
        };
    }, projection?: any): Promise<factory.product.IServiceOutput>;
    findByIdentifierAndAccessCode(params: {
        project: {
            id: {
                $eq: string;
            };
        };
        accessCode: {
            $eq: string;
        };
        identifier: {
            $eq: string;
        };
        issuedThrough: {
            typeOf: {
                $eq: factory.product.ProductType;
            };
        };
    }, projection?: any): Promise<factory.product.IServiceOutput>;
}
