UNPKG

react-decode-animation

Version:
10 lines (9 loc) 506 B
export declare type AllowedCharaters = "numbers" | "uppercase" | "lowercase" | "symbols"; export declare type AllowedCharatersList = AllowedCharaters | Array<AllowedCharaters>; export declare class CharacterList { characters: string[]; constructor(allowedCharacters?: AllowedCharatersList, custom?: string); static generateCode(loopString: string): Generator<string, void, unknown>; shuffle(): string; static toCharacters(value: string, allowDuplicates?: boolean): string[]; }