import { Box as InkBox, type DOMElement, Text as InkText } from 'ink'; import { type ComponentProps, type ForwardRefExoticComponent, type ReactElement, type RefAttributes } from 'react'; type TextOwnProps = Omit, 'color' | 'backgroundColor'> & { color?: string | undefined; backgroundColor?: string | undefined; }; type BoxOwnProps = Omit, 'ref' | 'borderColor' | 'backgroundColor'> & { borderColor?: string | undefined; backgroundColor?: string | undefined; }; export { Static, measureElement, useAnimation, useApp, useInput, useStdin, useStdout, } from 'ink'; export type { BoxProps, DOMElement, TextProps, Key } from 'ink'; /** Ink `Text` with `color`/`backgroundColor` remapped to the pastel palette. */ export declare function Text({ color, backgroundColor, ...rest }: TextOwnProps): ReactElement; /** * Ink `Box` with `borderColor`/`backgroundColor` remapped to pastels. Forwards * `ref` so `measureElement` (used by the scrollable history) keeps working. */ export declare const Box: ForwardRefExoticComponent>; //# sourceMappingURL=ink.d.ts.map