import { type BaseBlockModel, type DeltaOperation, type Page } from '@revesuite/store'; import type { EdgelessPageBlockComponent } from '../../../page-block/edgeless/edgeless-page-block.js'; import { type BlockRange, type SerializedBlock } from '../../utils/index.js'; export declare function getBlockClipboardInfo(model: BaseBlockModel, begin?: number, end?: number): { html: string; text: string; json: SerializedBlock; model: BaseBlockModel; }; export declare function copyBlocks(range: BlockRange): void; export declare function clipboardData2Blocks(page: Page, clipboardData: ClipboardEvent['clipboardData']): Promise; /** * Note: This function will modify the deltas **in place** */ export declare function normalizeDelta(page: Page, deltas: DeltaOperation[]): DeltaOperation[]; /** * Replace Subpage reference to LinkedPage reference when try to paste duplicated subpage */ export declare function normalizePasteBlocks(page: Page, blocks: SerializedBlock[]): SerializedBlock[]; export declare function copySurfaceText(edgeless: EdgelessPageBlockComponent): void; //# sourceMappingURL=commons.d.ts.map