import { ILayer, ITexture2D, ITextureService } from '@antv/l7-core';
import { IColorRamp } from '@antv/l7-utils';
export default class TextureService implements ITextureService {
    private layer;
    private rendererService;
    private colorTexture;
    private key;
    constructor(layer: ILayer);
    getColorTexture(colorRamp: IColorRamp, domain?: [number, number]): ITexture2D;
    createColorTexture(colorRamp: IColorRamp, domain?: [number, number]): ITexture2D;
    setColorTexture(texture: ITexture2D, colorRamp: IColorRamp, domain: [number, number]): void;
    destroy(): void;
    private getColorRampBar;
    private getTextureKey;
}
