import type { CodeWalkthroughFile } from '@redocly/config';
import type { IconProps } from '../../../icons/types';
export type RenderableFile = CodeWalkthroughFile & {
    FileIcon: React.FunctionComponent<IconProps>;
    parentFolder: string;
    isNameDuplicate: boolean;
    inRootDir: boolean;
};
export declare function useRenderableFiles(files: CodeWalkthroughFile[]): RenderableFile[];
