/**
 * Utility Type Interfaces
 */
/**
 * Generic Result Interface
 */
export interface Result<T = any> {
    success: boolean;
    error?: string;
    data?: T;
}
/**
 * Pagination Interface
 */
export interface Pagination {
    page: number;
    limit: number;
    total?: number;
    hasNext?: boolean;
    hasPrev?: boolean;
}
/**
 * Paginated Result Interface
 */
export interface PaginatedResult<T = any> extends Result<T[]> {
    pagination?: Pagination;
}
/**
 * Audit Trail Interface
 */
export interface AuditTrail {
    operation: string;
    timestamp: number;
    duration?: number;
    success: boolean;
    error?: string;
    metadata?: Record<string, any>;
}
/**
 * Debug Information Interface
 */
export interface DebugInfo {
    logs: string[];
    metrics?: {
        startTime: number;
        endTime: number;
        duration: number;
    };
    networkCalls?: {
        url: string;
        method: string;
        duration: number;
        success: boolean;
    }[];
}
/**
 * Retry Configuration Interface
 */
export interface RetryConfig {
    maxAttempts: number;
    delay: number;
    backoffMultiplier?: number;
    maxDelay?: number;
}
