import type { CodeWalkthroughFile, CodeWalkthroughStepAttr, CodeWalkthroughAttr } from '@redocly/config';
import { type WalkthroughControlsState, type WalkthroughStepsState } from '../../../core/hooks';
export type WalkthroughState = {
    stepsState: WalkthroughStepsState;
    controlsState: WalkthroughControlsState;
    downloadAssociatedFiles: CodeWalkthroughFile[];
    files: CodeWalkthroughFile[];
};
export declare function useCodeWalkthrough(steps: CodeWalkthroughStepAttr[], attributes: Omit<CodeWalkthroughAttr, 'steps' | 'preview'>): WalkthroughState;
