import type { Universe } from '@ephox/boss'; import { Optional } from '@ephox/katamari'; interface SubsetAncestors { readonly firstpath: E[]; readonly secondpath: E[]; readonly shared: Optional; } declare const ancestors: (universe: Universe, start: E, end: E, isRoot?: (x: E) => boolean) => SubsetAncestors; /** * Find the common element in the parents of start and end. * * Then return all children of the common element such that start and end are included. */ declare const subset: (universe: Universe, start: E, end: E) => Optional; export { subset, ancestors }; //# sourceMappingURL=Subset.d.ts.map