import type { ReactNode } from 'react';
import type { DataProcessorDefinition } from '../../lynx-api.js';
/**
* The default root exported by `@lynx-js/react` for you to render a JSX
* @public
*/
export interface Root {
/**
* Use this API to pass in your JSX to render
*
* @example
*
* ```ts
* import { root } from "@lynx-js/react"
*
* function App() {
* // Your app
* return ...
* }
*
* root.render();
* ```
*
* @public
*/
render: (jsx: ReactNode) => void;
/**
* {@inheritDoc Lynx.registerDataProcessors}
* @deprecated use {@link Lynx.registerDataProcessors | lynx.registerDataProcessors} instead
* @public
*/
registerDataProcessors: (dataProcessorDefinition?: DataProcessorDefinition) => void;
}
/**
* The default and only root of ReactLynx for you to render JSX
* @example
* ```ts
* import { root } from "@lynx-js/react"
* ```
*
* @public
*/
export declare const root: Root;