import type { Numeric } from '../utils'; export declare type MaterialAddItem = { id: Numeric; name: string; detail: string; unit: string; available?: number; category: string; kind: 'material' | 'tool'; }; export declare type MaterialAddCategoryNode = { id?: Numeric; value?: string; text: string; children?: MaterialAddCategoryNode[]; }; export declare type MaterialAddCategory = { id: Numeric; text: string; kind: 'material' | 'tool'; categories: MaterialAddCategoryNode[]; }; export declare type MaterialAddSearch = (keyword: string) => void | Promise;