import { CanvasInternals } from '@remotion/sdk'; import type { OutlinePoint, SelectedOutline } from './selected-outline-geometry'; import { type TimelineSelection } from './Timeline/TimelineSelection'; export declare const { getCanvasOutlineSelectionInteraction: getOutlineSelectionInteraction, getCanvasSelectedSequenceKeys: getSelectedSequenceKeys, getCanvasSequenceKeysContainingSelection: getSequenceKeysContainingSelection, cropCanvasOutlinePoints: cropOutlinePoints, getTransformedSvgViewportPoints, measureCanvasOutlineTargets: measureOutlineTargets, }: typeof CanvasInternals; export declare const pointToString: (point: OutlinePoint) => string; export declare const midpoint: (from: OutlinePoint, to: OutlinePoint) => OutlinePoint; export declare const getOutlineCenter: (points: SelectedOutline['points']) => OutlinePoint; export declare const dot: (left: OutlinePoint, right: OutlinePoint) => number; export declare const vectorLength: (vector: OutlinePoint) => number; export declare const vectorBetween: (from: OutlinePoint, to: OutlinePoint) => OutlinePoint; export declare const getAngleDegrees: (from: OutlinePoint, to: OutlinePoint) => number; export declare const getSelectedOutlineRotationDeltaDegrees: ({ from, to, }: { readonly from: number; readonly to: number; }) => number; export type SelectedOutlineRotationCorner = 'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'; export declare const getRotationCursor: (rotation: number) => string; export declare const getSelectedOutlineRotationCornerInfo: (points: SelectedOutline['points'], corner: SelectedOutlineRotationCorner) => { center: OutlinePoint; cursor: string; cursorDegrees: number; point: OutlinePoint; }; export declare const getSelectedOutlineRotationPivot: ({ dimensions, points, transformOriginValue, }: { readonly dimensions: SelectedOutline['dimensions']; readonly points: SelectedOutline['points']; readonly transformOriginValue: string; }) => OutlinePoint; type SelectedEffectFields = { allFields: boolean; fieldKeys: Set; }; export declare const getSelectedEffectFieldsBySequenceKey: (selectedItems: readonly TimelineSelection[]) => Map>; type SelectedTransformOriginInfo = { readonly sequenceKey: string; readonly displayFrame: number | null; }; export type SelectedRotationInfo = { readonly sequenceKey: string; readonly displayFrame: number | null; }; export type SelectedCropInfo = { readonly sequenceKey: string; readonly displayFrame: number | null; }; export declare const getSelectedCropInfo: (selectedItems: readonly TimelineSelection[]) => SelectedCropInfo | null; export declare const getSelectedTransformOriginInfo: (selectedItems: readonly TimelineSelection[]) => SelectedTransformOriginInfo | null; export declare const getSelectedRotationInfo: (selectedItems: readonly TimelineSelection[]) => SelectedRotationInfo | null; export {};