export type Attributes = { [key: string]: any; }; /** * Patched version of requestAnimationFrame that avoids ngzone * Use only when you know ngzone should not run */ export declare const raf: (h: FrameRequestCallback) => number; /** * Waits for a component to be ready for * both custom element and non-custom element builds. * If non-custom element build, el.componentOnReady * will be used. * For custom element builds, we wait a frame * so that the inner contents of the component * have a chance to render. * * Use this utility rather than calling * el.componentOnReady yourself. */ export declare const componentOnReady: (el: any, callback: any) => void; export declare const addEventListener: (el: any, eventName: string, callback: any, opts?: any) => any; export declare const removeEventListener: (el: any, eventName: string, callback: any, opts?: any) => any;