import type { ContentItem } from '../types/index.js'; /** * Formats text content with T: prefix for printing * * Automatically converts UTF-8 text to GBK Base64 encoding as required by the API. * * @param text - Text content to print * @returns Formatted print content (T:base64...) * * @example * ```typescript * const formatted = formatTextContent('Hello World'); * // Returns: 'T:SGVsbG8gV29ybGQ=' * ``` */ export declare function formatTextContent(text: string): string; /** * Formats image content with P: prefix for printing * * @param base64Image - Monochrome bitmap Base64 image (should be pre-converted) * @returns Formatted print content (P:base64...) * * @example * ```typescript * const formatted = formatImageContent(monochromeBase64); * // Returns: 'P:Qk0OAgAAAAAAAD4A...' * ``` */ export declare function formatImageContent(base64Image: string): string; /** * Formats mixed content (text and images) for printing * * Combines multiple text and image items with pipe (|) separator. * * @param items - Array of content items with type and content * @returns Formatted print content with T: and P: prefixes * * @example * ```typescript * const formatted = formatMixedContent([ * { type: 'text', content: 'Hello' }, * { type: 'image', content: 'base64imagedata' }, * { type: 'text', content: 'World' } * ]); * // Returns: 'T:SGVsbG8=|P:base64imagedata|T:V29ybGQ=' * ``` */ export declare function formatMixedContent(items: ContentItem[]): string; //# sourceMappingURL=content-formatter.d.ts.map