/**
 * Copyright (c) OpenLens Maintainers. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */
import type { AsyncResult } from "@openlens/utilities";
import type { Fetch } from "../fetch.injectable";
export interface DownloadJsonOptions {
    signal?: AbortSignal | null | undefined;
}
export type DownloadJson = (url: string, opts?: DownloadJsonOptions) => AsyncResult<unknown, string>;
export declare const downloadJsonWith: (fetch: Fetch) => DownloadJson;
