import ExternalLink = require('./external-link'); import type { GrafanaCustomTemplate, GrafanaDashboard, GrafanaGraphiteAnnotation } from './grafana'; import type Row from './row'; import type Graphite from './annotations/graphite'; import type Query from './templates/query'; import type Custom from './templates/custom'; type DashboardOptions = Partial & { rows: Row[]; templating: GrafanaCustomTemplate[]; annotations: GrafanaGraphiteAnnotation[]; }>; declare class Dashboard { state: GrafanaDashboard; rows: Row[]; links: ExternalLink[]; constructor(opts?: DashboardOptions); _init(opts: DashboardOptions): void; _initRows(opts: DashboardOptions): void; _initLinks(opts: DashboardOptions): void; _initTemplating(opts: DashboardOptions): void; _initAnnotations(opts: DashboardOptions): void; addRow(row: Row): void; addTemplate(template: Custom | Query): void; addAnnotation(annotation: Graphite): void; generate(): GrafanaDashboard; } export = Dashboard; //# sourceMappingURL=dashboard.d.ts.map