export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE'; interface RequestOptions { url: string; method?: HttpMethod; headers?: Record; params?: Record; data?: Record; } export declare const request: (options: RequestOptions) => Promise; export declare const get: (url: string, params?: Record) => Promise; export declare const post: (url: string, data?: Record) => Promise; export declare const put: (url: string, data?: Record) => Promise; export declare const del: (url: string, data?: Record) => Promise; export {};