import { CallbackFunctionProps, CustomFunctionContext, CustomFunctionOutputProps, ErrorCallbackResult } from 'react-ai-assist';
import { ActionHandler, layerVisualChannelConfigChange } from '@kepler.gl/actions';
import { Layer } from '@kepler.gl/layers';
export declare function updateLayerColorFunctionDefinition(context: CustomFunctionContext<ActionHandler<typeof layerVisualChannelConfigChange> | Layer[]>): {
    name: string;
    description: string;
    properties: {
        layerId: {
            type: string;
            description: string;
        };
        numberOfColors: {
            type: string;
            description: string;
        };
        customColors: {
            type: string;
            items: {
                type: string;
            };
            description: string;
        };
    };
    required: string[];
    callbackFunction: typeof updateLayerColorCallback;
    callbackFunctionContext: CustomFunctionContext<Layer[] | ActionHandler<typeof layerVisualChannelConfigChange>>;
};
declare type OutputDataProps = {
    layerId: string;
};
declare type SuccessCallbackResult = {
    success: true;
    details: string;
};
declare type UpdateLayerColorCallbackOutput = CustomFunctionOutputProps<ErrorCallbackResult | SuccessCallbackResult, OutputDataProps>;
declare function updateLayerColorCallback({ functionName, functionArgs, functionContext }: CallbackFunctionProps): UpdateLayerColorCallbackOutput;
export {};
