/** * Copyright (c) 2019 Paul Armstrong */ import { BudgetLevel, BudgetResult } from '@build-tracker/types'; interface FormattingOptions { units?: number; formatter?: (bytes: number, units: number) => number; unitString?: string; } export declare function formatBytes(bytes: number, options?: FormattingOptions): string; export declare function formatSha(sha: string): string; export declare const levelToEmoji: { [BudgetLevel.WARN]: string; [BudgetLevel.ERROR]: string; hash: string; }; export declare function formatBudgetResult(budgetResult: BudgetResult, artifactName: string, useEmoji?: boolean): string; export declare function formatUnexpectedHashChange(artifactName: string, useEmoji?: boolean): string; export declare function formatDatetime(date: Date): string; export {}; //# sourceMappingURL=index.d.ts.map