import type { Richtext } from '../story'; export interface GetPlainTextOptions { /** * Whether to add newlines (`\n\n`) after nodes and instead of hr's and * br's. * * @default true */ addNewlines?: boolean; } export declare const getPlainText: (richtext: Richtext, { addNewlines }?: GetPlainTextOptions) => string;