import type { ReactTestInstance } from 'react-test-renderer'; import { AccessibilityStateMatcher } from '../helpers/matchers/accessibilityState'; import { AccessibilityValueMatcher } from '../helpers/matchers/accessibilityValue'; import type { TextMatch } from '../matches'; import type { FindAllByQuery, FindByQuery, GetAllByQuery, GetByQuery, QueryAllByQuery, QueryByQuery } from './makeQueries'; import { CommonQueryOptions } from './options'; type ByRoleOptions = CommonQueryOptions & AccessibilityStateMatcher & { name?: TextMatch; value?: AccessibilityValueMatcher; }; export type ByRoleQueries = { getByRole: GetByQuery; getAllByRole: GetAllByQuery; queryByRole: QueryByQuery; queryAllByRole: QueryAllByQuery; findByRole: FindByQuery; findAllByRole: FindAllByQuery; }; export declare const bindByRoleQueries: (instance: ReactTestInstance) => ByRoleQueries; export {};