export declare const withRetryOnCode: (code: number) => <T>(fn: () => Promise<T>, cmd: string) => Promise<T>;
export declare const withOkOnCode: (code: number) => <T>(fn: () => Promise<T>, cmd: string) => Promise<void | T>;
export declare const withOkOn404: <T>(fn: () => Promise<T>, cmd: string) => Promise<void | T>;
export declare const withRetryOn404: <T>(fn: () => Promise<T>, cmd: string) => Promise<T>;
