22e07e03cf48a81b159b56160659593e2c5424e64a8bc17539098594be465dd477a0aea0df1488549c0a4722e0101724a9e396eec3eee2e56a34bbcee1d40a 653 B

1234567891011
  1. import Model from '../Model.js';
  2. import { ZRColor, PaletteOptionMixin, DecalObject } from '../../util/types.js';
  3. import GlobalModel from '../Global.js';
  4. interface PaletteMixin<T extends PaletteOptionMixin = PaletteOptionMixin> extends Pick<Model<T>, 'get'> {
  5. }
  6. declare class PaletteMixin<T extends PaletteOptionMixin = PaletteOptionMixin> {
  7. getColorFromPalette(this: PaletteMixin<T>, name: string, scope?: any, requestNum?: number): ZRColor;
  8. clearColorPalette(this: PaletteMixin<T>): void;
  9. }
  10. export declare function getDecalFromPalette(ecModel: GlobalModel, name: string, scope?: any, requestNum?: number): DecalObject;
  11. export { PaletteMixin };