import { WNode, WNodeProps } from './types'; import { GradientViewState } from './view-states'; export type GradientRenderTheme = { styles: { container: () => WNodeProps; char: (props: { color: string; }) => WNodeProps; }; }; export declare const defaultGradientTheme: GradientRenderTheme; /** * Paints `text` with a color gradient — each visible character gets its own * interpolated color from the stop list (either a named preset or a * user-supplied `colors` array). Newlines pass through uncolored. */ export declare function renderGradient(state: GradientViewState, theme?: GradientRenderTheme): WNode; //# sourceMappingURL=render-gradient.d.ts.map