import { Provider } from '@loopback/core'; import { CmsDataSource } from '../datasources'; export interface Cms { getAll(model: string, token: string, filter?: any, populate?: any): Promise<{ data: any[]; }>; getById(model: string, id: string, token: string, filter?: string): Promise; getCount(model: string, token: string, filter?: string): Promise; getUrl(token: string, tenantId?: string): Promise; } export declare class CmsProvider implements Provider { protected dataSource: CmsDataSource; constructor(dataSource?: CmsDataSource); value(): Promise; }