import { Payload } from './Payload'; export interface ApiResponse { data?: T; error?: Error | string | number; success: boolean; }