export declare function createEventHandler(handler: (event: UIEvent) => void): (e: UIEvent) => void;