UNPKG

token-discord-checker

Version:

A comprehensive Discord token validation and verification tool

23 lines 1.25 kB
/** * Discord Token Checker - Main Export File * * A comprehensive Discord token validation and verification library * that provides both programmatic API and CLI interface. */ export { DiscordTokenChecker } from './token-checker'; export { FormatValidator } from './validators/format-validator'; export { ApiValidator } from './validators/api-validator'; export { TokenCheckerCLI } from './cli'; export { TokenValidationResult, DiscordUserInfo, TokenCheckerConfig, EnvTokenOptions, FileTokenOptions, ApiValidationResponse, TokenSource, ValidationMethod, TokenErrorType, TokenValidationError, } from './types/token.types'; import { DiscordTokenChecker } from './token-checker'; import { TokenCheckerConfig } from './types/token.types'; export declare const quickFormatCheck: (token: string) => boolean; export declare const quickApiCheck: (token: string, timeout?: number) => Promise<{ valid: boolean; error?: string; }>; export declare const extractUserId: (token: string) => string | null; export declare const extractTimestamp: (token: string) => Date | null; export declare const createChecker: (config?: Partial<TokenCheckerConfig>) => DiscordTokenChecker; export default DiscordTokenChecker; //# sourceMappingURL=index.d.ts.map