export type Primitive = null | undefined | string | number | boolean | bigint | symbol; export type AnyFunction = (...args: any[]) => any; export type TimerHandle = ReturnType; export type KeyOf = Extract; export interface HighlightOptions { className?: string; tagName?: string; ignoreCase?: boolean; } export interface RetryOptions { retries?: number; delay?: number; factor?: number; shouldRetry?: (error: unknown, attempt: number) => boolean; } export interface StorageLike { getItem(key: string): string | null; setItem(key: string, value: string): void; removeItem(key: string): void; clear(): void; } export interface StorageToolkit { get(key: string): string; set(key: string, value: string): void; remove(key: string): void; clear(): void; } export interface ValidationRule = Record> { field: KeyOf; required?: boolean; validator?: (value: unknown, source: T) => boolean; message?: string; } export interface ValidationResult = Record> { isValid: boolean; errors: string[]; fieldErrors: Partial, string[]>>; } //# sourceMappingURL=common.d.ts.map