import type { View } from './View.js';
/**
 * Render a View to an ANSI string at the given size, without needing a real terminal.
 *
 * @param view - The View (or Container) to render
 * @param size - The terminal size to render at {width, height}
 * @returns A string containing ANSI escape codes representing the rendered output
 */
export declare function renderToAnsi(view: View, size: {
    width: number;
    height: number;
}): string;
