interface RegisterOptions { themeKey: string; material: any; force?: boolean; category?: string; } export declare class MaterialManager { private categoryMap; private CategoryGet; constructor(); registerCategoryGet(category: string, fn: Function): void; /** * 注册材质 */ register(options: RegisterOptions): void; /** * 获取材质 */ get({ themeKey, category, options, }: { themeKey: string; category?: string; options?: any; }): any | undefined; /** * 是否存在 */ has(themeKey: string, category?: string): boolean; /** * 移除材质 */ remove(themeKey: string, category?: string): void; /** * 获取某分类下的所有 keys */ keys(category?: string): string[]; /** * 清空某个分类 */ clearCategory(category?: string): void; /** * 清空所有 */ clearAll(): void; /** * 获取所有分类 */ categories(): string[]; } export {};