/** Separator used in compound replication link identifiers. */
export const LINK_ID_SEPARATOR = '^';
/**
 * Build the runtime identifier for a replication link.
 *
 * Runtime identity is `(tenantDid, remoteEndpoint, projectionId, authorizationEpoch)`.
 */
export function buildLinkId(tenantDid, remoteEndpoint, projectionId, authorizationEpoch) {
    return `${tenantDid}${LINK_ID_SEPARATOR}${remoteEndpoint}${LINK_ID_SEPARATOR}${projectionId}${LINK_ID_SEPARATOR}${authorizationEpoch}`;
}
//# sourceMappingURL=sync-link-id.js.map