import { type ViewStyle, type TextStyle } from "react-native"; import { type ColorTokens } from "../../style/index.js"; import { type ChartSeries, type ChartSkin } from "./types.js"; export type Tone = "primary" | "success" | "destructive"; export declare function surface(tokens: ColorTokens, radius: number): ViewStyle; export declare const surfacePadCompact: ViewStyle; export declare const surfacePadDefault: ViewStyle; export declare function title(tokens: ColorTokens): TextStyle; export declare const titleCompact: TextStyle; export declare const titleDefault: TextStyle; export declare function barFill(tokens: ColorTokens, tone: Tone): string; /** The fill for series `i` (0-based), from the theme's chart tokens. */ export declare function seriesFill(tokens: ColorTokens, i: number): string; /** * A series' own semantic tone, first match wins (the chart-level precedence: * success > destructive). Null when the series carries none, which is the * signal to fall through to the ramp. */ export declare function seriesTone(sr: ChartSeries): Tone | null; /** * The color for series `i`: the series' OWN semantic tone first (a series that * means success or failure is colored by that meaning), then the chart-level * tone when there is one (single-series charts), then the categorical ramp * position. Mirrors `rowFill`'s slot > tone > ramp resolution, and is the one * place the Chart family resolves a series color, so the plot, the value flag, * and the legend cannot drift apart. */ export declare function seriesColor(tokens: ColorTokens, sr: ChartSeries | undefined, i: number, tone?: Tone | null): string; export declare const horizontalStack: ViewStyle; export declare const horizontalRow: ViewStyle; export declare function horizontalLabel(tokens: ColorTokens): TextStyle; export declare const horizontalTrack: ViewStyle; export declare function horizontalBar(fill: string, width: number, radius: number): ViewStyle; export declare function horizontalValue(tokens: ColorTokens): TextStyle; export declare const verticalBars: ViewStyle; export declare const verticalColumn: ViewStyle; export declare function verticalValue(tokens: ColorTokens): TextStyle; export declare function verticalBar(fill: string, height: number, radius: number): ViewStyle; export declare function baseline(tokens: ColorTokens): ViewStyle; export declare const verticalLabelsRow: ViewStyle; export declare function verticalLabel(tokens: ColorTokens): TextStyle; export declare const webSkin: ChartSkin; export declare const iosSkin: ChartSkin; export declare const androidSkin: ChartSkin; //# sourceMappingURL=charts.styles.d.ts.map