import type { ExternalImageSource } from './texture.ts';
export declare function getImageSourceDimensions(source: ExternalImageSource): {
    width: number;
    height: number;
};
export declare function clearTextureUtilsCache(device: GPUDevice): void;
export declare function generateTextureMipmaps(device: GPUDevice, texture: GPUTexture, baseMipLevel?: number, mipLevels?: number): void;
export declare function resampleImage(device: GPUDevice, targetTexture: GPUTexture, image: ExternalImageSource, layer?: number): void;
