import { BasePlugin } from './plugin-base.js';
import type { PluginContext } from './types.js';
import type { ObjectNode } from 'ipfs-unixfs-exporter';
/**
 * Handles `cbor` content
 */
export declare class CborPlugin extends BasePlugin {
    readonly id = "cbor-plugin";
    readonly codes: number[];
    canHandle({ cid, pathDetails, byteRangeContext }: PluginContext): boolean;
    handle(context: PluginContext & Required<Pick<PluginContext, 'byteRangeContext' | 'pathDetails'>> & {
        pathDetails: {
            terminalElement: ObjectNode;
        };
    }): Promise<Response>;
}
//# sourceMappingURL=plugin-handle-cbor.d.ts.map