export type ResponseStatus = 'success' | 'error' | 'warning'; export interface ApiError { code: string; message: string; target?: string; details?: Record; severity?: string; category?: string; helpUrl?: string; suggestedAction?: string; traceId?: string; } export interface ApiResponse { status: ResponseStatus; code: string; data?: T; message?: string; errors?: ApiError[]; warnings?: ApiError[]; metadata?: Record; correlationId?: string; traceId?: string; timestamp: string; } export declare const isSuccessResponse: (response: any) => response is ApiResponse; export declare const isErrorResponse: (response: any) => response is ApiResponse;