/** Instance ownership. Creation itself starts no external work. */ export type Cleanup = () => void; export type CleanupErrorReporter = (error: unknown) => void; export interface OwnerScope { readonly disposed: boolean; own(cleanup: Cleanup): Cleanup; dispose(): void; } export declare const createOwnerScope: () => OwnerScope;