import type { Universe } from '@ephox/boss'; import { Optional } from '@ephox/katamari'; /** * Creates a look function that searches the current element and parent elements until * the predicate returns true * * f: item -> boolean */ declare const predicate: (f: (e: E) => boolean) => (universe: Universe, item: E) => Optional; /** * Creates a look function that searches the current element and parent elements until * the selector is matched * * sel: selector */ declare const selector: (sel: string) => (universe: Universe, item: E) => Optional; export { predicate, selector }; //# sourceMappingURL=Look.d.ts.map