import { Organization, Telegraf } from '../api'; import { ILabel, ITelegraf, ServiceOptions } from '../types'; export default class { private service; private serviceOptions; constructor(basePath: string, baseOptions: ServiceOptions); getAll(orgID?: string): Promise; getAllByOrg(org: Organization): Promise; getTOML(id: string): Promise; get(id: string): Promise; create(props: Telegraf): Promise; update(id: string, props: Partial): Promise; delete(id: string): Promise; addLabel(id: string, label: ILabel): Promise; removeLabel(id: string, label: ILabel): Promise; addLabels(id: string, labels: ILabel[]): Promise; removeLabels(id: string, labels: ILabel[]): Promise; }