type FetchOptions = { method?: string; headers?: Record; body?: string; credentials?: RequestCredentials; params?: Record; }; export declare function createHttpClient(origin: string, token: string): { get: (endpoint: string, options?: FetchOptions) => Promise; post: (endpoint: string, body?: object, options?: FetchOptions) => Promise; put: (endpoint: string, body: object, options?: FetchOptions) => Promise; delete: (endpoint: string, options?: FetchOptions) => Promise; patch: (endpoint: string, body: object, options?: FetchOptions) => Promise; }; export {};