import { IAsset } from "../../core/asset"; import { ConstructorType } from "../../utils/util"; import { GLContext } from "../../core/global"; export declare class AssetsPack { mainAsset: IAsset | null; assets: Map; add(name: string, asset: IAsset): void; setMain(asset: IAsset): void; get(Type: ConstructorType): T | null; getAll(Type: ConstructorType): T[]; } export interface AssetImporterPlugin { import(buffer: ArrayBuffer, options?: TOption, ctx?: GLContext): Promise; } declare type SerializableValueType = number | string | boolean | { [key: string]: SerializableValueType; } | SerializableValueType[]; export interface AssetImportOptions { [key: string]: SerializableValueType; } export {};