import * as cog from '../cog'; import * as dashboard from '../dashboard'; import * as common from '../common'; export declare class PanelBuilder implements cog.Builder { protected readonly internal: dashboard.Panel; constructor(); /** * Builds the object. */ build(): dashboard.Panel; id(id: number): this; targets(targets: cog.Builder[]): this; withTarget(target: cog.Builder): this; title(title: string): this; description(description: string): this; transparent(transparent: boolean): this; datasource(datasource: common.DataSourceRef): this; gridPos(gridPos: dashboard.GridPos): this; height(h: number): this; span(w: number): this; links(links: cog.Builder[]): this; repeat(repeat: string): this; repeatDirection(repeatDirection: "h" | "v"): this; maxPerRow(maxPerRow: number): this; maxDataPoints(maxDataPoints: number): this; transformations(transformations: dashboard.DataTransformerConfig[]): this; withTransformation(transformation: dashboard.DataTransformerConfig): this; interval(interval: string): this; timeFrom(timeFrom: string): this; timeShift(timeShift: string): this; hideTimeOverride(hideTimeOverride: boolean): this; timeCompare(timeCompare: string): this; libraryPanel(libraryPanel: dashboard.LibraryPanelRef): this; cacheTimeout(cacheTimeout: string): this; queryCachingTTL(queryCachingTTL: number): this; displayName(displayName: string): this; unit(unit: string): this; decimals(decimals: number): this; min(min: number): this; max(max: number): this; mappings(mappings: dashboard.ValueMapping[]): this; thresholds(thresholds: cog.Builder): this; colorScheme(color: cog.Builder): this; dataLinks(links: cog.Builder[]): this; actions(actions: cog.Builder[]): this; noValue(noValue: string): this; fieldMinMax(fieldMinMax: boolean): this; overrides(overrides: { __systemRef?: string; matcher: dashboard.MatcherConfig; properties: dashboard.DynamicConfigValue[]; }[]): this; withOverride(override: { __systemRef?: string; matcher: dashboard.MatcherConfig; properties: dashboard.DynamicConfigValue[]; }): this; overrideByName(name: string, properties: dashboard.DynamicConfigValue[]): this; overrideByRegexp(regexp: string, properties: dashboard.DynamicConfigValue[]): this; overrideByFieldType(fieldType: string, properties: dashboard.DynamicConfigValue[]): this; overrideByQuery(queryRefId: string, properties: dashboard.DynamicConfigValue[]): this; bucketCount(bucketCount: number): this; bucketSize(bucketSize: number): this; bucketOffset(bucketOffset: number): this; legend(legend: cog.Builder): this; tooltip(tooltip: cog.Builder): this; combine(combine: boolean): this; lineWidth(lineWidth: number): this; fillOpacity(fillOpacity: number): this; axisPlacement(axisPlacement: common.AxisPlacement): this; axisColorMode(axisColorMode: common.AxisColorMode): this; axisLabel(axisLabel: string): this; axisWidth(axisWidth: number): this; axisSoftMin(axisSoftMin: number): this; axisSoftMax(axisSoftMax: number): this; axisGridShow(axisGridShow: boolean): this; scaleDistribution(scaleDistribution: cog.Builder): this; axisCenteredZero(axisCenteredZero: boolean): this; hideFrom(hideFrom: cog.Builder): this; stacking(stacking: cog.Builder): this; gradientMode(gradientMode: common.GraphGradientMode): this; axisBorderShow(axisBorderShow: boolean): this; }