UNPKG

@zsviczian/excalidraw

Version:
8 lines (7 loc) 325 B
import type { Scene } from "./Scene"; import type { ExcalidrawElement } from "./types"; export interface Alignment { position: "start" | "center" | "end"; axis: "x" | "y"; } export declare const alignElements: (selectedElements: ExcalidrawElement[], alignment: Alignment, scene: Scene) => ExcalidrawElement[];