import type { TestInstance } from 'test-renderer'; import type { EventProps, EventType, LayoutRectangle } from './types'; declare function fireEvent(instance: TestInstance, eventType: EventType, ...data: unknown[]): Promise; declare namespace fireEvent { var changeText: (instance: TestInstance, text: string) => Promise; var press: (instance: TestInstance, eventProps?: EventProps) => Promise; var scroll: (instance: TestInstance, eventProps?: EventProps) => Promise; var layout: (instance: TestInstance, layout?: Partial) => Promise; } export { fireEvent };