import { BasePlugin } from './plugin-base.js';
import type { PluginContext } from './types.js';
/**
 * Handles UnixFS and dag-pb content.
 */
export declare class DagPbPlugin extends BasePlugin {
    readonly id = "dag-pb-plugin";
    readonly codes: 112[];
    canHandle({ cid, accept, pathDetails, byteRangeContext }: PluginContext): boolean;
    /**
     * @see https://specs.ipfs.tech/http-gateways/path-gateway/#use-in-directory-url-normalization
     */
    getRedirectUrl(context: PluginContext): string | null;
    handle(context: PluginContext & Required<Pick<PluginContext, 'byteRangeContext' | 'pathDetails'>>): Promise<Response | null>;
    private handleRangeRequest;
}
//# sourceMappingURL=plugin-handle-dag-pb.d.ts.map