import { WNode, WNodeProps } from './types'; import { BigTextViewState } from './view-states'; /** * BigText theme hook. Coloring/gradient/background are all baked into the * ANSI string by cfonts itself — so the wolfie-level text node cannot * override them (nested style.color would be stripped by squashTextNodes * anyway; see internal/core/src/squash-text-nodes.ts). * * The theme here exists only to shape the *containing* wolfie-text node — * its flex behavior, whitespace handling, and aria metadata. Keep it * minimal by design. */ export type BigTextRenderTheme = { styles: { container: () => WNodeProps; }; }; export declare const defaultBigTextTheme: BigTextRenderTheme; /** * Renders a big-ASCII-font block via cfonts into a single wolfie-text node. * * Returns a WNode whose only child is the pre-rendered multi-line ANSI * string from `cfonts.render(...).string`. Per the text pipeline contract * (see memory/text-color-pipeline.md), we do NOT split the output into * nested styled text nodes — squashTextNodes would strip any per-segment * style.color. Colors/gradient/background are baked directly into the * ANSI bytes by cfonts, so the terminal renders them unchanged. * * If cfonts returns `false` (malformed input / unknown font) we emit an * empty text node rather than throwing, so the component never crashes * the host app mid-render. */ export declare function renderBigText(state: BigTextViewState, theme?: BigTextRenderTheme): WNode; //# sourceMappingURL=render-big-text.d.ts.map