import { InputAreaUniDriver } from '@wix/design-system/dist/testkit/unidriver';
import { baseUniDriverFactory } from '../../../../unidriver';
export function TextEditUniDriver(base, body) {
    const inputArea = InputAreaUniDriver(base, body);
    return {
        ...baseUniDriverFactory(base),
        getValue: () => inputArea.getValue(),
        typeValue: (value) => inputArea.enterText(value),
        keyDown: (key, opts) => inputArea.trigger('keyDown', { key, ...opts }),
        blur: () => inputArea.trigger('blur', {}),
        focus: () => inputArea.focus(),
    };
}
//# sourceMappingURL=Edit.uni.driver.js.map