import type { ReactTestInstance } from 'react-test-renderer'; import type { WaitForOptions } from '../waitFor'; export type GetByQuery = (predicate: Predicate, options?: Options) => ReactTestInstance; export type GetAllByQuery = (predicate: Predicate, options?: Options) => ReactTestInstance[]; export type QueryByQuery = (predicate: Predicate, options?: Options) => ReactTestInstance | null; export type QueryAllByQuery = (predicate: Predicate, options?: Options) => ReactTestInstance[]; export type FindByQuery = (predicate: Predicate, options?: Options & WaitForOptions, waitForOptions?: WaitForOptions) => Promise; export type FindAllByQuery = (predicate: Predicate, options?: Options & WaitForOptions, waitForOptions?: WaitForOptions) => Promise; type UnboundQuery = (instance: ReactTestInstance) => Query; export type UnboundQueries = { getBy: UnboundQuery>; getAllBy: UnboundQuery>; queryBy: UnboundQuery>; queryAllBy: UnboundQuery>; findBy: UnboundQuery>; findAllBy: UnboundQuery>; }; export declare function makeQueries(queryAllByQuery: UnboundQuery>, getMissingError: (predicate: Predicate, options?: Options) => string, getMultipleError: (predicate: Predicate, options?: Options) => string): UnboundQueries; export {};