import type { ExpressionInputType } from 'maplibre-gl'; export type DataFrame = Record[]; export type Color = string; /** * Represents a link in the LinksMenu component. * Can be extended in the future to support other link types (e.g., callbacks, exports). */ export interface Link { /** The URL to navigate to when the link is clicked */ href: string; /** The label displayed for this link */ label: string; /** Optional SVG string to display as an icon next to the label */ icon?: string; } /** * Props for the LinksMenu component. */ export interface LinksMenuProps extends Record { /** Array of links to display in the menu */ links: Link[]; /** Optional inline styles for the menu container */ style?: string | null; } export interface CardProps extends Record { title?: string; subtitle?: string; defaultStyle?: boolean; links?: Link[]; style?: string | null; className?: string | null; clientWidth?: number; tag?: 'div' | 'figure'; } 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 { value?: T; error?: any; loading?: boolean; }