export declare function tryOnScopeDispose(callback: () => void): boolean;