import type { ReactNode } from 'react';
/**
* A component that renders text content with preserved line breaks.
* If the input is a string, it splits on newline characters and renders each line
* with proper
tags. If the input is not a string (e.g., JSX), it renders
* the content as-is.
*
* @component
* @param {Object} props - The component props
* @param {ReactNode} props.content - The content to render. Can be a string or any valid React node
* @returns {ReactNode} The rendered content with preserved line breaks
*
* @example
* ```tsx
* // String content with line breaks
*
*
* // JSX content
* Some JSX} />
* ```
*/
export declare const TextWithLineBreaks: ({ content }: {
content: ReactNode;
}) => number | boolean | Iterable | import("react/jsx-runtime").JSX.Element | null | undefined;