import type { VerifiedFetchInit, Resource } from '../index.js';
import type { AbortOptions, ComponentLogger } from '@libp2p/interface';
import type { CID } from 'multiformats/cid';
interface GetRedirectResponse {
    cid: CID;
    resource: Resource;
    options?: Omit<VerifiedFetchInit, 'signal'> & AbortOptions;
    logger: ComponentLogger;
    /**
     * Only used in testing.
     */
    fetch?: typeof globalThis.fetch;
}
export declare function getRedirectResponse({ resource, options, logger, cid, fetch }: GetRedirectResponse): Promise<null | Response>;
export {};
//# sourceMappingURL=handle-redirects.d.ts.map