import type { TestInstance } from 'test-renderer'; type UnhandledEventInfo = { skippedTargets: TestInstance[]; hasUpdatedNativeState: boolean; }; export type EventWarning = { message: string; elements: TestInstance[]; /** Elements whose `pointerEvents` blocked the event. */ pointerEventsBlockers?: TestInstance[]; }; /** * Warns when no handler ran because the target is disabled or nothing handles the event. */ export declare function warnAboutUnhandledEvent(instance: TestInstance, eventType: string, info: UnhandledEventInfo): void; /** * Warns when `fireEvent` bubbles a direct event from the fired element up to `owner`. React Native * delivers direct events only to the emitting element, so the event should be fired on `owner`. */ export declare function warnAboutBubblingDirectEvent(eventType: string, owner: TestInstance): void; export declare function logEventWarning({ message, elements, pointerEventsBlockers }: EventWarning): void; /** * Returns the targets that `pointerEvents` blocks along with their blockers, or `null` if it * blocks none of them. * * @param targets Skipped elements, nearest first. */ export declare function getPointerEventsBlockedTargets(targets: TestInstance[]): Pick | null; /** * Describes the elements that `computeAriaDisabled` treats as disabled, e.g. "a disabled element". * Non-editable `TextInput`s are called non-editable, which is what users set (`editable={false}`). */ export declare function formatDisabledTargets(targets: TestInstance[]): string; export {};