import * as react from 'react'; import { ComponentProps } from 'react'; import { FileProps } from './file.js'; import * as react_jsx_runtime_js from 'react/jsx-runtime.js'; import { Tree } from './tree.js'; /** * A built-in component to visually represent a file tree. * * @example * Click the folder to test the dynamic functionality of the file tree. * * * * * * * * * * * * * * * @usage * Create the file tree structure by nesting `` and * `` components within a ``. Name each file or folder * with the `name` attribute. Use `defaultOpen` to set the folder to open on load. * * ```mdx filename="MDX" * import { FileTree } from 'nextra/components' * * * * * * * * * * * * * * ``` */ declare const FileTree: ((props: ComponentProps) => react_jsx_runtime_js.JSX.Element) & { Folder: react.FC; File: react.FC; }; export { FileTree };