export type EventType = keyof typeof eventTypes; export type EventId = string; export declare const eventTypes: { readonly click: "click"; readonly outSideClick: "outSideClick"; readonly change: "change"; readonly error: "error"; readonly cancelled: "cancelled"; readonly blur: "blur"; readonly focus: "focus"; readonly focusMovedToNonListElement: "focusMovedToNonListElement"; readonly close: "close"; readonly success: "success"; }; /** * Factory function to create event checkers with component-specific event IDs */ export declare function createEventCheckers>(eventIds: TEventIds): { isOutsideClickEvent: (eventId: string, eventType?: EventType) => boolean; isCloseEvent: (eventId: string, eventType?: EventType) => boolean; isCloseOnFocusMoveEvent: (eventId: string, eventType?: EventType) => boolean; isGenericBlurEvent: (eventId: string, eventType?: EventType) => boolean; isSearchChangeEvent: (eventId: string, eventType?: EventType) => boolean; isSearchSuccessEvent: (eventId: string, eventType?: EventType) => boolean; isSearchErrorEvent: (eventId: string, eventType?: EventType) => boolean; isOptionClickEvent: (eventId: string, eventType?: EventType) => boolean; isGroupClickEvent: (eventId: string, eventType?: EventType) => boolean; isClick: (eventType?: EventType) => eventType is "click"; isChange: (eventType?: EventType) => eventType is "change"; isError: (eventType?: EventType) => eventType is "error"; isBlur: (eventType?: EventType) => eventType is "blur"; isGenericEvent: (eventId?: string) => boolean; }; export declare const baseEventIds: { readonly listItem: "listItem"; readonly listGroup: "listGroup"; readonly generic: "generic"; readonly search: "search"; readonly searchResult: "searchResult"; readonly assistive: "assistive"; readonly error: "error"; };