import { TLBoundsWithCenter, TLSnapLine, TLBounds } from '@tldraw/core'; import { TDShape, TldrawCommand, TDStatus, SessionType, ArrowBinding, TldrawPatch } from '../../../types'; import { BaseSession } from '../BaseSession'; import type { TldrawApp } from '../../internal'; declare type CloneInfo = { state: 'empty'; } | { state: 'ready'; cloneMap: Record; clones: TDShape[]; clonedBindings: ArrowBinding[]; }; declare type SnapInfo = { state: 'empty'; } | { state: 'ready'; others: TLBoundsWithCenter[]; bounds: TLBoundsWithCenter[]; }; export declare class TranslateSession extends BaseSession { performanceMode: undefined; type: SessionType; status: TDStatus; delta: number[]; prev: number[]; prevPoint: number[]; speed: number; cloneInfo: CloneInfo; snapInfo: SnapInfo; snapLines: TLSnapLine[]; isCloning: boolean; isCreate: boolean; link: 'left' | 'right' | 'center' | false; initialIds: Set; hasUnlockedShapes: boolean; initialSelectedIds: string[]; initialCommonBounds: TLBounds; initialShapes: TDShape[]; initialParentChildren: Record; bindingsToDelete: ArrowBinding[]; constructor(app: TldrawApp, isCreate?: boolean, link?: 'left' | 'right' | 'center' | false); start: () => TldrawPatch | undefined; update: () => TldrawPatch | undefined; cancel: () => TldrawPatch | undefined; private arraysEqual; complete: () => TldrawPatch | TldrawCommand | undefined; private createCloneInfo; } export {}; //# sourceMappingURL=TranslateSession.d.ts.map