import { GenConfigFunc, Sex, EarSize, HairStyleMan, HairStyleWoman, HatStyle, EyeStyle, GlassesStyle, NoseStyle, MouthStyle, ShirtStyle, EyeBrowStyle, EarringsStyle } from "./types"; /** * Pick random one from the list */ interface PickRandomOpt { avoidList?: T[]; usually?: T[]; } type PickRandomFromList = (data: T[], opt?: PickRandomOpt) => T; export declare const pickRandomFromList: PickRandomFromList; /** * Generate avatar configurations */ interface DefaultOptions { sex: Sex[]; faceColor: string[]; earSize: EarSize[]; hairColor: string[]; hairStyleMan: HairStyleMan[]; hairStyleWoman: HairStyleWoman[]; hatColor: string[]; hatStyle: HatStyle[]; eyeBrowStyle: EyeBrowStyle[]; eyeBrowWoman: EyeBrowStyle[]; eyeStyle: EyeStyle[]; glassesStyle: GlassesStyle[]; noseStyle: NoseStyle[]; mouthStyle: MouthStyle[]; shirtStyle: ShirtStyle[]; shirtColor: string[]; bgColor: string[]; gradientBgColor: string[]; earringsStyle: EarringsStyle[]; earringsColor: string[]; } export declare const defaultOptions: DefaultOptions; export declare const genConfig: GenConfigFunc; export {};