import { RocketConfig } from '../model/rocket-config';
/**
 * Make a json fetch request.
 * @param request request information passed to fetch().
 * @throws an error object if the request was not successful
 * @return the json response object
 */
export declare function doRequest<T>(request: RequestInfo | string): Promise<T>;
/**
 * Change the URL of an asset file based on the configuration.
 * @param path path to the original asset.
 * @param rocketConfig configuration
 */
export declare function getAssetUrl(path: string, rocketConfig: RocketConfig): string;
/**
 * Tiered items can share items but use different assets. This function changes asset urls based on what tier the item is.
 * @param bodyId in-game id of the item
 * @param path path to the asset
 */
export declare function fixTierUrl(bodyId: number, path: string): string;
//# sourceMappingURL=network.d.ts.map