import { Texture, TextureLoader } from "three";
export declare class ImgTextureFactory {
    static textureLoader: TextureLoader;
    static urlTextureMap: Map<string, Texture | Promise<Texture>>;
    static borderUrlTextureMap: Map<string, Texture | Promise<Texture>>;
    private static canvas;
    private static ctx;
    static getTextureByUrl(url: string): Promise<Texture>;
    static getUrlTextureBorder(url: string, size: number, border: {
        width: number;
        color: string;
    }): Promise<Texture>;
    static dispose(): void;
}
