import type { MindElixirData } from '../types';
/**
 * Escape a topic so it survives the line-based format:
 * - `\` and line breaks have syntactic meaning (escape sequences / record separator)
 * - a leading `>` or `}` would turn the whole line into an arrow or summary record
 *
 * The leading marker is escaped last, otherwise the backslash added here would
 * itself be doubled by the first replacement.
 */
export declare const escapeTopic: (topic: string) => string;
/**
 * Convert MindElixirData back to plaintext format
 *
 * @param data - The MindElixirData object to convert
 * @returns Plaintext string
 */
export declare function mindElixirToPlaintext(data: MindElixirData): string;
