import type { TextInput, TextStyleOptions } from '../types';
/**
 * Normalizes a text input into an array of lines.
 *
 * @param input Text input.
 * @returns Normalized lines.
 */
export declare function toLines(input: TextInput): any[];
/**
 * Formats one or more lines using a per-line mapper.
 *
 * @param input Text input.
 * @param formatter Line formatter.
 * @returns Formatted markdown text.
 */
export declare function formatLines(input: TextInput, formatter: (line: string, index: number) => string): string;
/**
 * Applies markdown formatting to a text payload.
 *
 * @param content Raw text content.
 * @param options Formatting options.
 * @returns Markdown-formatted text.
 */
export declare function formatText(content: TextInput, options?: TextStyleOptions): string;
/**
 * Wraps text in inline-code markdown.
 *
 * @param content Raw text content.
 * @returns Inline-code markdown.
 */
export declare function formatInlineCode(content: TextInput): string;
/**
 * Formats a markdown quote block.
 *
 * @param input Quote content.
 * @returns Markdown quote text.
 */
export declare function formatQuote(input: TextInput): string;
/**
 * Formats a markdown spoiler block.
 *
 * @param input Spoiler content.
 * @returns Markdown spoiler text.
 */
export declare function formatSpoiler(input: TextInput): string;
//# sourceMappingURL=formatText.d.ts.map