import type { EventHandler } from './types'; export type EventHandlerOptions = { /** Include check for event handler named without adding `on*` prefix. */ loose?: boolean; }; export declare function getEventHandlerFromProps(props: Record, eventType: string, options?: EventHandlerOptions): EventHandler | undefined; /** * Returns the event type without the `on*` prefix, e.g. `onLayout` -> `layout`. * Note: `fireEvent` accepts event types with and without the prefix, so use this * before comparing event types. */ export declare function normalizeEventType(eventType: string): string; export declare function getEventHandlerName(eventType: string): string;