import * as cog from '../cog'; import * as dashboard from '../dashboard'; import * as common from '../common'; import * as debug from '../debug'; 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: debug.DebugMode): this; counters(counters: cog.Builder): this; }