import { CurveFactory } from 'd3-shape'; export interface LineChartProps { /** * Color of the line. Falls back to theme's dark color. * Used for single-series mode (when `keys` is not set). */ lineColor?: string; /** * Colors for each line when using multi-series mode (`keys`). */ lineColors?: string[]; /** * Field names in data objects for each line series. * When set, enables multi-line mode. When empty, falls back to `seriesName`. */ keys?: string[]; /** * Display names for each key in the legend. */ groups?: string[]; /** * Hide the legend (only relevant in multi-line mode). */ hideLegend?: boolean; /** * Fixed width for y-axis labels in pixels. If not set, width is calculated automatically. */ fixedLabelWidth?: number | null; /** * Fixed height for the chart in pixels. If not set, height is calculated from width. */ fixedHeight?: number | null; /** * Field name in data objects containing the y-axis value. * Used for single-series mode (when `keys` is not set). */ seriesName?: string; /** * Number of x-axis ticks or d3 tick configuration. */ xAxisTicks?: object | number | ((d: any) => any) | null; /** * Formatter function or d3 format string for y-axis tick labels. */ yAxisTickFormat?: ((v: any) => string) | string; /** * Number of y-axis ticks or d3 tick configuration. */ yAxisTicks?: object | number; /** * Field name in data objects containing the x-axis time/date value (parsed as year). */ timeseriesKey?: string; /** * Data to display, either as a URL string to fetch or an array of objects. */ data?: string | Record[] | null; /** * Type of data file when fetching from URL. */ dataUrlType?: 'json' | 'csv' | 'tsv'; /** * Aspect ratio (height/width) for the chart. */ chartHeightRatio?: number; /** * D3 curve factory for line interpolation (e.g. d3.curveStep, d3.curveMonotoneX). * Defaults to d3.curveLinear. */ curve?: CurveFactory; /** * Enable social mode for optimal display when sharing on social media. */ socialMode?: boolean; /** * Aspect ratio to use in social mode. */ socialModeRatio?: number; } declare function highlight(key: string): void; declare function resetHighlight(): void; declare function isHighlighted(key: string): boolean; declare function setSizes(): void; declare const __VLS_export: import('../../../node_modules/vue').DefineComponent; height: import('../../../node_modules/vue').Ref; setSizes: typeof setSizes; isMultiLine: import('../../../node_modules/vue').ComputedRef; activeKeys: import('../../../node_modules/vue').ComputedRef; colorScale: import('../../../node_modules/vue').ComputedRef>; formattedData: import('../../../node_modules/vue').ComputedRef[]>; scaleX: import('../../../node_modules/vue').ComputedRef>; scaleY: import('../../../node_modules/vue').ComputedRef>; lines: import('../../../node_modules/vue').ComputedRef; line: import('../../../node_modules/vue').ComputedRef; xAxis: import('../../../node_modules/vue').ComputedRef>; yAxis: import('../../../node_modules/vue').ComputedRef>; highlightedKey: import('../../../node_modules/vue').Ref; hasHighlight: import('../../../node_modules/vue').ComputedRef; highlight: typeof highlight; resetHighlight: typeof resetHighlight; isHighlighted: typeof isHighlighted; }, {}, {}, {}, import('../../../node_modules/vue').ComponentOptionsMixin, import('../../../node_modules/vue').ComponentOptionsMixin, { loaded: (data: Record[] | null) => any; resized: () => any; }, string, import('../../../node_modules/vue').PublicProps, Readonly & Readonly<{ onLoaded?: ((data: Record[] | null) => any) | undefined; onResized?: (() => any) | undefined; }>, { keys: string[]; data: string | Record[] | null; chartHeightRatio: number; socialMode: boolean; socialModeRatio: number; dataUrlType: "json" | "csv" | "tsv"; fixedLabelWidth: number | null; seriesName: string; timeseriesKey: string; xAxisTicks: object | number | ((d: any) => any) | null; yAxisTickFormat: ((v: any) => string) | string; yAxisTicks: object | number; fixedHeight: number | null; lineColors: string[]; curve: CurveFactory; lineColor: string; groups: string[]; hideLegend: boolean; }, {}, {}, {}, string, import('../../../node_modules/vue').ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export; export default _default;