import { Cell, CreateDashboardRequest, Dashboard, View } from '../api'; import { IDashboard, ILabel, ServiceOptions } from '../types'; export default class { private service; private cellsService; private serviceOptions; constructor(basePath: string, baseOptions: ServiceOptions); get(id: string): Promise; getAll(orgID?: string): Promise; create(props: CreateDashboardRequest): Promise; update(id: string, props: Partial): Promise; delete(id: string): Promise; deleteCell(dashboardID: string, cellID: string): Promise; createCell(dashboardID: string, cell: Cell): Promise; updateAllCells(dashboardID: string, cells: Cell[]): Promise; addLabel(dashboardID: string, labelID: string): Promise; addLabels(dashboardID: string, labelIDs: string[]): Promise; removeLabel(dashboardID: string, labelID: string): Promise; removeLabels(dashboardID: string, labelIDs: string[]): Promise; getView(dashboardID: string, cellID: string): Promise; updateView(dashboardID: string, cellID: string, view: Partial): Promise; clone(dashboardID: string, cloneName: string, orgID: string): Promise; private cloneLabels; private cloneViews; }