/**
 * @param {string} selector
 * @param {Node} [node]
 * @returns {boolean}
 */
export function matches(
  selector: string,
  node?: import('unist').Node<import('unist').Data> | undefined
): boolean
/**
 * @param {string} selector
 * @param {Node} [node]
 * @returns {Node|null}
 */
export function select(
  selector: string,
  node?: import('unist').Node<import('unist').Data> | undefined
): Node | null
/**
 * @param {string} selector
 * @param {Node} [node]
 * @returns {Array.<Node>}
 */
export function selectAll(
  selector: string,
  node?: import('unist').Node<import('unist').Data> | undefined
): Array<Node>
export type Node = import('unist').Node
