export function buildRuntimeObservation(input) {
    const message = typeof input.lines === "string"
        ? input.lines
        : input.lines
            .filter((line) => line !== false && line !== null && line !== undefined)
            .join("\n");
    return {
        code: input.code,
        severity: input.severity,
        message,
    };
}
//# sourceMappingURL=runtime-observation-builder.js.map