import { UniDriver } from '@wix/unidriver-core'; import { SyntheticEventData } from 'react-dom/test-utils'; import { InputSize } from './Input.types'; import { StatusIndications } from '../common'; import { KeyboardKey } from '@wix/unidriver-core'; type EventType = 'focus' | 'blur' | 'keyUp' | 'keyDown' | 'paste' | 'copy' | 'change' | 'wheel'; type ChangeEvent = { target: { value: string; }; }; type Trigger = { (eventType: 'keyDown', event: SyntheticEventData): Promise; (eventType: 'change', event: ChangeEvent): Promise; (eventType: Exclude): Promise; }; export declare const testkit: (base: UniDriver, body: UniDriver) => { click: () => Promise; getInputAttribute: (name: string) => Promise; getInputElementClasses: () => Promise; suffixComponentExists: (className: string) => Promise; getRootElementClasses: () => Promise; getAriaDescribedby: () => Promise; getAriaLabel: () => Promise; getName: () => Promise; getMaxLength: () => Promise; getType: () => Promise; getAriaControls: () => Promise; clickIconAffix: () => Promise; clickCustomAffix: () => Promise; getCustomAffixText: () => Promise; hasSuffix: () => Promise; getClearButtonTooltipContent: () => Promise; prefixComponentExists: (style: string) => Promise; hasPrefix: () => Promise; hasClearButton: () => Promise; clickClear: () => Promise; getValue: () => Promise; getText: () => Promise; getPattern: () => Promise; getPlaceholder: () => Promise; isOfSize: (size: InputSize) => Promise; getSize: () => Promise; isDisabled: () => Promise; isHoveredStyle: () => Promise; isFocusedStyle: () => Promise; getRequired: () => Promise; enterText: (value: string) => Promise; getAutocomplete: () => Promise; getDefaultValue: () => Promise; getTabIndex: () => Promise; isCustomInput: () => Promise; getReadOnly: () => Promise; getDisabled: () => Promise; getTextOverflow: () => Promise; focus: () => Promise; blur: () => Promise; keyUp: () => Promise; keyDown: (eventData: SyntheticEventData) => Promise; pressKey: (key: KeyboardKey) => Promise; paste: () => Promise; copy: () => Promise; wheel: () => Promise; trigger: Trigger; isFocus: () => Promise; clickMenuArrow: () => Promise; hasMenuArrow: () => Promise; isRTL: () => Promise; getCursorLocation: () => Promise; clearText: () => Promise; clickOutside: () => Promise; isMasked: () => Promise; isSelected: () => Promise; /** Return true if there's a status */ hasStatus: (status: StatusIndications) => Promise; /** If there's a status message, returns its text value */ getStatusMessage: () => Promise; exists: () => Promise; element: () => Promise; base: UniDriver; }; export type InputUniDriver = ReturnType; export {}; //# sourceMappingURL=Input.uni.driver.d.ts.map