declare class WebPCodec {
    /**
     * URL to the webp.wasm file. Set this before any SOG read/write operations
     * in browser environments where the default path resolution doesn't work.
     *
     * @example
     * import { WebPCodec } from '@playcanvas/splat-transform';
     * import wasmUrl from '@playcanvas/splat-transform/lib/webp.wasm?url';
     * WebPCodec.wasmUrl = wasmUrl;
     */
    static wasmUrl: string | null;
    Module: any;
    static create(): Promise<WebPCodec>;
    encodeLosslessRGBA(rgba: Uint8Array, width: number, height: number, stride?: number): any;
    decodeRGBA(webp: Uint8Array): {
        rgba: Uint8Array;
        width: number;
        height: number;
    };
}
export { WebPCodec };
