import * as _angular_core from '@angular/core'; import { Provider } from '@angular/core'; import { BaseEditableHolder } from 'primeng/baseeditableholder'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { VoidListener } from 'primeng/ts-helpers'; import { KnobPassThrough } from 'primeng/types/knob'; import { BaseStyle } from 'primeng/base'; import * as i2 from 'primeng/api'; declare class KnobStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-disabled': any; })[]; range: string; value: string; text: string; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * * Knob is a form component to define number inputs with a dial. * * [Live Demo](https://www.primeng.org/knob/) * * @module knobstyle * */ declare enum KnobClasses { /** * Class name of the root element */ root = "p-knob", /** * Class name of the range element */ range = "p-knob-range", /** * Class name of the value element */ value = "p-knob-value", /** * Class name of the text element */ text = "p-knob-text" } declare const KNOB_VALUE_ACCESSOR: Provider; /** * Knob is a form component to define number inputs with a dial. * @group Components */ declare class Knob extends BaseEditableHolder { componentName: string; $pcKnob: Knob | undefined; bindDirectiveInstance: Bind; /** * Defines a string that labels the input for accessibility. * @group Props */ ariaLabel: _angular_core.InputSignal; /** * Specifies one or more IDs in the DOM that labels the input field. * @group Props */ ariaLabelledBy: _angular_core.InputSignal; /** * Index of the element in tabbing order. * @group Props */ tabindex: _angular_core.InputSignalWithTransform; /** * Background of the value. * @group Props */ valueColor: _angular_core.InputSignal; /** * Background color of the range. * @group Props */ rangeColor: _angular_core.InputSignal; /** * Color of the value text. * @group Props */ textColor: _angular_core.InputSignal; /** * Template string of the value. * @group Props */ valueTemplate: _angular_core.InputSignal; /** * Size of the component in pixels. * @group Props */ size: _angular_core.InputSignalWithTransform; /** * Mininum boundary value. * @group Props */ min: _angular_core.InputSignalWithTransform; /** * Maximum boundary value. * @group Props */ max: _angular_core.InputSignalWithTransform; /** * Step factor to increment/decrement the value. * @group Props */ step: _angular_core.InputSignalWithTransform; /** * Width of the knob stroke. * @group Props */ strokeWidth: _angular_core.InputSignalWithTransform; /** * Whether the show the value inside the knob. * @group Props */ showValue: _angular_core.InputSignalWithTransform; /** * When present, it specifies that the component value cannot be edited. * @group Props */ readonly: _angular_core.InputSignalWithTransform; /** * Callback to invoke on value change. * @param {number} value - New value. * @group Emits */ onChange: _angular_core.OutputEmitterRef; radius: number; midX: number; midY: number; minRadians: number; maxRadians: number; value: _angular_core.WritableSignal; windowMouseMoveListener: VoidListener; windowMouseUpListener: VoidListener; windowTouchMoveListener: VoidListener; windowTouchEndListener: VoidListener; _componentStyle: KnobStyle; attrTabindex: _angular_core.Signal; attrRequired: _angular_core.Signal<"" | undefined>; svgSize: _angular_core.Signal; _value: _angular_core.Signal; onAfterViewChecked(): void; mapRange(x: number, inMin: number, inMax: number, outMin: number, outMax: number): number; onClick(event: MouseEvent): void; updateValue(offsetX: number, offsetY: number): void; updateModel(angle: number, start: number): void; onMouseDown(event: MouseEvent): void; onMouseUp(event: MouseEvent): void; onTouchStart(event: TouchEvent): void; onTouchEnd(event: TouchEvent): void; onMouseMove(event: MouseEvent): void; onTouchMove(event: Event): void; updateModelValue(newValue: number): void; onKeyDown(event: KeyboardEvent): void; rangePath(): string; valuePath(): string; zeroRadians(): number; valueRadians(): number; minX(): number; minY(): number; maxX(): number; maxY(): number; zeroX(): number; zeroY(): number; valueX(): number; valueY(): number; largeArc(): 0 | 1; sweep(): 0 | 1; valueToDisplay(): string; /** * @override * * @see {@link BaseEditableHolder.writeControlValue} * Writes the value to the control. */ writeControlValue(value: any, setModelValue: (value: any) => void): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class KnobModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { KNOB_VALUE_ACCESSOR, Knob, KnobClasses, KnobModule, KnobStyle };