import { Provider } from '@loopback/core'; import { RestDataSource } from '../datasources/index.js'; import { Plan } from '../models/plan.model.js'; /** * The service interface is generated from OpenAPI spec with operations tagged * by CommunityPlanController. */ export interface CommunityPlanService { /** * @param planId * @returns OK */ getPlan(planId: string): Promise; /** * @returns OK */ getPlans(): Promise; /** * @param communityId * @returns OK */ getSubscriptions(communityId: string): Promise; } export declare class CommunityPlanServiceProvider implements Provider { protected dataSource: RestDataSource; constructor(dataSource?: RestDataSource); value(): Promise; }