import type { ResourceId } from "../Common";
import type { Connection } from ".";
export interface IConnectionId {
    readonly from: ResourceId;
    readonly to: ResourceId;
}
export declare class ConnectionId implements IConnectionId {
    readonly from: ResourceId;
    readonly to: ResourceId;
    constructor(connectionId: IConnectionId);
    constructor(from: ResourceId, to: ResourceId);
    equal(other: ConnectionId): boolean;
    static fromConnection(connection: Connection): ConnectionId;
}
