import type { SYMBOL_SUSPENSE } from '../symbols.js'; import type { IContext, IObserver, IOwner, IRoot, ISuperRoot, ISuspense, CleanupFunction, ErrorFunction, WrappedFunction, Callable, Contexts, LazyArray, LazySet, LazyValue } from '../types.js'; import { Stack } from '../methods/debugger.js'; declare class Owner { parent?: IOwner; context?: Contexts; disposed: boolean; cleanups: LazyArray>; errorHandler: LazyValue; contexts: LazyArray; observers: LazyArray; roots: LazySet IRoot[])>; suspenses: LazyArray; catch(error: Error, silent: boolean): boolean; dispose(deep: boolean): void; get(symbol: typeof SYMBOL_SUSPENSE): ISuspense | undefined; get(symbol: symbol): any; wrap(fn: WrappedFunction, owner: IContext | IObserver | IRoot | ISuperRoot | ISuspense, observer: IObserver | undefined, stack?: Stack): T; } export default Owner;