import type { SerializedTextureSource, TemplateContent, BinaryFile } from '@predy-js/specification'; import type { TextureOptions, TextureConfigOptionsBase, TextureFormatOptions, ImageBitmapInternal } from '@predy-js/render-interface'; type TextureJSONOptions = SerializedTextureSource & TextureConfigOptionsBase & TextureFormatOptions; export declare function loadWebpOptional(png: string, webp?: string, options?: { premultiplyAlpha?: boolean; }): Promise<{ image: HTMLImageElement | ImageBitmap | ImageBitmapInternal; url: string; }>; export declare function deserializeMipmapTextureAsync(tex: TextureJSONOptions, bins: ArrayBuffer[], files: BinaryFile[]): Promise; export declare function combineImageTemplateAsync(url: string | HTMLImageElement | ImageBitmap, template: TemplateContent, variables: Record, opt?: { templateScale?: number; canvas?: HTMLCanvasElement; }, flipY?: boolean): Promise; export {};