import type { ReactTestRendererNode } from 'react-test-renderer'; import { ReactTestRendererTreeFixed } from './types'; export type ShalllowJSONOptions = { /** * The depth level specifying how deep a nested tree structure should be rendered. Defaults to 1. */ depth?: number; /** * Skip the component under test from snapshot output. Defaults to true. */ skipRoot?: boolean; }; /** * Return an object representing the rendered tree. * This tree contains the platform-specific nodes like `