import type { WorkSlideChart, WorkSlideChartLegendPosition } from '../work-types'; import type { PresentationChartRect } from './presentation-chart-axis-canvas'; interface PresentationChartLegendItem { color: string; label: string; } export declare const PRESENTATION_CHART_COLORS: string[]; export declare function presentationChartCanvasLayout(chart: WorkSlideChart, content: PresentationChartRect, hasLegendItems: boolean): { plot: PresentationChartRect; legend?: PresentationChartRect; legendPosition: WorkSlideChartLegendPosition; }; export declare function presentationChartLegendItems(chart: WorkSlideChart): PresentationChartLegendItem[]; export declare function drawPresentationChartLegend(context: CanvasRenderingContext2D, items: PresentationChartLegendItem[], rect: PresentationChartRect, position: WorkSlideChartLegendPosition): void; export {};