import { type EditEnv } from '../doc/index.js'; import { type Selection } from '../caret/index.js'; import { type ElementNode, type NabiDoc } from '../schema/index.js'; export declare function clipboardBodyOf(doc: NabiDoc, selection: Selection, env: EditEnv): readonly ElementNode[]; export declare function dressClipHtml(html: string): string; export declare function loneFileLink(html: string): boolean; export declare function fileClipHtml(inner: string): string; export declare function wrapClipHtml(inner: string, opens: readonly string[]): string; export declare function clipContextOf(range: Range, root: Element): readonly Element[]; export declare function clipHtmlOf(range: Range, root: Element, owner: Document): string; export interface ClipTarget { setData(type: string, value: string): void; } export declare const NABI_CLIPBOARD_MIME = "application/vnd.nabi.tree+json"; export declare function encodeClipboardBody(body: unknown): string; export declare function loadClipboard(target: ClipTarget, body: unknown, html: string, plain: string): boolean; //# sourceMappingURL=clipboard.d.ts.map