import { type WrappedComponentProps } from "react-intl"; import { type IUserWorkspaceSettings } from "@gooddata/sdk-backend-spi"; import { type IColorPalette, type IInsightDefinition, type IInsightWidget, type ITheme, type IWorkspacePermissions } from "@gooddata/sdk-model"; import { type ILocale, type ITranslations, type OnError } from "@gooddata/sdk-ui"; import { type IInsightViewProps } from "../internal/index.js"; /** * @internal */ export interface IInsightRendererProps extends Omit { insight: IInsightDefinition | undefined; locale: ILocale; settings: IUserWorkspaceSettings | undefined; permissions?: IWorkspacePermissions; colorPalette: IColorPalette | undefined; onError?: OnError; theme?: ITheme; afterRender?: () => void; /** * Widget data containing title and other metadata. * When provided, the widget title and description will be passed through to the chart configuration. */ widget?: IInsightWidget; } export declare const IntlInsightRenderer: import("react").FC>> & { WrappedComponent: import("react").ComponentType>; }; /** * Renders insight passed as a parameter. * * @internal */ export declare function InsightRenderer(props: IInsightRendererProps): import("react/jsx-runtime").JSX.Element | null; //# sourceMappingURL=InsightRenderer.d.ts.map