function Spritesheet(texture, data, resolutionFilename) {
        if (resolutionFilename === void 0) { resolutionFilename = null; }
        /** For multi-packed spritesheets, this contains a reference to all the other spritesheets it depends on. */
        this.linkedSheets = [];
        this._texture = texture instanceof _pixi_core__WEBPACK_IMPORTED_MODULE_1__.Texture ? texture : null;
        this.baseTexture = texture instanceof _pixi_core__WEBPACK_IMPORTED_MODULE_1__.BaseTexture ? texture : this._texture.baseTexture;
        this.textures = {};
        this.animations = {};
        this.data = data;
        var resource = this.baseTexture.resource;
        this.resolution = this._updateResolution(resolutionFilename || (resource ? resource.url : null));
        this._frames = this.data.frames;
        this._frameKeys = Object.keys(this._frames);
        this._batchIndex = 0;
        this._callback = null;
    }
@param texture - Reference to the source BaseTexture object.
@param {object} data - Spritesheet image data.
@param resolutionFilename - The filename to consider when determining
       the resolution of the spritesheet. If not provided, the imageUrl will
       be used on the BaseTexture.