import { TRN_TECHNITY_PARENT } from "./constants";
import { TRN } from "./message";
import { TRN_NAMESPACE_SERVICE } from "./namespace";
export let defaultServiceTrn;
export const initializeDefaultServiceTrn = (service, id) => {
    defaultServiceTrn = initializeServiceTrn(service, id);
};
export const initializeDefaultServiceTrnProcessId = (service) => {
    defaultServiceTrn = initializeServiceTrnProcessId(service);
};
export const initializeServiceTrn = (service, id) => {
    return TRN.NewTRN(TRN_TECHNITY_PARENT, TRN_NAMESPACE_SERVICE, service, id);
};
export const initializeServiceTrnProcessId = (service) => {
    return initializeServiceTrn(service, process.pid.toString());
};
//# sourceMappingURL=env.js.map