import type { IntlShape } from 'react-intl';
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
import type { CodeBlockPlugin } from '../index';
import type { CodeBlockState } from './main-state';
export declare const createPlugin: ({ useLongPressSelection, getIntl, allowCompositionInputOverride, api, }: {
    allowCompositionInputOverride?: boolean;
    api?: ExtractInjectionAPI<CodeBlockPlugin>;
    decorations?: DecorationSet;
    getIntl: () => IntlShape;
    useLongPressSelection?: boolean;
}) => SafePlugin<CodeBlockState>;
