import { type MipChain } from './mips'; import type { ItemModel, ModelGroup, ModelImage } from './model'; export interface FlatLevel { model: ItemModel; groups: ModelGroup[]; materials: number; } /** * Re-points every group of a clustered level at a synthetic textureless material carrying the mean colour of its source * material. The returned model is the source model with those materials appended; sources are untouched. */ export declare function flattenColours(model: ItemModel, levelGroups: readonly ModelGroup[], chain: (image: ModelImage) => Promise): Promise;