internet-avatar.js
Version:
Library for connecting to Internet Avatar API.
19 lines (18 loc) • 548 B
TypeScript
import { IdentifierType } from "types";
interface IdentifierRegexWithPrefix {
prefix: string;
havePrefix?: true;
}
interface IdentifierRegexWithoutPrefix {
havePrefix: false;
}
interface BaseIdentifiersRegex {
id: string;
type: IdentifierType;
}
export type IdentifiersRegex = BaseIdentifiersRegex & (IdentifierRegexWithPrefix | IdentifierRegexWithoutPrefix);
export declare const identifiersRegex: Record<keyof typeof IdentifierType, IdentifiersRegex>;
export declare const regex: {
identifiersTotal: string;
};
export {};