import { type IForecastConfig } from "@gooddata/sdk-backend-spi";
import { type IInsightDefinition } from "@gooddata/sdk-model";
import { type IChartConfig } from "@gooddata/sdk-ui-charts";
import { type IEmbeddingCodeContext } from "../../interfaces/VisualizationDescriptor.js";
import { type IAdditionalFactoryDefinition, type IInsightToPropConversion } from "../../utils/embeddingCodeGenerator/index.js";
export declare function chartConfigFromInsight(insight: IInsightDefinition, ctx?: IEmbeddingCodeContext): IChartConfig;
export declare function chartForecastConfigFromInsight(insight: IInsightDefinition, _ctx?: IEmbeddingCodeContext): IForecastConfig | undefined;
export declare function chartAdditionalFactories(options?: {
    getColorMappingPredicatePackage?: string;
}): IAdditionalFactoryDefinition[];
export declare function chartConfigInsightConversion<TProps extends object, TPropKey extends keyof TProps>(propName: TPropKey): IInsightToPropConversion<TProps, TPropKey, IChartConfig>;
export declare function chartForecastConfigInsightConversion<TProps extends object, TPropKey extends keyof TProps>(propName: TPropKey): IInsightToPropConversion<TProps, TPropKey, IForecastConfig | undefined>;
//# sourceMappingURL=chartCodeGenUtils.d.ts.map