import * as React from 'react'; export declare function arrayIncludes(array: T[] | readonly T[], itemOrItems: T | T[]): boolean; export declare const onSpaceOrEnter: (innerFn: () => void, onFocus?: ((event: React.KeyboardEvent) => void) | undefined) => (event: React.KeyboardEvent) => void; export declare const pipe: (...fns: ((...args: any[]) => any)[]) => (...args: any[]) => any; export declare const executeInTheNextEventLoopTick: (fn: () => void) => void; export declare function createDelegatedEventHandler(fn: (event: TEvent) => void, onEvent?: (event: TEvent) => void): (event: TEvent) => void; export declare const doNothing: () => void;