import { ColumnFormatOverride, ColumnFormatType } from '../types/report-format';
import { ColumnType } from './data-prep-utils';

export declare const DATE_PLAIN_VALUE = "PLAIN_VALUE";
export declare const defaultDecimalsForType: Record<ColumnFormatType, number>;
type Member = {
    type: 'measure' | 'dimension' | undefined;
    columnType: ColumnType | undefined;
    grain: string | undefined;
    format: string | undefined;
};
export declare function getTimeFormat(format: string): (value: string) => string;
export declare function getFormat(member: Member): {
    formatString: string | null;
    formatFunc: (value: string) => string;
};
export declare function getOverrideNumberFormat(override?: ColumnFormatOverride): {
    formatString: string | null;
    formatFunc: (value: string) => string;
} | null;
export declare const basicFormatValue: (columnType: ColumnType) => {
    formatString: string | null;
    formatFunc: (value: string) => string;
};
export type FormatTableCellValueOptions = {
    value: any;
    isPinnedRow: boolean;
    memberType: 'measure' | 'dimension' | 'timeDimension' | 'segment';
    formatValue: () => string;
    emptyPlaceholder?: string;
};
export declare const formatTableCellValue: ({ value, isPinnedRow, memberType, formatValue, emptyPlaceholder, }: FormatTableCellValueOptions) => string;
export {};
//# sourceMappingURL=formatting-utils.d.ts.map