interface ApiResponseType {
    ok: boolean;
    status: number;
    statusText: string;
    text: () => Promise<string>;
    json: () => Promise<Record<string, any>>;
}
type Result = Promise<ApiResponseType>;
export declare function fetch(uri: string, options?: {
    method?: 'GET' | 'POST';
    body?: string;
}): Result;
export {};
