export interface ResponseWithBody { status: string; statusCode: number; data: T; message?: string; } export interface ResponseWithoutBody { status: string; statusCode: number; message?: string; } export declare type Response = T extends undefined ? ResponseWithoutBody : ResponseWithBody;