type CleanupFn = () => void; type LifecycleHandler = () => CleanupFn | undefined; /** * Subscribe to the DOMReady event. * Called via microtask after the component renders. * The handler can optionally return a cleanup function. */ export declare const onDOMReady: (handler: LifecycleHandler) => CleanupFn; /** * Subscribe to the Paint event. * Called via double RAF after the component renders (after browser paint). * The handler can optionally return a cleanup function. */ export declare const onPaint: (handler: LifecycleHandler) => CleanupFn; export {}; //# sourceMappingURL=on.d.ts.map