"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatSessionId = formatSessionId;
const dayjs_1 = __importDefault(require("../../lib/dayjs"));
function formatSessionId(session_id) {
    if (typeof session_id === 'string' && /^\d+$/.test(session_id)) {
        return Number(session_id);
    }
    return dayjs_1.default.utc(session_id).valueOf();
}
//# sourceMappingURL=convert-timestamp.js.map