import type { DrawDefinition } from '../../diagram-api/types.js';
/**
 * Map a raw branch index to a CSS color-class index.
 * When avoidMainColor is true (redux-color / redux-dark-color themes only),
 * non-main branches cycle through 1…(limit-1) so color 0 is never reused.
 * For all other themes the plain modulo is used.
 */
export declare const calcColorIndex: (rawIndex: number, limit: number, avoidDefaultColor?: boolean) => number;
export declare const draw: DrawDefinition;
declare const _default: {
    draw: DrawDefinition;
};
export default _default;
