import type { IManagedResourceNode } from "./manged-resources.js";
/**
 * @public
 * Provides a mechanism for reference counted objects to link to each other, respecting their lifecycles.
 */
export interface IManagedResourceLinks {
    isLinkedTo(ref: IManagedResourceNode): boolean;
    /**
     * Link this node to `ref`, i.e. this node owns `ref`.
     */
    link(ref: IManagedResourceNode): IManagedResourceLinks;
    unlink(ref: IManagedResourceNode): IManagedResourceLinks;
    unlinkAll(): void;
    getLinkedNodes(): readonly IManagedResourceNode[];
}
//# sourceMappingURL=managed-resource-links.d.ts.map