///
import { Atom } from '@tldraw/editor';
import { BaseBoxShapeTool } from '@tldraw/editor';
import { BaseBoxShapeUtil } from '@tldraw/editor';
import { BindingOnChangeOptions } from '@tldraw/editor';
import { BindingOnCreateOptions } from '@tldraw/editor';
import { BindingOnShapeChangeOptions } from '@tldraw/editor';
import { BindingOnShapeIsolateOptions } from '@tldraw/editor';
import { BindingUtil } from '@tldraw/editor';
import { Box } from '@tldraw/editor';
import { Circle2d } from '@tldraw/editor';
import { ComponentType } from 'react';
import { CSSProperties } from 'react';
import { CubicSpline2d } from '@tldraw/editor';
import { Editor } from '@tldraw/editor';
import { Extension } from '@tiptap/core';
import { Extensions } from '@tiptap/core';
import { Geometry2d } from '@tldraw/editor';
import { Group2d } from '@tldraw/editor';
import { HandleSnapGeometry } from '@tldraw/editor';
import { IndexKey } from '@tldraw/editor';
import { JsonObject } from '@tldraw/editor';
import { JSX as JSX_2 } from 'react/jsx-runtime';
import { LANGUAGES } from '@tldraw/editor';
import { MigrationFailureReason } from '@tldraw/editor';
import { MigrationSequence } from '@tldraw/editor';
import { NamedExoticComponent } from 'react';
import { Node as Node_2 } from '@tiptap/pm/model';
import { PointerEvent as PointerEvent_2 } from 'react';
import { Polygon2d } from '@tldraw/editor';
import { Polyline2d } from '@tldraw/editor';
import * as React_2 from 'react';
import { default as React_3 } from 'react';
import { ReactElement } from 'react';
import { ReactNode } from 'react';
import { ReadonlySharedStyleMap } from '@tldraw/editor';
import { RecordProps } from '@tldraw/editor';
import { Rectangle2d } from '@tldraw/editor';
import { RecursivePartial } from '@tldraw/editor';
import { RefObject } from 'react';
import { Result } from '@tldraw/editor';
import { RichTextFontVisitorState } from '@tldraw/editor';
import { SerializedSchema } from '@tldraw/editor';
import { ShapeUtil } from '@tldraw/editor';
import { ShapeWithCrop } from '@tldraw/editor';
import { SharedStyle } from '@tldraw/editor';
import { StateNode } from '@tldraw/editor';
import { StyleProp } from '@tldraw/editor';
import { SvgExportContext } from '@tldraw/editor';
import { TiptapEditor } from '@tldraw/editor';
import { TLAnyBindingUtilConstructor } from '@tldraw/editor';
import { TLAnyShapeUtilConstructor } from '@tldraw/editor';
import { TLArrowBinding } from '@tldraw/editor';
import { TLArrowBindingProps } from '@tldraw/editor';
import { TLArrowShape } from '@tldraw/editor';
import { TLArrowShapeArrowheadStyle } from '@tldraw/editor';
import { TLArrowShapeProps } from '@tldraw/editor';
import { TLAsset } from '@tldraw/editor';
import { TLAssetId } from '@tldraw/editor';
import { TLBookmarkAsset } from '@tldraw/editor';
import { TLBookmarkShape } from '@tldraw/editor';
import { TLBookmarkShapeProps } from '@tldraw/editor';
import { TLClickEventInfo } from '@tldraw/editor';
import { TLContent } from '@tldraw/editor';
import { TLCropInfo } from '@tldraw/editor';
import { TLDefaultColorTheme } from '@tldraw/editor';
import { TLDefaultColorThemeColor } from '@tldraw/editor';
import { TLDefaultFillStyle } from '@tldraw/editor';
import { TLDefaultFontStyle } from '@tldraw/editor';
import { TLDefaultHorizontalAlignStyle } from '@tldraw/editor';
import { TLDefaultSizeStyle } from '@tldraw/editor';
import { TLDefaultVerticalAlignStyle } from '@tldraw/editor';
import { TldrawEditorBaseProps } from '@tldraw/editor';
import { TldrawEditorStoreProps } from '@tldraw/editor';
import { TLDrawShape } from '@tldraw/editor';
import { TLDrawShapeProps } from '@tldraw/editor';
import { TLDrawShapeSegment } from '@tldraw/editor';
import { TLEditorComponents } from '@tldraw/editor';
import { TLEditorSnapshot } from '@tldraw/editor';
import { TLEmbedShape } from '@tldraw/editor';
import { TLEmbedShapeProps } from '@tldraw/editor';
import { TLExportType } from '@tldraw/editor';
import { TLFileExternalAsset } from '@tldraw/editor';
import { TLFontFace } from '@tldraw/editor';
import { TLFrameShape } from '@tldraw/editor';
import { TLFrameShapeProps } from '@tldraw/editor';
import { TLGeometryOpts } from '@tldraw/editor';
import { TLGeoShape } from '@tldraw/editor';
import { TLGeoShapeProps } from '@tldraw/editor';
import { TLHandle } from '@tldraw/editor';
import { TLHandleDragInfo } from '@tldraw/editor';
import { TLHandlesProps } from '@tldraw/editor';
import { TLHighlightShape } from '@tldraw/editor';
import { TLHighlightShapeProps } from '@tldraw/editor';
import { TLImageAsset } from '@tldraw/editor';
import { TLImageExportOptions } from '@tldraw/editor';
import { TLImageShape } from '@tldraw/editor';
import { TLImageShapeProps } from '@tldraw/editor';
import { TLKeyboardEventInfo } from '@tldraw/editor';
import { TLLineShape } from '@tldraw/editor';
import { TLLineShapePoint } from '@tldraw/editor';
import { TLNoteShape } from '@tldraw/editor';
import { TLNoteShapeProps } from '@tldraw/editor';
import { TLPageId } from '@tldraw/editor';
import { TLParentId } from '@tldraw/editor';
import { TLPointerEventInfo } from '@tldraw/editor';
import { TLPropsMigrations } from '@tldraw/editor';
import { TLResizeInfo } from '@tldraw/editor';
import { TLRichText } from '@tldraw/editor';
import { TLSchema } from '@tldraw/editor';
import { TLScribbleProps } from '@tldraw/editor';
import { TLSelectionForegroundProps } from '@tldraw/editor';
import { TLShape } from '@tldraw/editor';
import { TLShapeCrop } from '@tldraw/editor';
import { TLShapeId } from '@tldraw/editor';
import { TLShapePartial } from '@tldraw/editor';
import { TLShapeUtilCanBeLaidOutOpts } from '@tldraw/editor';
import { TLShapeUtilCanBindOpts } from '@tldraw/editor';
import { TLShapeUtilCanvasSvgDef } from '@tldraw/editor';
import { TLShapeUtilConstructor } from '@tldraw/editor';
import { TLStateNodeConstructor } from '@tldraw/editor';
import { TLStore } from '@tldraw/editor';
import { TLStoreSnapshot } from '@tldraw/editor';
import { TLTextOptions } from '@tldraw/editor';
import { TLTextShape } from '@tldraw/editor';
import { TLUrlExternalAsset } from '@tldraw/editor';
import { TLVideoAsset } from '@tldraw/editor';
import { TLVideoShape } from '@tldraw/editor';
import { UnknownRecord } from '@tldraw/editor';
import { Vec } from '@tldraw/editor';
import { VecLike } from '@tldraw/editor';
import { VecModel } from '@tldraw/editor';
/** @public */
export declare type A11yPriority = 'assertive' | 'polite';
/** @public */
export declare interface A11yProviderProps {
children: React.ReactNode;
}
/** @public */
export declare interface ActionsProviderProps {
overrides?(editor: Editor, actions: TLUiActionsContextType, helpers: TLUiOverrideHelpers): TLUiActionsContextType;
children: React_2.ReactNode;
}
/** @public */
export declare type AlertSeverity = 'error' | 'info' | 'success' | 'warning';
/** @public @react */
export declare function AlignMenuItems(): JSX_2.Element;
/** @public */
export declare const allDefaultFontFaces: TLFontFace[];
/** @public @react */
export declare function ArrangeMenuSubmenu(): JSX_2.Element | null;
/** @public */
export declare const ARROW_LABEL_FONT_SIZES: Record;
/**
* @public
*/
export declare class ArrowBindingUtil extends BindingUtil {
static type: string;
static props: RecordProps;
static migrations: TLPropsMigrations;
getDefaultProps(): Partial;
onAfterCreate({ binding }: BindingOnCreateOptions): void;
onAfterChange({ bindingAfter }: BindingOnChangeOptions): void;
onAfterChangeFromShape({ shapeAfter, }: BindingOnShapeChangeOptions): void;
onAfterChangeToShape({ binding }: BindingOnShapeChangeOptions): void;
onBeforeIsolateFromShape({ binding, }: BindingOnShapeIsolateOptions): void;
}
/** @public @react */
export declare function ArrowDownToolbarItem(): JSX_2.Element;
/** @public @react */
export declare function ArrowheadStylePickerSet({ styles }: StylePickerSetProps): JSX_2.Element | null;
/** @public @react */
export declare function ArrowLeftToolbarItem(): JSX_2.Element;
/** @public @react */
export declare function ArrowRightToolbarItem(): JSX_2.Element;
/**
* Options for the arrow shape.
*
* @example
* ```tsx
* const shapeUtils = [
* ArrowShapeUtil.configure({ arcArrowCenterSnapDistance: 0 }),
* ]
*
* function MyApp() {
* return
* }
* ```
*
* @public
*/
export declare interface ArrowShapeOptions {
/**
* How far should elbow arrows expand from the shapes they're targeting?
*/
readonly expandElbowLegLength: Record;
/**
* The minimum length of an elbow arrow's leg.
*/
readonly minElbowLegLength: Record;
/**
* The minimum distance, in screen pixels, between two handles on an elbow arrow. If two handles
* would be closer than this distance, they're both hidden.
*/
readonly minElbowHandleDistance: number;
/**
* The distance, in screen pixels, at which we snap to the center of a target shape when drawing
* an arc arrow. Set to 0 to disable.
*/
readonly arcArrowCenterSnapDistance: number;
/**
* The distance, in screen pixels, at which we snap to the center of a target shape when drawing
* an elbow arrow. Set to 0 to disable.
*/
readonly elbowArrowCenterSnapDistance: number;
/**
* The distance, in screen pixels, at which we snap to the edge of a target shape when drawing
* an elbow arrow. Set to 0 to disable.
*/
readonly elbowArrowEdgeSnapDistance: number;
/**
* The distance, in screen pixels, at which we snap to one of the 4 directional points (top,
* right, bottom, left) of a target shape when drawing an elbow arrow. Set to 0 to disable.
*/
readonly elbowArrowPointSnapDistance: number;
/**
* The distance, in screen pixels, at which we snap to the axis passing through the center of a
* shape when drawing an elbow arrow. Set to 0 to disable.
*/
readonly elbowArrowAxisSnapDistance: number;
/**
* The distance, in screen pixels, at which we snap an arrow label to center of the arrow when
* dragging it. Set to 0 to disable.
*/
readonly labelCenterSnapDistance: number;
/**
* The distance, in screen pixels, at which we snap an elbow arrow midpoint handle to the
* midpoint between two shapes. Set to 0 to disable.
*/
readonly elbowMidpointSnapDistance: number;
/**
* The minimum length, in screen pixels, of an elbow arrows midpoint segment before we show the
* handle for dragging that segment.
*/
readonly elbowMinSegmentLengthToShowMidpointHandle: number;
/**
* When hovering over a shape using the arrow tool, how long should we wait before we assume the
* user is targeting precisely instead of imprecisely.
*/
readonly hoverPreciseTimeout: number;
/**
* When pointing at a shape using the arrow tool or draggin an arrow terminal handle, how long
* should we wait before we assume the user is targeting precisely instead of imprecisely.
*/
readonly pointingPreciseTimeout: number;
}
/** @public */
export declare class ArrowShapeTool extends StateNode {
static id: string;
static initial: string;
static children(): TLStateNodeConstructor[];
shapeType: string;
}
/** @public */
export declare class ArrowShapeUtil extends ShapeUtil {
static type: "arrow";
static props: RecordProps;
static migrations: MigrationSequence;
options: ArrowShapeOptions;
canEdit(): boolean;
canBind({ toShapeType }: TLShapeUtilCanBindOpts): boolean;
canSnap(): boolean;
canTabTo(shape: TLArrowShape): boolean;
hideResizeHandles(): boolean;
hideRotateHandle(): boolean;
hideSelectionBoundsBg(): boolean;
hideSelectionBoundsFg(): boolean;
canBeLaidOut(shape: TLArrowShape, info: TLShapeUtilCanBeLaidOutOpts): boolean;
getFontFaces(shape: TLArrowShape): TLFontFace[];
getDefaultProps(): TLArrowShape['props'];
getGeometry(shape: TLArrowShape): Group2d;
getHandles(shape: TLArrowShape): TLHandle[];
getText(shape: TLArrowShape): string;
onHandleDrag(shape: TLArrowShape, info: TLHandleDragInfo): ({
id: TLShapeId;
meta?: Partial | undefined;
props?: Partial | undefined;
type: "arrow";
} & Partial>) | {
id: TLShapeId;
props: {
bend: number;
};
type: "arrow";
} | {
id: TLShapeId;
props: {
elbowMidPoint: number;
};
type: "arrow";
} | undefined;
private onArcMidpointHandleDrag;
private onElbowMidpointHandleDrag;
private onTerminalHandleDrag;
onTranslateStart(shape: TLArrowShape): ({
id: TLShapeId;
meta?: Partial | undefined;
props?: Partial | undefined;
type: "arrow";
} & Partial>) | undefined;
onTranslate(initialShape: TLArrowShape, shape: TLArrowShape): void;
private readonly _resizeInitialBindings;
onResize(shape: TLArrowShape, info: TLResizeInfo): {
props: {
bend: number;
end: VecModel;
start: VecModel;
};
};
onDoubleClickHandle(shape: TLArrowShape, handle: TLHandle): TLShapePartial | void;
component(shape: TLArrowShape): JSX_2.Element | null;
indicator(shape: TLArrowShape): JSX_2.Element | null;
onEditStart(shape: TLArrowShape): void;
onEditEnd(shape: TLArrowShape): void;
toSvg(shape: TLArrowShape, ctx: SvgExportContext): JSX_2.Element;
getCanvasSvgDefs(): TLShapeUtilCanvasSvgDef[];
getInterpolatedProps(startShape: TLArrowShape, endShape: TLArrowShape, progress: number): TLArrowShapeProps;
}
/** @public @react */
export declare function ArrowToolbarItem(): JSX_2.Element;
/** @public @react */
export declare function ArrowUpToolbarItem(): JSX_2.Element;
/** @public @react */
export declare function AssetToolbarItem(): JSX_2.Element;
/* Excluded from this release type: AssetUrlsProvider */
/** @public */
export declare class BookmarkShapeUtil extends BaseBoxShapeUtil {
static type: "bookmark";
static props: RecordProps;
static migrations: TLPropsMigrations;
canResize(): boolean;
hideSelectionBoundsFg(): boolean;
getText(shape: TLBookmarkShape): string;
getAriaDescriptor(shape: TLBookmarkShape): string | undefined;
getDefaultProps(): TLBookmarkShape['props'];
component(shape: TLBookmarkShape): JSX_2.Element;
indicator(shape: TLBookmarkShape): JSX_2.Element;
onBeforeCreate(next: TLBookmarkShape): {
id: TLShapeId;
index: IndexKey;
isLocked: boolean;
meta: JsonObject;
opacity: number;
parentId: TLParentId;
props: {
assetId: null | TLAssetId;
h: number;
url: string;
w: number;
};
rotation: number;
type: "bookmark";
typeName: "shape";
x: number;
y: number;
};
onBeforeUpdate(prev: TLBookmarkShape, shape: TLBookmarkShape): {
id: TLShapeId;
index: IndexKey;
isLocked: boolean;
meta: JsonObject;
opacity: number;
parentId: TLParentId;
props: {
assetId: null | TLAssetId;
h: number;
url: string;
w: number;
};
rotation: number;
type: "bookmark";
typeName: "shape";
x: number;
y: number;
} | undefined;
getInterpolatedProps(startShape: TLBookmarkShape, endShape: TLBookmarkShape, t: number): TLBookmarkShapeProps;
}
/** @public */
export declare interface BoxWidthHeight {
w: number;
h: number;
}
/** @public @react */
export declare function BreakPointProvider({ forceMobile, children }: BreakPointProviderProps): JSX_2.Element;
/** @public */
export declare interface BreakPointProviderProps {
forceMobile?: boolean;
children: ReactNode;
}
/* Excluded from this release type: buildFromV1Document */
/** @public @react */
export declare function CenteredTopPanelContainer({ maxWidth, ignoreRightWidth, stylePanelWidth, marginBetweenZones, squeezeAmount, children, }: CenteredTopPanelContainerProps): JSX_2.Element;
/** @public */
export declare interface CenteredTopPanelContainerProps {
children: ReactNode;
maxWidth?: number;
ignoreRightWidth?: number;
stylePanelWidth?: number;
marginBetweenZones?: number;
squeezeAmount?: number;
}
/**
* Repositions selected shapes do that the center of the group is
* at the provided position
*
* @param editor - The editor instance
*
* @param position - the point to center the shapes around
*
* @public
*/
export declare function centerSelectionAroundPoint(editor: Editor, position: VecLike): void;
/** @public @react */
export declare function CheckBoxToolbarItem(): JSX_2.Element;
/** @public @react */
export declare function ClipboardMenuGroup(): JSX_2.Element;
/** @public @react */
export declare function CloudToolbarItem(): JSX_2.Element;
/** @public @react */
export declare function ColorSchemeMenu(): JSX_2.Element;
/** @public @react */
export declare function CommonStylePickerSet({ styles, theme }: ThemeStylePickerSetProps): JSX_2.Element;
/**
* Contains the size within the given box size
*
* @param originalSize - The size of the asset
* @param containBoxSize - The container size
* @returns Adjusted size
* @public
*/
export declare function containBoxSize(originalSize: BoxWidthHeight, containBoxSize: BoxWidthHeight): BoxWidthHeight;
/** @public @react */
export declare function ConversionsMenuGroup(): JSX_2.Element | null;
/** @public @react */
export declare function ConvertToBookmarkMenuItem(): JSX_2.Element | null;
/** @public @react */
export declare function ConvertToEmbedMenuItem(): JSX_2.Element | null;
/**
* Copy the given shapes to the clipboard.
*
* @param editor - The editor instance.
* @param ids - The ids of the shapes to copy.
* @param format - The format to copy as. Defaults to png.
* @param opts - Options for the copy.
*
* @public
*/
export declare function copyAs(editor: Editor, ids: TLShapeId[], opts: CopyAsOptions): Promise;
/**
* @deprecated The format parameter is now part of the opts object.
* @public
*/
export declare function copyAs(editor: Editor, ids: TLShapeId[], format: TLCopyType, opts?: TLImageExportOptions & {
format?: undefined;
}): Promise;
/** @public @react */
export declare function CopyAsMenuGroup(): JSX_2.Element;
/** @public */
export declare interface CopyAsOptions extends TLImageExportOptions {
/** The format to copy as. */
format: TLCopyType;
}
/** @public @react */
export declare function CopyMenuItem(): JSX_2.Element;
/** @public */
export declare function createEmptyBookmarkShape(editor: Editor, url: string, position: VecLike): TLBookmarkShape;
/**
* A helper function for an external content handler. It creates bookmarks,
* images or video shapes corresponding to the type of assets provided.
*
* @param editor - The editor instance
*
* @param assets - An array of asset Ids
*
* @param position - the position at which to create the shapes
*
* @public
*/
export declare function createShapesForAssets(editor: Editor, assets: TLAsset[], position: VecLike): Promise;
/** @public */
export declare interface CropBoxOptions {
minWidth?: number;
minHeight?: number;
}
/** @public @react */
export declare function CursorChatItem(): JSX_2.Element | null;
/** @public */
export declare interface CustomEmbedDefinition extends EmbedDefinition {
readonly icon: string;
}
/** @public @react */
export declare function CutMenuItem(): JSX_2.Element;
/** @public @react */
export declare function DebugFlags(): JSX_2.Element | null;
/** @public */
export declare const DEFAULT_EMBED_DEFINITIONS: readonly [{
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["beta.tldraw.com", "tldraw.com", "localhost:3000"];
readonly minHeight: 300;
readonly minWidth: 300;
readonly overridePermissions: {
readonly 'allow-top-navigation': true;
};
readonly title: "tldraw";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "tldraw";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["figma.com"];
readonly title: "Figma";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "figma";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["google.*"];
readonly overridePermissions: {
readonly 'allow-presentation': true;
};
readonly title: "Google Maps";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "google_maps";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["val.town"];
readonly minHeight: 100;
readonly minWidth: 260;
readonly title: "Val Town";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "val_town";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["codesandbox.io"];
readonly minHeight: 300;
readonly minWidth: 300;
readonly title: "CodeSandbox";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "codesandbox";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 400;
readonly hostnames: readonly ["codepen.io"];
readonly minHeight: 300;
readonly minWidth: 300;
readonly title: "Codepen";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "codepen";
readonly width: 520;
}, {
readonly doesResize: false;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 400;
readonly hostnames: readonly ["scratch.mit.edu"];
readonly title: "Scratch";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "scratch";
readonly width: 520;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 450;
readonly hostnames: readonly ["*.youtube.com", "youtube.com", "youtu.be"];
readonly isAspectRatioLocked: true;
readonly overridePermissions: {
readonly 'allow-popups-to-escape-sandbox': true;
readonly 'allow-presentation': true;
};
readonly title: "YouTube";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "youtube";
readonly width: 800;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["calendar.google.*"];
readonly instructionLink: "https://support.google.com/calendar/answer/41207?hl=en";
readonly minHeight: 360;
readonly minWidth: 460;
readonly overridePermissions: {
readonly 'allow-popups-to-escape-sandbox': true;
};
readonly title: "Google Calendar";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "google_calendar";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["docs.google.*"];
readonly minHeight: 360;
readonly minWidth: 460;
readonly overridePermissions: {
readonly 'allow-popups-to-escape-sandbox': true;
};
readonly title: "Google Slides";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "google_slides";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["gist.github.com"];
readonly title: "GitHub Gist";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "github_gist";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["replit.com"];
readonly title: "Replit";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "replit";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["felt.com"];
readonly title: "Felt";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "felt";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["open.spotify.com"];
readonly minHeight: 500;
readonly overrideOutlineRadius: 12;
readonly title: "Spotify";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "spotify";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 360;
readonly hostnames: readonly ["vimeo.com", "player.vimeo.com"];
readonly isAspectRatioLocked: true;
readonly title: "Vimeo";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "vimeo";
readonly width: 640;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["excalidraw.com"];
readonly isAspectRatioLocked: true;
readonly title: "Excalidraw";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "excalidraw";
readonly width: 720;
}, {
readonly backgroundColor: "#fff";
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 500;
readonly hostnames: readonly ["observablehq.com"];
readonly isAspectRatioLocked: false;
readonly title: "Observable";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "observable";
readonly width: 720;
}, {
readonly doesResize: true;
readonly fromEmbedUrl: (url: string) => string | undefined;
readonly height: 450;
readonly hostnames: readonly ["desmos.com"];
readonly title: "Desmos";
readonly toEmbedUrl: (url: string) => string | undefined;
readonly type: "desmos";
readonly width: 700;
}];
/**
* 10mb
* @public
*/
export declare const DEFAULT_MAX_ASSET_SIZE: number;
/**
* 5000px
* @public
*/
export declare const DEFAULT_MAX_IMAGE_DIMENSION = 5000;
/** @public @react */
export declare const DefaultA11yAnnouncer: NamedExoticComponent