type RequestOptions = { token?: string; body?: Record; headers?: Record; }; export declare function request(endpoint: string, method?: string, options?: RequestOptions): Promise<{ ok: boolean; json: any; }>; export {};