export declare const ready: () => void; export declare const close: () => void; export declare function useLifecycle(): { ready: () => void; close: () => void; };