import { RequestTypes } from "../index";
export interface SafeRequest {
    requestType: RequestTypes;
    request: Promise<any>;
    extraInfo?: any;
}
export interface Response<T = any, Y = any> {
    requestType: RequestTypes;
    response: T;
    extraInfo?: Y;
}
export type SafeResponse = Promise<Response>;
