import type { Text as TextNode } from '@prezly/story-content-format'; import type { ReactNode } from 'react'; interface Props { node: TextNode & { strikethrough?: boolean; }; } export declare function Text({ node }: Props): import("react").JSX.Element; export declare namespace Text { var preserveSoftBreaks: (text: string) => ReactNode; } export {};