import type { ExpressionInputType } from 'maplibre-gl';
export type DataFrame = Record<string, any>[];
export type Color = string;
export interface Source {
    href: string;
    label?: string;
    style?: string;
}
export interface DataBounds {
    min: number;
    max: number;
}
export declare enum ColorScaleTypes {
    Gradient = "gradient",
    Palette = "palette"
}
export type GradientScale = {
    type: ColorScaleTypes.Gradient;
    colors: {
        start: Color;
        end: Color;
    };
};
export type PaletteScale = {
    type: ColorScaleTypes.Palette;
    colors: Color[];
};
export type ColorScale = GradientScale | PaletteScale;
export declare function isGroupByForMatchExpression(value: ExpressionInputType[]): value is [
    ExpressionInputType,
    ExpressionInputType,
    ExpressionInputType,
    ...ExpressionInputType[],
    ExpressionInputType
];
export interface Async<T> {
    value?: T;
    error?: any;
    loading?: boolean;
}
