/**
 * @param {Rule} query
 * @param {Node} node
 * @param {number|null} index
 * @param {Parent|null} parent
 * @param {SelectState} state
 * @returns {boolean}
 */
export function test(
  query: Rule,
  node: Node,
  index: number | null,
  parent: Parent | null,
  state: SelectState
): boolean
export type Rule = import('./types.js').Rule
export type Node = import('./types.js').Node
export type Parent = import('./types.js').Parent
export type SelectState = import('./types.js').SelectState
