export declare type MaterialApiModel = { materialCode: string; spec: MaterialSpecApiModel | null; waste: MaterialWasteApiModel | null; shortcuts: MaterialShortcutApiModel[]; }; export declare type MaterialSpecApiModel = { description: string; }; export declare type MaterialWasteApiModel = { managementWaste: number; shopWaste: number; }; export declare type MaterialShortcutApiModel = { materialCode: string; idCode: string; }; declare function getItemsAsync(projectCode: string, versionCode?: string, codes?: string): Promise; declare function getItemByCodeAsync(projectCode: string, materialCode: string, versionCode?: string): Promise; declare function uploadSpec(projectCode: string, files: File[]): Promise; declare function uploadWaste(projectCode: string, files: File[]): Promise; declare function uploadShortcut(projectCode: string, files: File[]): Promise; declare const service: { getItemsAsync: typeof getItemsAsync; getItemByCodeAsync: typeof getItemByCodeAsync; uploadSpec: typeof uploadSpec; uploadWaste: typeof uploadWaste; uploadShortcut: typeof uploadShortcut; }; export default service;