/**
 * 统计页面总数、分包数目等
 * @param dist
 * @returns result
 *
 * @example
 * ```ts
 * getPageTotal('./dist/dev/mp-weixin')
 * ```
 */
export declare function getPageTotal(dist: string): {
    pageTotal: number;
    subPackageTotal: number;
};
/**
 * 统计组件数目、wxml大小、wxss大小、js大小等
 * @param dist
 * @returns result
 *
 * @example
 * ```ts
 * getComponentInfo('./dist/dev/mp-weixin')
 * ```
 */
export declare function getComponentInfo(dist: string, config?: {
    wxmlPostfix: string;
    wxssPostfix: string;
    vendorNames: string[];
}): {
    componentTotal: number;
    wxsstTotal: number;
    jsTotal: number;
    wxmlSizeTotal: number;
    wxssSizeTotal: number;
    jsSizeTotal: number;
    vendorJsSize: number;
};
