import type { CodeWalkthroughStepAttr } from '@redocly/config';
import type { WalkthroughStepsState } from '../../types/code-walkthrough';
type CodeWalkthroughStep = CodeWalkthroughStepAttr & {
    compRef?: HTMLElement;
    markerRef?: HTMLElement;
};
type Params = {
    steps: CodeWalkthroughStep[];
    enableDeepLink: boolean;
    root: React.RefObject<HTMLDivElement | null>;
};
export declare function useCodeWalkthroughSteps({ steps, enableDeepLink, root, }: Params): WalkthroughStepsState;
export {};
