import type { TestInstance } from 'test-renderer';
import type { TextMatch, TextMatchOptions } from '../../matches';
/**
 * Matches the given instance's text content against string or regex matcher.
 *
 * @param instance - Instance which text content will be matched
 * @param text - The string or regex to match.
 * @returns - Whether the instance's text content matches the given string or regex.
 */
export declare function matchTextContent(instance: TestInstance, text: TextMatch, options?: TextMatchOptions): boolean;
