import { Assertions, Chain, Step } from '@ephox/agar';
import { Representing } from 'ephox/alloy/api/behaviour/Representing';
const cGetValue = Chain.mapper((component) => Representing.getValue(component));
const cSetValue = (value) => Chain.op((component) => {
    Representing.setValue(component, value);
});
const sSetValue = (component, value) => Step.sync(() => {
    Representing.setValue(component, value);
});
const sAssertValue = (label, expected, component) => Chain.asStep(component, [
    cGetValue,
    Assertions.cAssertEq(label, expected)
]);
export { cGetValue, cSetValue, sAssertValue, sSetValue };
//# sourceMappingURL=RepresentPipes.js.map