UNPKG

@teenth/sdk-tool

Version:

sdk-tool with R2 storage support

15 lines (14 loc) 402 B
export interface PostOptions { body: any; [key: string]: any; } export declare const get: (url: string, options?: Omit<PostOptions, "body">) => Promise<any>; export declare const post: (url: string, options?: PostOptions) => Promise<any>; export declare const RES_CODE: { SUCCESS: number; ERROR: number; }; export declare const RES_MESSAGE: { SUCCESS: string; ERROR: string; };