import { FunctionArguments } from './types'; export declare const noop: () => void; export declare function createChainedFunction(...funcs: T[]): T; export declare function callAllEventHandlers(...fns: ((...args: any[]) => any | undefined)[]): (...args: any[]) => boolean; export declare function callAllHandlers void>(...fns: (T | undefined)[]): (event: FunctionArguments[0]) => void; export declare const wrapEvent: (externalHandler?: ((event: any) => void) | undefined, internalHandler?: ((event: any) => void) | undefined) => (event: any) => void; export declare function runIfFn(valueOrFn: T | ((...arg: U[]) => T), ...args: U[]): T;