import { ElementApiModel } from "./element.service"; export declare type ComponentApiModel = { componentCode: string; componentName: string; totalQuantity: number; activities: ActivityApiModel[]; mappings: MappingApiModel[]; }; export declare type ActivityApiModel = { idCode: string; quantity: number; }; export declare type MappingApiModel = { elementCode: string; componentCode: string; quantity: number; }; export declare type TotalQuantityReportApiModel = { componentCode: string; componentName: string; idCode: string; description: string; serviceCode: string; billCode: string; networkCode: string; networkName: string; amount: number; unit: string; quantity: number; totalQuantity: number; }; export declare type SumQuantityByElementApiModel = { elements: ElementApiModel[]; totalQuantity: TotalQuantityByElementApiModel[]; shortcuts: ShortcutQuantityApiModel[]; }; export declare type TotalQuantityByElementApiModel = { elementCode: string; elementName: string; parentCode: string; componentCode: string; idCode: string; quantity?: number; }; export declare type ShortcutQuantityApiModel = { idCode: string; description: string; unit: string; serviceCode: string; billCode: string; networkCode: string; networkName: string; totalQuantity: number; }; declare function getItemsAsync(projectCode: string, versionCode?: string, codes?: string): Promise; declare function getItemByCodeAsync(projectCode: string, componentCode: string, versionCode?: string): Promise; declare function uploadComponent(projectCode: string, files: File[]): Promise; declare function uploadActivity(projectCode: string, files: File[]): Promise; declare function uploadMapping(projectCode: string, files: File[]): Promise; declare function getTotalQuantityReport(projectCode: string): Promise; declare function getSumQuantityByElementReport(projectCode: string): Promise; declare function downloadComponent(projectCode: string, fileName: string): Promise; declare function downloadMapping(projectCode: string, fileName: string): Promise; declare function downloadTotalQuantityReport(projectCode: string, fileName: string): Promise; declare function downloadSumQuantityByWbsReport(projectCode: string, fileName: string): Promise; declare const service: { getItemsAsync: typeof getItemsAsync; getItemByCodeAsync: typeof getItemByCodeAsync; uploadComponent: typeof uploadComponent; uploadActivity: typeof uploadActivity; uploadMapping: typeof uploadMapping; getTotalQuantityReport: typeof getTotalQuantityReport; getSumQuantityByElementReport: typeof getSumQuantityByElementReport; downloadComponent: typeof downloadComponent; downloadMapping: typeof downloadMapping; downloadTotalQuantityReport: typeof downloadTotalQuantityReport; downloadSumQuantityByWbsReport: typeof downloadSumQuantityByWbsReport; }; export default service;