/**
 * Convenience function to call dispose() on an object if it's not undefined or null.
 * @param object nullable object that must have a dispose method
 */
import { Texture } from 'three';
export declare function disposeIfExists(object: any): void;
export declare const StringUtil: {
    nullOrEmpty: (s: string) => boolean;
};
export declare function htmlImageToTexture(image: HTMLImageElement): Texture;
//# sourceMappingURL=util.d.ts.map