import * as cog from '../cog'; import * as dashboard from '../dashboard'; import * as common from '../common'; import * as candlestick from '../candlestick'; 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; mode(mode: candlestick.VizDisplayMode): this; candleStyle(candleStyle: candlestick.CandleStyle): this; colorStrategy(colorStrategy: candlestick.ColorStrategy): this; fields(fields: cog.Builder): this; colors(colors: cog.Builder): this; legend(legend: cog.Builder): this; tooltip(tooltip: cog.Builder): this; includeAllFields(includeAllFields: boolean): this; drawStyle(drawStyle: common.GraphDrawStyle): this; gradientMode(gradientMode: common.GraphGradientMode): this; thresholdsStyle(thresholdsStyle: cog.Builder): this; transform(transform: common.GraphTransform): this; lineColor(lineColor: string): this; lineWidth(lineWidth: number): this; lineInterpolation(lineInterpolation: common.LineInterpolation): this; lineStyle(lineStyle: cog.Builder): this; fillColor(fillColor: string): this; fillOpacity(fillOpacity: number): this; showPoints(showPoints: common.VisibilityMode): this; pointSize(pointSize: number): this; pointColor(pointColor: string): 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; barAlignment(barAlignment: common.BarAlignment): this; barWidthFactor(barWidthFactor: number): this; stacking(stacking: cog.Builder): this; hideFrom(hideFrom: cog.Builder): this; insertNulls(insertNulls: boolean | number): this; spanNulls(spanNulls: boolean | number): this; fillBelowTo(fillBelowTo: string): this; pointSymbol(pointSymbol: string): this; axisBorderShow(axisBorderShow: boolean): this; barMaxWidth(barMaxWidth: number): this; }