/* tslint:disable */
/* eslint-disable */

/**
 * Decode into the canonical schema as a native JavaScript object.
 */
export function m_bus_decode(data: string, key_hex?: string | null, include_enrichment?: boolean | null): any;

/**
 * Highlight JSON, YAML, CSV, XML, or plaintext with the bundled Rust grammar set.
 */
export function m_bus_highlight(source: string, language: string): string;

/**
 * Compatibility wrapper returning errors as text. Prefer `m_bus_render`.
 */
export function m_bus_parse(data: string, format: string): string;

/**
 * Compatibility wrapper returning errors as text. Prefer `m_bus_render`.
 */
export function m_bus_parse_with_key(data: string, format: string, key_hex: string): string;

/**
 * Render with the shared Rust/Python/CLI output contract.
 */
export function m_bus_render(data: string, format: string, key_hex?: string | null, width?: number | null, include_enrichment?: boolean | null): string;

export function version(): string;
