import { Connection } from 'mongoose'; import { factory } from '../factory'; type IMemberProgram = factory.issuer.IMemberProgram; type IMemberProgramAsSearchResult = IMemberProgram & { hostingOrganization: { identifier: string; }; }; /** * メンバープログラムリポジトリ */ export declare class MemberProgramRepo { private readonly issuerModel; constructor(connection: Connection); /** * memberProgramを検索する */ projectMemberPrograms(params: { limit?: number; page?: number; project?: { id?: { $eq?: string; }; }; hostingOrganization?: { id?: { $eq?: string; }; }; identifier?: { $eq?: string; $in?: string[]; }; }): Promise; create(params: { project: { id: string; }; identifier: string; hostingOrganization: { id: string; }; }): Promise; updateOne(params: { project: { id: string; }; identifier: string; hostingOrganization: { id: string; }; }): Promise; deleteOne(params: { project: { id: string; }; identifier: string; hostingOrganization: { id: string; }; }): Promise; } export {};