import { RemoveListenerCallback } from '../types'; export declare const isDev: boolean; export type Events = { toArray: () => F[]; length: number; push: (fn: F) => RemoveListenerCallback; call: (...arg: any) => void; }; export declare function createEvents(): Events; export declare const readOnly: (obj: T) => T; export declare function warning(cond: boolean, message: string): void;