import * as i0 from "@angular/core";
export declare class LocalService {
    constructor();
    /**
     * 格式化时间
     * @param type 格式化类型yyyy-MM-dd HH:mm:ss，注意MM为月份、mm为分钟
     * @param time 可选。默认当前时间
     * @returns yyyy-MM-dd HH:mm:ss
     */
    formatDate(type: string, time?: any): string;
    /**
     * 获取文件后缀
     * @param filename string 文件名
     * @returns extension
     */
    getFileExtension(filename: string): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<LocalService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<LocalService>;
}
