Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
export * from './affine';
export { resolveAppearance } from './appearance';
export * from './artifact-commands';
export * from './artifact-order';
export type { GraphicsBackend } from './backend';
export {
fitImageCamera,
INITIAL_CAMERA,
MAX_SCALE,
MIN_SCALE,
screenToWorld,
worldToScreen,
zoomAt,
} from './camera';
export * from './commands';
export * from './connector-commands';
export {
type ConnectorGesture,
createConnectorInteraction,
} from './connector-interaction';
export * from './connectors';
export { dotGridLevels } from './dot-grid';
export type { DrawingKind, DrawingModifiers, DrawingSample } from './drawing';
export {
createGraphicsEditor,
createGraphicsEditorFromBackend,
type EditingSession,
type GraphicsEditor,
type GraphicsEditorOptions,
} from './editor';
export * from './fragments';
export * from './insert';
export { type LayerOperation, reorderNodes } from './layering';
export { fullyConnected, layoutBounds, layoutRoots } from './layout';
export type {
Appearance,
ArtifactItem,
Bounds,
Camera,
EllipseItem,
GraphicsDocument,
GraphicsItem,
GroupItem,
ImageSurface,
PencilItem,
Placement,
Point,
RectangleItem,
ShapeGeometryMap,
ShapeItem,
ShapeKind,
SurfaceItem,
} from './model';
export type { ObjectSnapStats, SnapGuide } from './object-snapping';
export {
isSortKey,
type LayerPosition,
type SortKey,
sortKeysBetween,
} from './ordering';
export * from './radius';
export * from './rich-text';
export * from './scene';
export type { TransformHandle, TransformModifiers } from './selection';
export {
createSelection,
type ResizeCorner,
type ResizeEdge,
type ResizeHandle,
type ResizeModifiers,
type SelectionHost,
type SelectionState,
} from './selection';
export {
type SelectionFrame,
selectionContainsPoint,
selectionFrame,
} from './selection-frame';
export * from './shapes/artifact';
export {
type ConnectorAnchor,
type ConnectorBinding,
type ConnectorEndpoint,
type ConnectorGeometry,
connectorAnchors,
connectorDefinition,
} from './shapes/connector';
export {
type ConnectorHead,
type ConnectorRoute,
connectorHead,
connectorPath,
} from './shapes/connector-routing';
export type { HitTestContext, ShapeDefinition } from './shapes/definition';
export { ellipseDefinition } from './shapes/ellipse';
export * from './shapes/embedded';
export {
canLabel,
type LabelShape,
labelTextGeometry,
measureShapeLabel,
type ShapeLabel,
shapeLabelLayout,
shapeLabelText,
withShapeLabel,
} from './shapes/label';
export {
type PencilGeometry,
type PencilPoint,
pencilDefinition,
} from './shapes/pencil';
export { rectangleDefinition } from './shapes/rectangle';
export {
isShape,
isShapeKind,
shapeDefinition,
shapeDefinitions,
shapeKinds,
shapePayload,
} from './shapes/registry';
export {
type TextFitMode,
type TextFont,
type TextGeometry,
type TextMeasurer,
textDefinition,
} from './shapes/text';
export { snapPoint, snapTranslation, snapValue } from './snapping';
export { regenerateScaledShapes, stretchShapes } from './stretch';
export { selectedShapeIds } from './style-selection';
export * from './text-commands';
export {
fitTextLayout,
type TextFitEffect,
type TextFitRequest,
type TextFitResult,
} from './text-fit';
export { textTargetAt } from './text-target';