/// <reference types="react" />
import { VizzlyComponents } from '../../types';
import { Component } from '../../../../shared-logic/src/Component/types';
import { Result as ResultType } from '../../../../shared-logic/src/Result/types';
import { ViewForKey } from './shared';
export declare type SingleStatViewProps = Omit<VizzlyComponents.ViewProps<{}>, 'result'> & {
    results: Array<ResultType | null | undefined>;
    library?: boolean;
    hideHeader?: boolean;
    leftAlign?: boolean;
    viewFor: ViewForKey;
    displayCurrent?: boolean;
    direction?: Component.SingleStatDirectionOptions;
    attributes: Component.SingleStatAttributes;
};
export declare const defaultProps: Omit<Component.SingleStatAttributes, 'dataSetId'>;
declare const SingleStatView: {
    (props: SingleStatViewProps): JSX.Element;
    defaultProps: Pick<Component.SingleStatAttributes, "measure" | "limit" | "offset" | "filter" | "aggregateMetricGroup" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "parameters" | "direction" | "fontSize" | "prefixes" | "parametersV2" | "postfixes" | "formatter" | "deltaTimeDimension">;
};
export default SingleStatView;
