import { BasePlugin } from './plugin-base.js';
import type { PluginContext } from './types.js';
/**
 * Handles `dag-json` content, including requests with Accept: `application/vnd.ipld.dag-cbor` and `application/cbor`.
 */
export declare class JsonPlugin extends BasePlugin {
    readonly id = "json-plugin";
    readonly codes: number[];
    canHandle({ cid, accept, byteRangeContext }: PluginContext): boolean;
    handle(context: PluginContext & Required<Pick<PluginContext, 'byteRangeContext'>>): Promise<Response>;
}
//# sourceMappingURL=plugin-handle-json.d.ts.map