import { type Cleanup } from "../../reactivity/src/index.js"; export interface Owner { initCallbacks: Array<() => void>; cleanupCallbacks: Cleanup[]; mounted: boolean; } export declare function createOwner(): Owner; export declare function withOwner(owner: Owner, fn: () => T): T; export declare function getCurrentOwner(): Owner | null; export declare function init(fn: () => void): void; export declare function cleanup(fn: Cleanup): void; export declare function mountOwner(owner: Owner): void; export declare function disposeOwner(owner: Owner): void; //# sourceMappingURL=owner.d.ts.map