/// import React from 'react'; import { LocaleProps } from '../locale'; import { ThemeProps } from '../theme'; import { PlainObject } from '../types'; export interface SparkLineProps extends ThemeProps, LocaleProps { className?: string; width: number; height: number; value?: Array; onClick?: (e: React.MouseEvent, value?: PlainObject) => void; } export declare class SparkLine extends React.Component { static defaultProps: { width: number; height: number; }; normalizeValue(item: any): number; renderLines(): JSX.Element; render(): JSX.Element; } declare const _default: { new (props: (Pick, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps) | Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>): { render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; }; new (props: Pick, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps, context: any): { render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, "value" | "height" | "width" | "onClick" | "locale" | "translate"> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: { new (props: (Pick, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }) | Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>): { render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; new (props: Pick, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, context: any): { render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: typeof SparkLine; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof SparkLine; }; } & import("hoist-non-react-statics").NonReactStatics<{ new (props: (Pick, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }) | Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>): { render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; new (props: Pick, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, context: any): { render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: typeof SparkLine; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof SparkLine; }, {}> & { ComposedComponent: { new (props: (Pick, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }) | Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>): { render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; new (props: Pick, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, context: any): { render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "className" | "classnames" | "theme" | "value" | "onClick"> & Partial, "height" | "width">> & Partial> & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: typeof SparkLine; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof SparkLine; }; }; export default _default;