import { SafePlugin } from '@uidu/editor-common/safe-plugin';
import { EditorState, PluginKey } from 'prosemirror-state';
import { DecorationSet } from 'prosemirror-view';
import { EditorPlugin } from "../../types/index.js";
export declare const pluginKey: PluginKey<any>;
export declare function createPlaceholderDecoration(editorState: EditorState, placeholderText: string, pos?: number): DecorationSet;
export declare function createPlugin(defaultPlaceholderText?: string, placeholderHints?: string[], bracketPlaceholderText?: string): SafePlugin | undefined;
export interface PlaceholderPluginOptions {
    placeholder?: string;
    placeholderHints?: string[];
    placeholderBracketHint?: string;
}
declare const placeholderPlugin: (options?: PlaceholderPluginOptions) => EditorPlugin;
export default placeholderPlugin;
