import { Attribute as Attrib, PredicateExists, SugarNode } from '@ephox/sugar';
export var AttributeValue;
(function (AttributeValue) {
    AttributeValue["TopToBottom"] = "toptobottom";
    AttributeValue["BottomToTop"] = "bottomtotop";
})(AttributeValue || (AttributeValue = {}));
export const Attribute = 'data-alloy-vertical-dir';
const isBottomToTopDir = (el) => PredicateExists.closest(el, (current) => SugarNode.isElement(current) && Attrib.get(current, 'data-alloy-vertical-dir') === AttributeValue.BottomToTop);
export { isBottomToTopDir };
//# sourceMappingURL=VerticalDir.js.map