/**
 * Recursively converts a React element to a string that contains its props
 * and nested children, preserving the original depth.
 *
 * @param {React.ReactNode} element - Element or node to render.
 * @param {number} [indent] - Current indentation size in spaces.
 * @returns {string} String representation of the tree.
 */
export function renderWithProps(element: React.ReactNode, indent?: number): string;
/**
 * Recursively converts a React element to a one-line string with props.
 *
 * @param {React.ReactNode} element - Element or node to render.
 * @returns {string} One-line representation of the tree.
 */
export function renderWithPropsInline(element: React.ReactNode): string;
import React from 'react';
