export interface PaginatedResponse<T> {
  data: T[];
  pagination: {
    cursor: string | null;
    hasMore: boolean;
    total?: number;
  };
}

export interface ApiError {
  statusCode: number;
  error: string;
  message: string;
  details?: Record<string, string[]>;
  timestamp: string;
  path: string;
}

export interface ApiSuccess<T> {
  data: T;
  message?: string;
}

export interface HealthResponse {
  status: 'ok';
  version: string;
  uptime: number;
}
