export declare function createCustomEvent(name: string, options?: CustomEventInit): CustomEvent; export declare function eventWasDefaultPrevented(event: Event): Promise; export declare function stopEvent(event: any): void; export declare function onKeys(events: string[], event: KeyboardEvent, fn: () => any): void; export declare const getElementUpdates: (element: HTMLElement, propertyKey: string, fn: (value: any) => void) => MutationObserver; export declare function listenForAttributeChange(element: HTMLElement, attrName: string, fn: (attrValue: string | null) => void): MutationObserver; export declare function listenForAttributeListChange(element: HTMLElement, attrNames: string[], fn: (mutation: MutationRecord) => void): MutationObserver; export type TouchedElement = HTMLElement & { __bpTouched?: boolean; }; export declare function onFirstInteraction(element: HTMLElement): Promise;