import { KeyDefinitionType } from '@wix/unidriver-core'; export type AngleInputProps = { /** Callback function called on value change. */ onChange: (angle: number) => void; /** Defines a callback function which is called when onpointerdown is triggered. */ onPointerDown?: () => void; /** Defines a callback function which is called when onpointerup is triggered. */ onPointerUp?: () => void; /** Optional callback for focus event. */ onFocus?: () => void; /** Optional callback for blur event. */ onBlur?: () => void; /** Applies a data-hook HTML attribute that can be used in the tests. */ dataHook?: string; /** The current value of the angle. */ value: number; /** Indicates if the slider is disabled. * @default false */ disabled?: boolean; /** Defines step increments for angle adjustment. * @default 1 */ step?: number; }; export type UseAngleInputProps = { /** Callback function called on value change. */ onChange: (angle: number) => void; /** Defines a callback function which is called when onpointerdown is triggered. */ onPointerDown?: () => void; /** Defines a callback function which is called when onpointerup is triggered. */ onPointerUp?: () => void; /** Defines step increments for angle adjustment. */ step: number; /** Optional callback for focus event. */ onFocus?: () => void; /** Optional callback for blur event. */ onBlur?: () => void; }; export type UseAngleInputReturnValue = { rootRef: React.RefObject; handlePointerDown: (event: React.PointerEvent) => void; handlePointerUp: (event: React.PointerEvent) => void; handlePointerMove: (event: React.PointerEvent) => void; handleInputChange: (event: React.ChangeEvent) => void; handleKeyboardEvent: (event: React.KeyboardEvent) => void; handleFocus: () => void; handleBlur: () => void; }; export type AngleInputNavigationKeys = Extract; //# sourceMappingURL=AngleInput.types.d.ts.map