import type { Universe } from '@ephox/boss'; import type { Optional } from '@ephox/katamari'; import { advance, backtrack, sidestep } from '../../gather/Walker'; import type { Direction, Successor, Transition, Traverse } from '../data/Types'; type BeforeApi = (universe: Universe, item: E, isRoot: (e: E) => boolean) => Optional; declare const before: BeforeApi; type AfterApi = (universe: Universe, item: E, isRoot: (e: E) => boolean) => Optional; declare const after: AfterApi; type SeekLeftApi = (universe: Universe, item: E, predicate: (e: E) => boolean, isRoot: (e: E) => boolean) => Optional; declare const seekLeft: SeekLeftApi; type SeekRightApi = (universe: Universe, item: E, predicate: (e: E) => boolean, isRoot: (e: E) => boolean) => Optional; declare const seekRight: SeekRightApi; type WalkersApi = () => { left: () => Direction; right: () => Direction; }; declare const walkers: WalkersApi; type WalkApi = (universe: Universe, item: E, mode: Transition, direction: Direction, rules?: Successor[]) => Optional>; declare const walk: WalkApi; export { before, after, seekLeft, seekRight, walkers, walk, backtrack, sidestep, advance }; //# sourceMappingURL=Gather.d.ts.map