import { BasePlugin } from './plugin-base.js';
import type { PluginContext } from './types.js';
/**
 * Accepts a UnixFS `CID` and returns a `.tar` file containing the file or
 * directory structure referenced by the `CID`.
 */
export declare class TarPlugin extends BasePlugin {
    readonly id = "tar-plugin";
    readonly codes: never[];
    canHandle({ cid, accept, query, byteRangeContext }: PluginContext): boolean;
    handle(context: PluginContext & Required<Pick<PluginContext, 'byteRangeContext'>>): Promise<Response>;
}
//# sourceMappingURL=plugin-handle-tar.d.ts.map