"use strict";
/**
 * Copyright: (c) Myia SAS 2026.
 * This file and its contents are licensed under the AGPLv3 License.
 * Please see the LICENSE file at the root of this repository
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildMetaEvent = buildMetaEvent;
function buildMetaEvent(state) {
    const event = {
        ...state.staticContext,
        ...(state.dynamicContext ?? {}),
        type: 'meta',
        seq: ++state.seq,
        t: 0,
        wallTime: state.clock.wallNow(),
    };
    state.exporter.write(event);
}
