import { SignalConnection } from "./SignalConnection"; /** * Represents a list of connections to a signal for easy disconnect. */ export declare class SignalConnections { private list; /** * Add a connection to the list. * @param connection */ add(connection: SignalConnection): void; /** * Disconnect all connections in the list and empty the list. */ disconnectAll(): void; /** * @returns The number of connections in this list. */ getCount(): number; /** * @returns true if this list is empty. */ isEmpty(): boolean; }