import { ReactNode } from 'react'; import { ViewPropsBase } from './view-props-base'; /** * If there is custom view it will be rendered. If there is not the children of this component will be rendered * * @param {string | undefined} viewName - Used to identify the custom view. * @param {string} widgetKey - Used in the widget registry as a property name. * @param {ReactNode} children - The children of the component. Used as a fallback if there is no custom view. * @param {any} viewProps - Props that are used for the view component. * @param {any} traceSpan Required param for the trace functionality. * * @returns {ReactNode} - The view for the widget. */ export declare function RenderView({ viewName, widgetKey, children, viewProps, traceSpan }: RenderViewProps): ReactNode; interface RenderViewProps { viewName?: string; widgetKey: string; children: ReactNode; viewProps: ViewPropsBase; traceSpan?: any; } export {};