import type { CodeWalkthroughFile, CodeWalkthroughStepAttr, CodeWalkthroughAttr } from '@redocly/config'; import type { WalkthroughStepsState } from '../../types/code-walkthrough'; import { type WalkthroughControlsState } from './use-code-walkthrough-controls'; export type WalkthroughState = { stepsState: WalkthroughStepsState; controlsState: WalkthroughControlsState; downloadAssociatedFiles: CodeWalkthroughFile[]; files: CodeWalkthroughFile[]; }; type Params = { steps: CodeWalkthroughStepAttr[]; attributes: Omit; root: React.RefObject; }; export declare function useCodeWalkthrough({ steps, attributes, root }: Params): WalkthroughState; export {};