import { MeterGroupPassThrough, MeterItem, MeterGroupOrientation, MeterGroupLabelPosition, MeterGroupLabelTemplateContext, MeterGroupMeterTemplateContext, MeterGroupIconTemplateContext } from 'primeng/types/metergroup'; export * from 'primeng/types/metergroup'; import * as _angular_core from '@angular/core'; import { TemplateRef } from '@angular/core'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { BaseStyle } from 'primeng/base'; import * as i2 from 'primeng/api'; declare class MeterGroupStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-metergroup-horizontal': boolean; 'p-metergroup-vertical': boolean; })[]; meters: string; meter: string; labelList: ({ instance }: { instance: any; }) => (string | { 'p-metergroup-label-list-vertical': boolean; 'p-metergroup-label-list-horizontal': boolean; })[]; label: string; labelIcon: string; labelMarker: string; labelText: string; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * * MeterGroup is a group of process status indicators. * * [Live Demo](https://www.primeng.org/metergroup) * * @module metergroupstyle * */ declare enum MeterGroupClasses { /** * Class name of the root element */ root = "p-metergroup", /** * Class name of the meters element */ meters = "p-metergroup-meters", /** * Class name of the meter element */ meter = "p-metergroup-meter", /** * Class name of the label list element */ labelList = "p-metergroup-label-list", /** * Class name of the label element */ label = "p-metergroup-label", /** * Class name of the label icon element */ labelIcon = "p-metergroup-label-icon", /** * Class name of the label marker element */ labelMarker = "p-metergroup-label-marker", /** * Class name of the label text element */ labelText = "p-metergroup-label-text" } declare class MeterGroupLabel extends BaseComponent { value: _angular_core.InputSignal; labelPosition: _angular_core.InputSignal; labelOrientation: _angular_core.InputSignal; min: _angular_core.InputSignal; max: _angular_core.InputSignal; iconTemplate: _angular_core.InputSignal | undefined>; parentInstance: MeterGroup; _componentStyle: MeterGroupStyle; dataP: _angular_core.Signal; getIconTemplateContext(labelItem: MeterItem): MeterGroupIconTemplateContext; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * MeterGroup displays scalar measurements within a known range. * @group Components */ declare class MeterGroup extends BaseComponent { componentName: string; $pcMeterGroup: MeterGroup | undefined; bindDirectiveInstance: Bind; /** * Current value of the metergroup. * @group Props */ value: _angular_core.InputSignal; /** * Mininum boundary value. * @group Props */ min: _angular_core.InputSignal; /** * Maximum boundary value. * @group Props */ max: _angular_core.InputSignal; /** * Specifies the layout of the component, valid values are 'horizontal' and 'vertical'. * @group Props */ orientation: _angular_core.InputSignal; /** * Specifies the label position of the component, valid values are 'start' and 'end'. * @group Props */ labelPosition: _angular_core.InputSignal; /** * Specifies the label orientation of the component, valid values are 'horizontal' and 'vertical'. * @group Props */ labelOrientation: _angular_core.InputSignal; /** * Custom label template. * @param {MeterGroupLabelTemplateContext} context - label context. * @see {@link MeterGroupLabelTemplateContext} * @group Templates */ labelTemplate: _angular_core.Signal | undefined>; /** * Custom meter template. * @param {MeterGroupMeterTemplateContext} context - meter context. * @see {@link MeterGroupMeterTemplateContext} * @group Templates */ meterTemplate: _angular_core.Signal | undefined>; /** * Custom end template. * @param {MeterGroupLabelTemplateContext} context - end context. * @see {@link MeterGroupLabelTemplateContext} * @group Templates */ endTemplate: _angular_core.Signal | undefined>; /** * Custom start template. * @param {MeterGroupLabelTemplateContext} context - start context. * @see {@link MeterGroupLabelTemplateContext} * @group Templates */ startTemplate: _angular_core.Signal | undefined>; /** * Custom icon template. * @param {MeterGroupIconTemplateContext} context - icon context. * @see {@link MeterGroupIconTemplateContext} * @group Templates */ iconTemplate: _angular_core.Signal | undefined>; _componentStyle: MeterGroupStyle; vertical: _angular_core.Signal; totalPercent: _angular_core.Signal; percentages: _angular_core.Signal; labelTemplateContext: _angular_core.Signal; meterItems: _angular_core.Signal; isLabelStart: _angular_core.Signal; isLabelEnd: _angular_core.Signal; showDefaultLabel: _angular_core.Signal; dataP: _angular_core.Signal; constructor(); onAfterViewChecked(): void; percent(meter?: number): number; percentValue(meter?: number): string; meterStyle(val: MeterItem): { backgroundColor: string | undefined; width: string | undefined; height: string | undefined; }; showDefaultMeter(meterItem: MeterItem): boolean; getMeterTemplateContext(meterItem: MeterItem, index: number): { $implicit: MeterItem; index: number; orientation: MeterGroupOrientation; class: string | undefined; size: string; totalPercent: number; dataP: string; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class MeterGroupModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { MeterGroup, MeterGroupClasses, MeterGroupLabel, MeterGroupModule, MeterGroupStyle };