import { PipeTransform, Type } from '@angular/core';
import * as i0 from "@angular/core";
export declare enum NgmFormatNumberStyle {
    short = "short",
    standard = "standard",
    long = "long"
}
export declare enum NgmRoundingMode {
    none = "none",// 无舍入行为,按照 decimals 或者 shortDecimals 进行 toFixed()
    ceil = "ceil",// 对数进行上舍入。（向上取整；大于等于x的最小整数）
    floor = "floor",// 对数进行下舍入。（小于等于x的最大整数）
    round = "round"
}
export declare const FORMATOPTIONS: NgmFormatOprions;
export interface NgmFormatOprions {
    decimals?: number;
    shortRefNumber?: any;
    isformatNumber?: boolean;
    factor?: number;
    shortUnits?: string;
}
/**
 * Ref to [CurrencyPipe](https://github.com/angular/angular/blob/11.2.13/packages/common/src/pipes/number_pipe.ts#L163-L287)
 */
export declare class NgmShortNumberPipe implements PipeTransform {
    private _locale;
    constructor(_locale: string);
    /**
     * shortNumber pipe
     * @param value 传入的需要进行 short 的数据
     * @param formatOptions short过程中需要用到的参数
     *
     * @returns null 或者 short结果 (例如: 4.53K 5.62万)
     */
    transform(value: number | string, locale?: string, factor?: string, shortUnits?: string): [number, string];
    static ɵfac: i0.ɵɵFactoryDeclaration<NgmShortNumberPipe, never>;
    static ɵpipe: i0.ɵɵPipeDeclaration<NgmShortNumberPipe, "shortNumber", true>;
}
/**
 * shorNumber
 * @param value 传入的需要进行 short 的数据
 *
 * @returns null 或者 short结果数组 (例如: ['4.53', 'K'] ['5.62', '万'])
 */
export declare function formatShortNumber(value: number | string, locale: string, factor?: number, shortUnits?: string): [number, string];
export declare function invalidPipeArgumentError(type: Type<any>, value: Object): Error;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
export declare function stringify(token: any): string;
/**
 * Concatenates two strings with separator, allocating new strings only when necessary.
 *
 * @param before before string.
 * @param separator separator string.
 * @param after after string.
 * @returns concatenated string.
 */
export declare function concatStringsWithSpace(before: string | null, after: string | null): string;
