/**
 * @typedef {import('prosemirror-state').EditorState} EditorState
 * @typedef {import('prosemirror-model').Node} ProseMirrorNode
 * @typedef {import('prosemirror-model').Fragment} Fragment
 */
/**
 * Checks if clipboard read permission is granted and handles permission prompts.
 * Returns true if clipboard-read permission is granted. If state is "prompt" it will
 * proactively trigger a readText() call which will surface the browser permission
 * dialog to the user. Falls back gracefully in older browsers that lack the
 * Permissions API.
 * @returns {Promise<boolean>} Whether clipboard read permission is granted
 */
export function ensureClipboardPermission(): Promise<boolean>;
/**
 * Reads raw HTML and text from the system clipboard (for use in paste actions).
 * @returns {Promise<{ html: string, text: string }>}
 */
export function readClipboardRaw(): Promise<{
    html: string;
    text: string;
}>;
/**
 * Reads content from the system clipboard and parses it into a ProseMirror fragment.
 * Attempts to read HTML first, falling back to plain text if necessary.
 * @param {EditorState} state - The ProseMirror editor state, used for schema and parsing.
 * @returns {Promise<Fragment|ProseMirrorNode|null>} A promise that resolves to a ProseMirror fragment or text node, or null if reading fails.
 */
export function readFromClipboard(state: EditorState): Promise<Fragment | ProseMirrorNode | null>;
export type EditorState = import("prosemirror-state").EditorState;
export type ProseMirrorNode = import("prosemirror-model").Node;
export type Fragment = import("prosemirror-model").Fragment;
//# sourceMappingURL=clipboardUtils.d.ts.map