/** @jsx jsx */ import { FC, Ref } from 'react'; import { CSSProperties } from 'theme-ui'; import { StoryInputProps } from '@component-controls/store'; import { StoryBlockContainerProps } from '../BlockContainer/story'; import { StoryWrapperType } from './StoryRender'; export interface StoryOwnProps { /** * ref can be used by blocks embedding Story - ie ally plugin */ ref?: Ref; /** * used by other blocks * ie ally plugin uses it launch a new ally test on re-render */ onRender?: () => void; /** * wrapper type - can be an iframe or just regular react */ wrapper?: StoryWrapperType; /** * if an iframe wrapper - this is additional iframe style */ iframeStyle?: CSSProperties; } export declare type StoryProps = StoryOwnProps & StoryInputProps & StoryBlockContainerProps; /** * block component to render story function with decorators */ export declare const Story: FC;