import type { Node } from "../pm/model.js"; type DescendantWithMeta = { node: Node; pos: number; parent: Node | null; index: number; }; export declare function getDescedantBy(node: Node, f: (child: DescendantWithMeta) => boolean): DescendantWithMeta | null; export declare function getDescedantByAttribute(node: Node, attr: string, value: unknown | unknown[]): DescendantWithMeta | null; export {};