/// <reference types="react" />
/**
 * This decorator displays current story name, package version and imported editor-core version.
 * To use this decorator, call addDecorator() in your storybook, like so:
 *
 *   import { version } from '../src';
 *   import { nameAndVersionStoryDecorator } from '@atlaskit/editor-core/test-helper';
 *
 *   storiesOf(name, module)
 *     .addDecorator(nameAndVersionStoryDecorator(version))
 *
 */
export default function (packageVersion: any): (story: Function, context: {
    kind: string;
    story: string;
}) => JSX.Element;
