import { type Element, type Node } from "domhandler";
export declare const findOne: (test: (el: Element) => boolean, maybeNode: Node | Node[], recurse?: boolean) => Element | null;
/**
 * Get a node's trimmed inner text.
 * domutils's stringify module is too heavy.
 *
 * @param node Node to get the inner text of.
 * @returns `node`'s trimmed inner text.
 */
export declare const getText: (node?: Node | Node[] | null) => string;
export declare const queryOne: (node: Node | Node[], className: string, tagName?: string) => Element | null;
