import { AnyFunction, FunctionArguments } from "./types"; export declare function runIfFn(valueOrFn: T | ((...fnArgs: U[]) => T), ...args: U[]): T; export declare function callAllHandlers void>(...fns: (T | undefined)[]): (event: FunctionArguments[0]) => void; export declare function callAll(...fns: (T | undefined)[]): (arg: FunctionArguments[0]) => void; export declare function once(fn?: Function | null): (this: any, ...args: any[]) => any; export declare const noop: () => void; export declare const warn: (this: any, ...args: any[]) => any; export declare const error: (this: any, ...args: any[]) => any;