IFClite TypeScript API
    Preparing search index...

    Interface PaletteAssignment

    label → colour, plus the next free slot so a new label never reuses one.

    interface PaletteAssignment {
        colors: Map<string, string>;
        nextSlot: number;
    }
    Index
    colors: Map<string, string>
    nextSlot: number