interface Options { tag?: string; } /** Returns the first node or element with `textContent` matching `expectedText`. */ declare const findNodeWithText: (expectedText: string, parent: Node, options?: Options) => Node | null; export default findNodeWithText;