/** * @license * Copyright Elegante All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://elegante.dev/license */ export declare type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE'; export declare function fetch(url: string, options?: { method?: HttpMethod; body?: any; headers?: Record; }): Promise;