import { BooleanInput } from '@angular/cdk/coercion'; import { ElementRef, NgZone, OnDestroy, QueryList } from '@angular/core'; import { CanDestroyNotify } from '@mtna/core-angular'; import { Variable as ConsumerVariable } from '@mtna/pojo-consumer-ts'; import { Variable as ManagementVariable } from '@mtna/pojo-management-ts'; import { AmChartsFrequencySetData } from '@rds/rds-base-ts'; import * as i0 from "@angular/core"; declare const RdsVariableStatsBase: import("@mtna/core-angular").CanDestroyNotifyCtor & { new (): {}; }; /** * Display variable statistics from the `summaryStatistics` and `frequencies`. * * Note: the heading levels start at `

`, so there is an assumption an h1 and h2 preceeds this component. * * @author Will Davis */ export declare class RdsVariableStatsComponent extends RdsVariableStatsBase implements CanDestroyNotify, OnDestroy { private zone; static ngAcceptInputType_loadingFrequencyChart: BooleanInput; /** The element to render the frequency chart in. */ frequencyChartElements: QueryList | undefined; /** The element to render the populated and missing chart in. */ populatedAndMissingChartElements: QueryList | undefined; /** Whether the frequency chart is loading. */ get loadingFrequencyChart(): boolean; set loadingFrequencyChart(value: boolean); private _loadingFrequencyChart; /** The chart data required to render the frequencies visualization. */ get frequencyChartData(): AmChartsFrequencySetData | null | undefined; set frequencyChartData(data: AmChartsFrequencySetData | null | undefined); private _frequencyChartData; /** The variable to display statistics for. */ get variable(): V | null | undefined; set variable(v: V | null | undefined); private _variable; /** Chart data for the populated and missing chart. */ _populatedAndMissingChartData: AmChartsFrequencySetData | undefined; /** Whether the variable distribution component should be shown. */ _showDistribution: boolean; /** The reference to the amchart displaying the frequency data. */ private _frequencyChart; /** The reference to the amchart displaying the populated and missing data. */ private _populatingAndMissingChart; constructor(zone: NgZone); ngOnDestroy(): void; private _checkAndCreateFrequencyChart; private _checkAndCreatePopulatedAndMissingChart; /** Dispose the AmChart frequency visuzalization. */ private _cleanupChart; /** * Determine whether to show the variable distribution component. * * There are two requirements: * - Cannot be a classified variable * - The min cannot equal the max (it's a meaningless visualization in this case) */ private _determineVariableDistributionVisibility; private _generateFrequencyChart; /** Generate the chart config to show the summary statistic's `populated` and `missing` values. */ private _generatePopulatedAndMissingChart; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "rds-c-variable-stats", never, { "loadingFrequencyChart": "loadingFrequencyChart"; "frequencyChartData": "frequencyChartData"; "variable": "variable"; }, {}, never, never>; } export {};