/**
 * NXL module entry point.
 * Wire format encoding for compact MCP responses (~70% token reduction).
 */
export { encodeNxl, decodeNxl, decodeFlatLine, isNxl } from './codec.js';
import { encodeNxl } from './codec.js';
/** Wrap encoded NXL in an MCP-compatible result object. */
export function nxlResult(data) {
    return { content: [{ type: 'text', text: encodeNxl(data) }] };
}
