/**
 * Converts a React element to a string ignoring props, while keeping the
 * nested structure. Useful for lightweight snapshots.
 *
 * @param {React.ReactNode} element - Element or node to render.
 * @param {number} [indent=0]       - Current indentation in spaces.
 * @returns {string}                String representation of the tree.
 */
export function renderToString(element: React.ReactNode, indent?: number): string;
import React from 'react';
