/**
 * Utilities for parsing NATS chunks into structured actions
 */
import { type ParsedChunkAction } from '../types';
/**
 * Parse a raw NATS chunk into a structured action
 */
export declare function parseChunkToAction(chunk: unknown): ParsedChunkAction | null;
/**
 * Check if a chunk represents a control message (start/end)
 */
export declare function isControlChunk(chunk: unknown): boolean;
/**
 * Check if a chunk represents an error
 */
export declare function isErrorChunk(chunk: unknown): boolean;
/**
 * Check if a chunk represents metadata
 */
export declare function isMetadataChunk(chunk: unknown): boolean;
/**
 * Extract text content from a chunk if it's a text chunk
 */
export declare function extractTextFromChunk(chunk: unknown): string | null;
//# sourceMappingURL=chunk-parser.d.ts.map