import type { Extension } from '@codemirror/state';
import type { IntlShape } from 'react-intl';
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { CodeBlockAdvancedPlugin } from '../codeBlockAdvancedPluginType';
interface Props {
    allowCodeFolding: boolean;
    api: ExtractInjectionAPI<CodeBlockAdvancedPlugin> | undefined;
    extensions: Extension[];
    getIntl: () => IntlShape;
}
export declare const createPlugin: (props: Props) => SafePlugin;
export {};
