import SynergyElement from '../../internal/synergy-element.js'; /** * An actual element can be any HTMLElement (including SynergyElement subclasses) or undefined if no element is provided. */ type ActualElement = HTMLElement | undefined; /** * Check if the provided event name is a blur event * @param eventName The event name to check */ export declare const isBlurEvent: (eventName: string) => boolean; /** * Check if the provided event name is a change event * @param eventName The event name to check */ export declare const isChangeEvent: (eventName: string) => boolean; /** * Check if the provided event is an invalid event * @param eventName The event name to check */ export declare const isInvalidEvent: (eventName: string) => boolean; /** * Check if the provided element is a synergy element * @param element The element to check for * @returns True if the element is a synergy element, false otherwise */ export declare const isSynergyElement: (element?: HTMLElement) => element is SynergyElement; /** * Get a list of event names from the provided attribute string * @param events The events string * @returns an array of events */ export declare const normalizeEventAttribute: (events?: string) => string[]; /** * Get the event name for the provided element * @param element The element to get the event name for * @param eventName The event name to get */ export declare const getEventNameForElement: (element: HTMLElement, eventName: string) => string; /** * Check the size that the alert should use based on the provided element * @param element The html element to check for * @returns The size that the alert should use */ export declare const alertSizeForInput: (element?: HTMLElement) => "small" | "medium" | "large" | undefined; /** * Retrieve the actual input element from the provided element, if it exists. * @param element The element to get the actual input for * @returns The html input element */ export declare const getActualInputElement: (element: ActualElement) => ActualElement; export {};