export declare const legendPositions: readonly ["bottom", "right"]; export type LegendPositions = (typeof legendPositions)[number]; export declare const legendModes: readonly ["list", "table"]; export type LegendMode = (typeof legendModes)[number]; export declare const legendSizes: readonly ["small", "medium"]; export type LegendSize = (typeof legendSizes)[number]; export interface LegendOptionsBase { position: LegendPositions; mode?: LegendMode; size?: LegendSize; } export declare function isValidLegendPosition(position: LegendPositions): boolean; export declare function isValidLegendMode(mode: LegendMode): boolean; export declare function isValidLegendSize(size: LegendSize): boolean; export declare const DEFAULT_LEGEND: Required; export declare function getLegendPosition(position?: LegendPositions): 'bottom' | 'right'; export declare function getLegendMode(mode?: LegendMode): 'list' | 'table'; export declare function getLegendSize(size?: LegendSize): 'small' | 'medium'; //# sourceMappingURL=legend.d.ts.map