import { type HubSpotReactComponent, type UnknownComponentProps } from '../shared/types/shared.ts';
import type { ElementMatcher, RenderedElementNode, RenderedNode } from './types.ts';
/**
 * Checks if the node matches the component and matcher.
 *
 * @param node The node to check.
 * @param component The component to check.
 * @param matcher An optional matcher to filter the elements.
 * @returns Whether the node matches the component and matcher.
 */
export declare const isMatch: <TComponentProps extends UnknownComponentProps>(node: RenderedNode | null | undefined, component: HubSpotReactComponent<TComponentProps>, matcher?: ElementMatcher<TComponentProps>) => node is RenderedElementNode<TComponentProps>;
