import type { NONE } from '@/utils/constant' export type None = typeof NONE import type { BeardShape, ClothesShape, EarringsShape, EarShape, EyebrowsShape, EyesShape, FaceShape, Gender, GlassesShape, MouthShape, NoseShape, TopsShape, WrapperShape, } from '../enums' interface Widget { shape: Shape | None zIndex?: number fillColor?: string strokeColor?: string } type AvatarWidgets = { face: Widget tops: Widget ear: Widget earrings: Widget eyebrows: Widget glasses: Widget eyes: Widget nose: Widget mouth: Widget beard: Widget clothes: Widget } export interface AvatarOption { wrapperShape?: `${WrapperShape}` background: { color: string } widgets: Partial } export interface AvatarSettings { gender: [Gender, Gender] wrapperShape: WrapperShape[] faceShape: FaceShape[] topsShape: TopsShape[] earShape: EarShape[] earringsShape: EarringsShape[] eyebrowsShape: EyebrowsShape[] eyesShape: EyesShape[] noseShape: NoseShape[] mouthShape: MouthShape[] beardShape: BeardShape[] glassesShape: GlassesShape[] clothesShape: ClothesShape[] backgroundColor: string[] skinColor: string[] clothesColor: string[] }