import { LogConfig } from '@basemaps/shared';
import { LambdaAlbRequest } from '@linzjs/lambda';
import { TileSetRaster } from '../tile.set.raster.js';
import { TileSetVector } from '../tile.set.vector.js';
export function mockRequest(path, method = 'get', headers = {}) {
    return new LambdaAlbRequest({
        requestContext: null,
        httpMethod: method.toUpperCase(),
        path,
        headers,
        body: null,
        isBase64Encoded: false,
    }, {}, LogConfig.get());
}
export class FakeTileSet extends TileSetRaster {
    constructor(name, tileMatrix, title = `${name}:title`, description = `${name}:description`) {
        super(name, tileMatrix);
        this.tileSet = {
            name,
            title,
            description,
            layers: [{ name: `imagery_${name}`, [tileMatrix.projection.code]: `im_${title}` }],
        };
    }
}
export class FakeTileSetVector extends TileSetVector {
    constructor(name, tileMatrix) {
        super(name, tileMatrix);
        this.tileSet = {};
    }
}
//# sourceMappingURL=xyz.util.js.map