export type Success = (slicedStr: string, fullStr: string) => void;
export type Fail = (err?: any) => void;
export type Complete = (success: boolean, msg?: any) => void;
export interface RequestParams {
    url: string;
    data?: Record<string, any>;
    success?: Success;
    fail?: Fail;
    complete?: Complete;
    isTestEnv?: () => boolean;
}
