import type { IMatrixContext } from './IMatrixContext';
import type { TransportHandler } from '../remoting/ITransportAdapter';
/**
 * Convenience helpers for lifecycle topics (available/removed).
 */
export declare class Lifecycle {
    /** Subscribe once to lifecycle.available for a given mount via $events. */
    static onFirstAvailable(context: IMatrixContext, mount: string, handler: TransportHandler): () => void;
    /** Subscribe to lifecycle.removed for a given mount via $events. */
    static onRemoved(context: IMatrixContext, mount: string, handler: TransportHandler): () => void;
}
//# sourceMappingURL=Lifecycle.d.ts.map