import type { RedirectsConfig } from '@redocly/config';
import type { FollowRedirectChainResult, WildcardRedirectsTree } from '../../types';
/**
 * Follows the redirect chain from startSlug. Returns when:
 * - A cycle is detected (revisiting a slug or redirect rule) -> { type: 'cycle', cycle }
 * - No redirect / external / wildcard -> { type: 'no-cycle' }
 */
export declare function followRedirectChain(startSlug: string, initialChain: string[], redirects: RedirectsConfig, wildcardRedirectsTree: WildcardRedirectsTree, resolveWildcards?: boolean): FollowRedirectChainResult;
//# sourceMappingURL=follow-redirect-chain.d.ts.map