export type ImageCategory = 'signature' | 'logo' | 'formula' | 'image';

export type DictionaryActions = 'add' | 'remove' | 'undo';

export type ManualRedactionActions =
    | 'add'
    | 'remove'
    | 'remove-hint'
    | 'recategorize-image'
    | 'undo'
    | 'force-redaction'
    | 'force-hint'
    | 'recategorize-annotation';

export const AnnotationIconTypes = {
    square: 'square',
    rhombus: 'rhombus',
    circle: 'circle',
    hexagon: 'hexagon',
    none: 'none',
} as const;

export type AnnotationIconType = keyof typeof AnnotationIconTypes;

export const AnnotationShapeMap: Record<string, AnnotationIconType> = {
    analysis: AnnotationIconTypes.square,
    hint: AnnotationIconTypes.circle,
    redaction: AnnotationIconTypes.square,
    updated: AnnotationIconTypes.square,
    image: AnnotationIconTypes.square,
    none: AnnotationIconTypes.none,
};
