import { FC } from 'react'; import { SourceProps } from '@component-controls/components'; import { StoryInputProps } from '@component-controls/store'; import { StoryBlockContainerProps } from '../BlockContainer/story'; import { ViewStyle } from './BaseStorySource'; export interface StorySourceOwnProps { /** * initial view mode */ viewStyle?: ViewStyle; /** * source code options */ sourceProps?: SourceProps; } export declare type StorySourceProps = StorySourceOwnProps & StoryBlockContainerProps & StoryInputProps; /** * Display source code of a story. * If controls are used, all story arguments will be highlighted. * Additional commands are made available if the repository data of the story is available. */ export declare const StorySource: FC;