import type { ReactTestInstance } from 'react-test-renderer'; import type { PressOptions } from './press'; import type { ScrollToOptions } from './scroll'; import { setup } from './setup'; import type { TypeOptions } from './type'; export { UserEventConfig } from './setup'; export declare const userEvent: { setup: typeof setup; press: (element: ReactTestInstance) => Promise; longPress: (element: ReactTestInstance, options?: PressOptions) => Promise; type: (element: ReactTestInstance, text: string, options?: TypeOptions) => Promise; clear: (element: ReactTestInstance) => Promise; paste: (element: ReactTestInstance, text: string) => Promise; scrollTo: (element: ReactTestInstance, options: ScrollToOptions) => Promise; };