import { ReactNode } from 'react'; export default function getReactNodeText(node: ReactNode): Promise;