export default interface IOptionParams { answersToDisplay?: number; center?: ICenter; colors?: string[]; colorsType?: "flat" | "shaded" | "gradient"; columnWidth?: number; datasets?: IOptionParamsDatasets; displayAs?: "percent" | "count"; fontFamily?: string; header: IHeader; hidePercentages?: boolean; highlightChartOnHover: boolean; highlightColors?: string[]; hoverColors?: string[]; innerWidth?: number; labels?: ILabelOption; labelType?: string; legend?: ILegend; limitDatasets?: number; line?: IOptionParamsLine; map?: "au" | "uk" | "us"; theme?: string; tooltips?: ITooltips; view: "simple" | "advanced"; width?: number; scales?: any; } export interface ITooltips { enabled?: boolean; fontFamily?: string; } export interface ILegend { display?: boolean; fontFamily?: string; labels?: { [key: string]: string | number; }; enabled?: boolean; } export interface IOptionParamsLine { splitAt: string | number; leftLabel: string; rightLabel: string; } export interface IOptionParamsDatasets { limit?: string; showMoreAt?: string; } export interface ILabelOption { labelsToReplace: { [key: string]: string; }; optionLabelsToReplace: { [key: string]: string; }; sort?: string[]; } export interface IHeader { allowTableView?: boolean; displaySubtitle?: boolean; displayTitle?: boolean; position: "top" | "bottom"; showTable?: boolean; subtitle?: string; subtitleFontFamily?: string; subtitleFontSize?: string; title?: string; titleFontFamily?: string; titleFontSize?: string; } export declare type T_DRAW = "max" | "min" | "value"; export interface ICenter { draw?: T_DRAW; showLabel?: boolean; value?: string | number; }