import { ProjectSize, ServerSize } from '../typings/project'; /** * Serialize server result to {@link ProjectSize} * @param result */ export declare function normalizeSize(result: ServerSize): ProjectSize; /** * @param size 字节数 * @returns 以 B/KB/MB 结尾的字符串 */ export declare function formatSize(size: number): string; /** * Append a `/` if the given {@link p path} not end with one * @param p * @returns */ export declare function ensureEndSlash(p: string): string;