/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Diagnostic, ObservableValue } from "#general";
/**
 * Tracks activity associated with a node.
 */
export declare class NodeActivity {
    #private;
    [Diagnostic.value]: Diagnostic;
    get inactive(): ObservableValue<[any, ...any[]], void>;
    get actors(): NodeActivity.Activity[];
    begin(description: unknown, onClose?: () => void): NodeActivity.Activity;
}
export declare namespace NodeActivity {
    interface Activity extends Disposable {
        readonly stack: unknown[];
        readonly elapsed: Diagnostic.Elapsed;
        frame(description: unknown): Disposable;
        close(): void;
    }
    const activityKey: unique symbol;
    interface WithActivity {
        [activityKey]?: NodeActivity.Activity;
    }
}
//# sourceMappingURL=NodeActivity.d.ts.map