declare namespace API {
  type ImageInfo = {
    instanceId: string;
    size?: number;
    uploadTime?: string;
    contentType?: string;
    imageName?: string;
  }
  type ListResponse<T> = {
    list?: T[];
    total?: number;
    pageSize?: number;
    pageNumber?: number;
    pages?: number;
  }
  type Response<T> = {
    code?: number;
    message?: string;
    data?: T;
  }
  type ResponseBase = {
    code?: number;
    message?: string;
  }
}
export default API;
