import { Instance, SnapshotIn, IAnyModelType, IAnyType } from 'mobx-state-tree'; import { NodeType, renewIds } from './node-model.js'; import { type AnimationAttrs, type WipeBand } from '../utils/animations.js'; import { forEveryNode } from '@polotno/core/for-every-node'; import { TextElementType } from './text-model.js'; import { ImageElementType } from './image-model.js'; import { VideoElementType } from './video-model.js'; import { LineElementType } from './line-model.js'; import { SVGElementType } from './svg-model.js'; import { FigureElementType } from './figure-model.js'; import { GifElementType } from './gif-model.js'; import { LottieElementType } from './lottie-model.js'; import { TableElementType } from './table-model.js'; export declare const forEveryChild: (node: any, cb: any) => void; export { forEveryNode }; export { renewIds }; export declare function zIndexOps(self: { children: ReadonlyArray & { replace(items: T[]): unknown; }; }): { canMoveElementsUp(ids: Array): boolean; canMoveElementsTop(ids: Array): boolean; canMoveElementsDown(ids: Array): boolean; canMoveElementsBottom(ids: Array): boolean; moveElementsUp(ids: Array): void; moveElementsDown(ids: Array): void; moveElementsTop(ids: Array): void; moveElementsBottom(ids: Array): void; setElementZIndex(id: string, zIndex: number): void; }; export declare const ElementTypes: any; type ElementUnion = (SVGElementType & { type: 'svg'; }) | (TextElementType & { type: 'text'; }) | (ImageElementType & { type: 'image'; }) | (LineElementType & { type: 'line'; }) | (VideoElementType & { type: 'video'; }) | (FigureElementType & { type: 'figure'; }) | (GifElementType & { type: 'gif'; }) | (LottieElementType & { type: 'lottie'; }) | (TableElementType & { type: 'table'; }); type UnknownElementType = { id: string; type: string; [key: string]: any; }; export type ElementType = ElementUnion | UnknownElementType; type ElementOfType = Extract; export type NewElementAttrs = T extends ElementUnion['type'] ? { [K in Exclude, 'type'>]?: SnapshotIn[K]>; } : Record; export type NewElement = T extends ElementUnion['type'] ? ElementOfType : T extends 'group' ? GroupElementType : ElementType; export type ElementsArray = ElementType[]; export type GroupWrapperTransform = { x: number; y: number; offsetX: number; offsetY: number; scaleX: number; scaleY: number; rotation: number; opacity: number; wipe?: WipeBand; }; export declare const GroupElement: any; export declare const TYPES_MAP: { svg: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { x: import("mobx-state-tree").IType; y: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rotation: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; animations: import("mobx-state-tree").IArrayType; duration: import("mobx-state-tree").IType; enabled: import("mobx-state-tree").IType; type: import("mobx-state-tree").ISimpleType<"enter" | "exit" | "loop">; name: import("mobx-state-tree").IType; data: import("mobx-state-tree").IType<{} | null | undefined, {}, {}>; easing: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; blurEnabled: import("mobx-state-tree").IType; blurRadius: import("mobx-state-tree").IType; brightnessEnabled: import("mobx-state-tree").IType; brightness: import("mobx-state-tree").IType; sepiaEnabled: import("mobx-state-tree").IType; grayscaleEnabled: import("mobx-state-tree").IType; filters: import("mobx-state-tree").IMapType; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; shadowEnabled: import("mobx-state-tree").IType; shadowBlur: import("mobx-state-tree").IType; shadowOffsetX: import("mobx-state-tree").IType; shadowOffsetY: import("mobx-state-tree").IType; shadowColor: import("mobx-state-tree").IType; shadowOpacity: import("mobx-state-tree").IType; visible: import("mobx-state-tree").IType; draggable: import("mobx-state-tree").IType; resizable: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; contentEditable: import("mobx-state-tree").IType; styleEditable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; src: import("mobx-state-tree").IType; maskSrc: import("mobx-state-tree").IType; cropX: import("mobx-state-tree").IType; cropY: import("mobx-state-tree").IType; cropWidth: import("mobx-state-tree").IType; cropHeight: import("mobx-state-tree").IType; keepRatio: import("mobx-state-tree").IType; stretchEnabled: import("mobx-state-tree").IType; flipX: import("mobx-state-tree").IType; flipY: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; borderColor: import("mobx-state-tree").IType; borderSize: import("mobx-state-tree").IType; cornerRadius: import("mobx-state-tree").IType; colorsReplace: import("mobx-state-tree").IMapType>; }, { readonly page: any; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly top: import("mobx-state-tree").ModelInstanceTypeProps<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }> & import("mobx-state-tree").IStateTreeNode; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }, {}, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>>; readonly parent: any; readonly isHighlighted: boolean; readonly zIndex: any; } & { toJSON(): { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }; } & { clone(attrs?: any, { skipSelect }?: { skipSelect?: boolean | undefined; }): NodeType; set(attrs: any): void; moveUp(): void; moveTop(): void; moveDown(): void; moveBottom(): void; setZIndex(zIndex: number): void; beforeDestroy(): void; } & { readonly locked: boolean; readonly a: import("./shape-model.js").AnimatedAttrs; animated(attr: string): any; readonly timeRange: { start: number; end: number; }; readonly active: boolean; readonly isSelected: boolean; readonly isSelectedDirectly: boolean; } & { setAnimation(type: 'enter' | 'exit' | 'loop', attrs: AnimationAttrs): void; setFilter(type: any, value: any): void; } & { replaceColor(oldColor: any, newColor: any): void; resetColors(): void; } & { _setSourceSize(size: import("../image-tools/types.js").Size, src: string): void; toggleCropMode(flag?: boolean): void; cancelCropMode(): void; } & { readonly _cropModeEnabled: boolean; readonly _cropEnabled: boolean; readonly _sourceSize: import("../image-tools/types.js").Size | null; }, any, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>; text: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { x: import("mobx-state-tree").IType; y: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rotation: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; animations: import("mobx-state-tree").IArrayType; duration: import("mobx-state-tree").IType; enabled: import("mobx-state-tree").IType; type: import("mobx-state-tree").ISimpleType<"enter" | "exit" | "loop">; name: import("mobx-state-tree").IType; data: import("mobx-state-tree").IType<{} | null | undefined, {}, {}>; easing: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; blurEnabled: import("mobx-state-tree").IType; blurRadius: import("mobx-state-tree").IType; brightnessEnabled: import("mobx-state-tree").IType; brightness: import("mobx-state-tree").IType; sepiaEnabled: import("mobx-state-tree").IType; grayscaleEnabled: import("mobx-state-tree").IType; filters: import("mobx-state-tree").IMapType; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; shadowEnabled: import("mobx-state-tree").IType; shadowBlur: import("mobx-state-tree").IType; shadowOffsetX: import("mobx-state-tree").IType; shadowOffsetY: import("mobx-state-tree").IType; shadowColor: import("mobx-state-tree").IType; shadowOpacity: import("mobx-state-tree").IType; visible: import("mobx-state-tree").IType; draggable: import("mobx-state-tree").IType; resizable: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; contentEditable: import("mobx-state-tree").IType; styleEditable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; text: import("mobx-state-tree").IType; placeholder: import("mobx-state-tree").IType; fontSize: import("mobx-state-tree").IType; fontFamily: import("mobx-state-tree").IType; fontStyle: import("mobx-state-tree").IType; fontWeight: import("mobx-state-tree").IType; textDecoration: import("mobx-state-tree").IType; textTransform: import("mobx-state-tree").IType; fill: import("mobx-state-tree").IType; align: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; verticalAlign: import("mobx-state-tree").IType; strokeWidth: import("mobx-state-tree").IType; stroke: import("mobx-state-tree").IType; strokeLineJoin: import("mobx-state-tree").IType; lineHeight: import("mobx-state-tree").IOptionalIType, import("mobx-state-tree").ISimpleType]>, [undefined]>; letterSpacing: import("mobx-state-tree").IType; backgroundEnabled: import("mobx-state-tree").IType; backgroundColor: import("mobx-state-tree").IType; backgroundOpacity: import("mobx-state-tree").IType; backgroundCornerRadius: import("mobx-state-tree").IType; backgroundPadding: import("mobx-state-tree").IType; borderColor: import("mobx-state-tree").IType; borderSize: import("mobx-state-tree").IType; backgroundShape: import("mobx-state-tree").IMaybe>; paddingTop: import("mobx-state-tree").IMaybe>; paddingRight: import("mobx-state-tree").IMaybe>; paddingBottom: import("mobx-state-tree").IMaybe>; paddingLeft: import("mobx-state-tree").IMaybe>; curveEnabled: import("mobx-state-tree").IType; curvePower: import("mobx-state-tree").IType; textOverflow: import("mobx-state-tree").IMaybe>; maxLines: import("mobx-state-tree").IMaybe>; minFontSize: import("mobx-state-tree").IMaybe>; maxFontSize: import("mobx-state-tree").IMaybe>; }, { readonly page: any; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly top: import("mobx-state-tree").ModelInstanceTypeProps<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }> & import("mobx-state-tree").IStateTreeNode; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }, {}, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>>; readonly parent: any; readonly isHighlighted: boolean; readonly zIndex: any; } & { toJSON(): { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }; } & { clone(attrs?: any, { skipSelect }?: { skipSelect?: boolean | undefined; }): NodeType; set(attrs: any): void; moveUp(): void; moveTop(): void; moveDown(): void; moveBottom(): void; setZIndex(zIndex: number): void; beforeDestroy(): void; } & { readonly locked: boolean; readonly a: import("./shape-model.js").AnimatedAttrs; animated(attr: string): any; readonly timeRange: { start: number; end: number; }; readonly active: boolean; readonly isSelected: boolean; readonly isSelectedDirectly: boolean; } & { setAnimation(type: 'enter' | 'exit' | 'loop', attrs: AnimationAttrs): void; setFilter(type: any, value: any): void; } & { _editModeEnabled: boolean; } & { set(attrs: any): void; toggleEditMode(editing?: boolean): void; beforeDestroy(): void; }, any, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>; image: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { x: import("mobx-state-tree").IType; y: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rotation: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; animations: import("mobx-state-tree").IArrayType; duration: import("mobx-state-tree").IType; enabled: import("mobx-state-tree").IType; type: import("mobx-state-tree").ISimpleType<"enter" | "exit" | "loop">; name: import("mobx-state-tree").IType; data: import("mobx-state-tree").IType<{} | null | undefined, {}, {}>; easing: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; blurEnabled: import("mobx-state-tree").IType; blurRadius: import("mobx-state-tree").IType; brightnessEnabled: import("mobx-state-tree").IType; brightness: import("mobx-state-tree").IType; sepiaEnabled: import("mobx-state-tree").IType; grayscaleEnabled: import("mobx-state-tree").IType; filters: import("mobx-state-tree").IMapType; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; shadowEnabled: import("mobx-state-tree").IType; shadowBlur: import("mobx-state-tree").IType; shadowOffsetX: import("mobx-state-tree").IType; shadowOffsetY: import("mobx-state-tree").IType; shadowColor: import("mobx-state-tree").IType; shadowOpacity: import("mobx-state-tree").IType; visible: import("mobx-state-tree").IType; draggable: import("mobx-state-tree").IType; resizable: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; contentEditable: import("mobx-state-tree").IType; styleEditable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; fit: import("mobx-state-tree").IMaybe>; focus: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; src: import("mobx-state-tree").IType; cropX: import("mobx-state-tree").IType; cropY: import("mobx-state-tree").IType; cropWidth: import("mobx-state-tree").IType; cropHeight: import("mobx-state-tree").IType; cornerRadius: import("mobx-state-tree").IType; flipX: import("mobx-state-tree").IType; flipY: import("mobx-state-tree").IType; clipSrc: import("mobx-state-tree").IType; borderColor: import("mobx-state-tree").IType; borderSize: import("mobx-state-tree").IType; keepRatio: import("mobx-state-tree").IType; stretchEnabled: import("mobx-state-tree").IType; }, { readonly page: any; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly top: import("mobx-state-tree").ModelInstanceTypeProps<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }> & import("mobx-state-tree").IStateTreeNode; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }, {}, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>>; readonly parent: any; readonly isHighlighted: boolean; readonly zIndex: any; } & { toJSON(): { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }; } & { clone(attrs?: any, { skipSelect }?: { skipSelect?: boolean | undefined; }): NodeType; set(attrs: any): void; moveUp(): void; moveTop(): void; moveDown(): void; moveBottom(): void; setZIndex(zIndex: number): void; beforeDestroy(): void; } & { readonly locked: boolean; readonly a: import("./shape-model.js").AnimatedAttrs; animated(attr: string): any; readonly timeRange: { start: number; end: number; }; readonly active: boolean; readonly isSelected: boolean; readonly isSelectedDirectly: boolean; } & { setAnimation(type: 'enter' | 'exit' | 'loop', attrs: AnimationAttrs): void; setFilter(type: any, value: any): void; } & { _setSourceSize(size: import("../image-tools/types.js").Size, src: string): void; toggleCropMode(flag?: boolean): void; cancelCropMode(): void; } & { readonly _cropModeEnabled: boolean; readonly _cropEnabled: boolean; readonly _sourceSize: import("../image-tools/types.js").Size | null; } & { _setPendingEdit(value: import("../image-tools/host.js").PendingOperation | null): void; _setImageEditError(message: string | null): void; beforeDestroy: () => void; beforeDetach: () => void; } & { readonly pendingEdit: import("./store.js").PendingEdit | null; readonly _pendingEdit: import("../image-tools/host.js").PendingOperation | null; readonly _imageEditError: string | null; }, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>; group: any; line: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { x: import("mobx-state-tree").IType; y: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rotation: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; animations: import("mobx-state-tree").IArrayType; duration: import("mobx-state-tree").IType; enabled: import("mobx-state-tree").IType; type: import("mobx-state-tree").ISimpleType<"enter" | "exit" | "loop">; name: import("mobx-state-tree").IType; data: import("mobx-state-tree").IType<{} | null | undefined, {}, {}>; easing: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; blurEnabled: import("mobx-state-tree").IType; blurRadius: import("mobx-state-tree").IType; brightnessEnabled: import("mobx-state-tree").IType; brightness: import("mobx-state-tree").IType; sepiaEnabled: import("mobx-state-tree").IType; grayscaleEnabled: import("mobx-state-tree").IType; filters: import("mobx-state-tree").IMapType; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; shadowEnabled: import("mobx-state-tree").IType; shadowBlur: import("mobx-state-tree").IType; shadowOffsetX: import("mobx-state-tree").IType; shadowOffsetY: import("mobx-state-tree").IType; shadowColor: import("mobx-state-tree").IType; shadowOpacity: import("mobx-state-tree").IType; visible: import("mobx-state-tree").IType; draggable: import("mobx-state-tree").IType; resizable: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; contentEditable: import("mobx-state-tree").IType; styleEditable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; color: import("mobx-state-tree").IType; dash: import("mobx-state-tree").IArrayType>; startHead: import("mobx-state-tree").IType; endHead: import("mobx-state-tree").IType; }, { readonly page: any; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly top: import("mobx-state-tree").ModelInstanceTypeProps<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }> & import("mobx-state-tree").IStateTreeNode; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }, {}, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>>; readonly parent: any; readonly isHighlighted: boolean; readonly zIndex: any; } & { toJSON(): { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }; } & { clone(attrs?: any, { skipSelect }?: { skipSelect?: boolean | undefined; }): NodeType; set(attrs: any): void; moveUp(): void; moveTop(): void; moveDown(): void; moveBottom(): void; setZIndex(zIndex: number): void; beforeDestroy(): void; } & { readonly locked: boolean; readonly a: import("./shape-model.js").AnimatedAttrs; animated(attr: string): any; readonly timeRange: { start: number; end: number; }; readonly active: boolean; readonly isSelected: boolean; readonly isSelectedDirectly: boolean; } & { setAnimation(type: 'enter' | 'exit' | 'loop', attrs: AnimationAttrs): void; setFilter(type: any, value: any): void; }, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>; video: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { x: import("mobx-state-tree").IType; y: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rotation: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; animations: import("mobx-state-tree").IArrayType; duration: import("mobx-state-tree").IType; enabled: import("mobx-state-tree").IType; type: import("mobx-state-tree").ISimpleType<"enter" | "exit" | "loop">; name: import("mobx-state-tree").IType; data: import("mobx-state-tree").IType<{} | null | undefined, {}, {}>; easing: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; blurEnabled: import("mobx-state-tree").IType; blurRadius: import("mobx-state-tree").IType; brightnessEnabled: import("mobx-state-tree").IType; brightness: import("mobx-state-tree").IType; sepiaEnabled: import("mobx-state-tree").IType; grayscaleEnabled: import("mobx-state-tree").IType; filters: import("mobx-state-tree").IMapType; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; shadowEnabled: import("mobx-state-tree").IType; shadowBlur: import("mobx-state-tree").IType; shadowOffsetX: import("mobx-state-tree").IType; shadowOffsetY: import("mobx-state-tree").IType; shadowColor: import("mobx-state-tree").IType; shadowOpacity: import("mobx-state-tree").IType; visible: import("mobx-state-tree").IType; draggable: import("mobx-state-tree").IType; resizable: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; contentEditable: import("mobx-state-tree").IType; styleEditable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; fit: import("mobx-state-tree").IMaybe>; focus: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; src: import("mobx-state-tree").IType; cropX: import("mobx-state-tree").IType; cropY: import("mobx-state-tree").IType; cropWidth: import("mobx-state-tree").IType; cropHeight: import("mobx-state-tree").IType; cornerRadius: import("mobx-state-tree").IType; flipX: import("mobx-state-tree").IType; flipY: import("mobx-state-tree").IType; clipSrc: import("mobx-state-tree").IType; borderColor: import("mobx-state-tree").IType; borderSize: import("mobx-state-tree").IType; keepRatio: import("mobx-state-tree").IType; stretchEnabled: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; duration: import("mobx-state-tree").IType; startTime: import("mobx-state-tree").IType; endTime: import("mobx-state-tree").IType; volume: import("mobx-state-tree").IType; speed: import("mobx-state-tree").IType; }, { readonly page: any; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly top: import("mobx-state-tree").ModelInstanceTypeProps<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }> & import("mobx-state-tree").IStateTreeNode; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }, {}, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>>; readonly parent: any; readonly isHighlighted: boolean; readonly zIndex: any; } & { toJSON(): { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }; } & { clone(attrs?: any, { skipSelect }?: { skipSelect?: boolean | undefined; }): NodeType; set(attrs: any): void; moveUp(): void; moveTop(): void; moveDown(): void; moveBottom(): void; setZIndex(zIndex: number): void; beforeDestroy(): void; } & { readonly locked: boolean; readonly a: import("./shape-model.js").AnimatedAttrs; animated(attr: string): any; readonly timeRange: { start: number; end: number; }; readonly active: boolean; readonly isSelected: boolean; readonly isSelectedDirectly: boolean; } & { setAnimation(type: 'enter' | 'exit' | 'loop', attrs: AnimationAttrs): void; setFilter(type: any, value: any): void; } & { _setSourceSize(size: import("../image-tools/types.js").Size, src: string): void; toggleCropMode(flag?: boolean): void; cancelCropMode(): void; } & { readonly _cropModeEnabled: boolean; readonly _cropEnabled: boolean; readonly _sourceSize: import("../image-tools/types.js").Size | null; } & { _setPendingEdit(value: import("../image-tools/host.js").PendingOperation | null): void; _setImageEditError(message: string | null): void; beforeDestroy: () => void; beforeDetach: () => void; } & { readonly pendingEdit: import("./store.js").PendingEdit | null; readonly _pendingEdit: import("../image-tools/host.js").PendingOperation | null; readonly _imageEditError: string | null; }, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>; figure: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { x: import("mobx-state-tree").IType; y: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rotation: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; animations: import("mobx-state-tree").IArrayType; duration: import("mobx-state-tree").IType; enabled: import("mobx-state-tree").IType; type: import("mobx-state-tree").ISimpleType<"enter" | "exit" | "loop">; name: import("mobx-state-tree").IType; data: import("mobx-state-tree").IType<{} | null | undefined, {}, {}>; easing: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; blurEnabled: import("mobx-state-tree").IType; blurRadius: import("mobx-state-tree").IType; brightnessEnabled: import("mobx-state-tree").IType; brightness: import("mobx-state-tree").IType; sepiaEnabled: import("mobx-state-tree").IType; grayscaleEnabled: import("mobx-state-tree").IType; filters: import("mobx-state-tree").IMapType; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; shadowEnabled: import("mobx-state-tree").IType; shadowBlur: import("mobx-state-tree").IType; shadowOffsetX: import("mobx-state-tree").IType; shadowOffsetY: import("mobx-state-tree").IType; shadowColor: import("mobx-state-tree").IType; shadowOpacity: import("mobx-state-tree").IType; visible: import("mobx-state-tree").IType; draggable: import("mobx-state-tree").IType; resizable: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; contentEditable: import("mobx-state-tree").IType; styleEditable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; subType: import("mobx-state-tree").IType; fill: import("mobx-state-tree").IType; dash: import("mobx-state-tree").IArrayType>; strokeWidth: import("mobx-state-tree").IType; stroke: import("mobx-state-tree").IType; cornerRadius: import("mobx-state-tree").IType; }, { readonly page: any; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly top: import("mobx-state-tree").ModelInstanceTypeProps<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }> & import("mobx-state-tree").IStateTreeNode; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }, {}, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>>; readonly parent: any; readonly isHighlighted: boolean; readonly zIndex: any; } & { toJSON(): { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }; } & { clone(attrs?: any, { skipSelect }?: { skipSelect?: boolean | undefined; }): NodeType; set(attrs: any): void; moveUp(): void; moveTop(): void; moveDown(): void; moveBottom(): void; setZIndex(zIndex: number): void; beforeDestroy(): void; } & { readonly locked: boolean; readonly a: import("./shape-model.js").AnimatedAttrs; animated(attr: string): any; readonly timeRange: { start: number; end: number; }; readonly active: boolean; readonly isSelected: boolean; readonly isSelectedDirectly: boolean; } & { setAnimation(type: 'enter' | 'exit' | 'loop', attrs: AnimationAttrs): void; setFilter(type: any, value: any): void; }, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>; gif: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { x: import("mobx-state-tree").IType; y: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rotation: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; animations: import("mobx-state-tree").IArrayType; duration: import("mobx-state-tree").IType; enabled: import("mobx-state-tree").IType; type: import("mobx-state-tree").ISimpleType<"enter" | "exit" | "loop">; name: import("mobx-state-tree").IType; data: import("mobx-state-tree").IType<{} | null | undefined, {}, {}>; easing: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; blurEnabled: import("mobx-state-tree").IType; blurRadius: import("mobx-state-tree").IType; brightnessEnabled: import("mobx-state-tree").IType; brightness: import("mobx-state-tree").IType; sepiaEnabled: import("mobx-state-tree").IType; grayscaleEnabled: import("mobx-state-tree").IType; filters: import("mobx-state-tree").IMapType; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; shadowEnabled: import("mobx-state-tree").IType; shadowBlur: import("mobx-state-tree").IType; shadowOffsetX: import("mobx-state-tree").IType; shadowOffsetY: import("mobx-state-tree").IType; shadowColor: import("mobx-state-tree").IType; shadowOpacity: import("mobx-state-tree").IType; visible: import("mobx-state-tree").IType; draggable: import("mobx-state-tree").IType; resizable: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; contentEditable: import("mobx-state-tree").IType; styleEditable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; fit: import("mobx-state-tree").IMaybe>; focus: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; src: import("mobx-state-tree").IType; cropX: import("mobx-state-tree").IType; cropY: import("mobx-state-tree").IType; cropWidth: import("mobx-state-tree").IType; cropHeight: import("mobx-state-tree").IType; cornerRadius: import("mobx-state-tree").IType; flipX: import("mobx-state-tree").IType; flipY: import("mobx-state-tree").IType; clipSrc: import("mobx-state-tree").IType; borderColor: import("mobx-state-tree").IType; borderSize: import("mobx-state-tree").IType; keepRatio: import("mobx-state-tree").IType; stretchEnabled: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; duration: import("mobx-state-tree").IType; keepRatio: import("mobx-state-tree").IType; }, { readonly page: any; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly top: import("mobx-state-tree").ModelInstanceTypeProps<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }> & import("mobx-state-tree").IStateTreeNode; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }, {}, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>>; readonly parent: any; readonly isHighlighted: boolean; readonly zIndex: any; } & { toJSON(): { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }; } & { clone(attrs?: any, { skipSelect }?: { skipSelect?: boolean | undefined; }): NodeType; set(attrs: any): void; moveUp(): void; moveTop(): void; moveDown(): void; moveBottom(): void; setZIndex(zIndex: number): void; beforeDestroy(): void; } & { readonly locked: boolean; readonly a: import("./shape-model.js").AnimatedAttrs; animated(attr: string): any; readonly timeRange: { start: number; end: number; }; readonly active: boolean; readonly isSelected: boolean; readonly isSelectedDirectly: boolean; } & { setAnimation(type: 'enter' | 'exit' | 'loop', attrs: AnimationAttrs): void; setFilter(type: any, value: any): void; } & { _setSourceSize(size: import("../image-tools/types.js").Size, src: string): void; toggleCropMode(flag?: boolean): void; cancelCropMode(): void; } & { readonly _cropModeEnabled: boolean; readonly _cropEnabled: boolean; readonly _sourceSize: import("../image-tools/types.js").Size | null; } & { _setPendingEdit(value: import("../image-tools/host.js").PendingOperation | null): void; _setImageEditError(message: string | null): void; beforeDestroy: () => void; beforeDetach: () => void; } & { readonly pendingEdit: import("./store.js").PendingEdit | null; readonly _pendingEdit: import("../image-tools/host.js").PendingOperation | null; readonly _imageEditError: string | null; }, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>; lottie: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { x: import("mobx-state-tree").IType; y: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rotation: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; animations: import("mobx-state-tree").IArrayType; duration: import("mobx-state-tree").IType; enabled: import("mobx-state-tree").IType; type: import("mobx-state-tree").ISimpleType<"enter" | "exit" | "loop">; name: import("mobx-state-tree").IType; data: import("mobx-state-tree").IType<{} | null | undefined, {}, {}>; easing: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; blurEnabled: import("mobx-state-tree").IType; blurRadius: import("mobx-state-tree").IType; brightnessEnabled: import("mobx-state-tree").IType; brightness: import("mobx-state-tree").IType; sepiaEnabled: import("mobx-state-tree").IType; grayscaleEnabled: import("mobx-state-tree").IType; filters: import("mobx-state-tree").IMapType; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; shadowEnabled: import("mobx-state-tree").IType; shadowBlur: import("mobx-state-tree").IType; shadowOffsetX: import("mobx-state-tree").IType; shadowOffsetY: import("mobx-state-tree").IType; shadowColor: import("mobx-state-tree").IType; shadowOpacity: import("mobx-state-tree").IType; visible: import("mobx-state-tree").IType; draggable: import("mobx-state-tree").IType; resizable: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; contentEditable: import("mobx-state-tree").IType; styleEditable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; fit: import("mobx-state-tree").IMaybe>; focus: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; src: import("mobx-state-tree").IType; cropX: import("mobx-state-tree").IType; cropY: import("mobx-state-tree").IType; cropWidth: import("mobx-state-tree").IType; cropHeight: import("mobx-state-tree").IType; cornerRadius: import("mobx-state-tree").IType; flipX: import("mobx-state-tree").IType; flipY: import("mobx-state-tree").IType; clipSrc: import("mobx-state-tree").IType; borderColor: import("mobx-state-tree").IType; borderSize: import("mobx-state-tree").IType; keepRatio: import("mobx-state-tree").IType; stretchEnabled: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; keepRatio: import("mobx-state-tree").IType; }, { readonly page: any; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly top: import("mobx-state-tree").ModelInstanceTypeProps<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }> & import("mobx-state-tree").IStateTreeNode; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }, {}, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>>; readonly parent: any; readonly isHighlighted: boolean; readonly zIndex: any; } & { toJSON(): { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }; } & { clone(attrs?: any, { skipSelect }?: { skipSelect?: boolean | undefined; }): NodeType; set(attrs: any): void; moveUp(): void; moveTop(): void; moveDown(): void; moveBottom(): void; setZIndex(zIndex: number): void; beforeDestroy(): void; } & { readonly locked: boolean; readonly a: import("./shape-model.js").AnimatedAttrs; animated(attr: string): any; readonly timeRange: { start: number; end: number; }; readonly active: boolean; readonly isSelected: boolean; readonly isSelectedDirectly: boolean; } & { setAnimation(type: 'enter' | 'exit' | 'loop', attrs: AnimationAttrs): void; setFilter(type: any, value: any): void; } & { _setSourceSize(size: import("../image-tools/types.js").Size, src: string): void; toggleCropMode(flag?: boolean): void; cancelCropMode(): void; } & { readonly _cropModeEnabled: boolean; readonly _cropEnabled: boolean; readonly _sourceSize: import("../image-tools/types.js").Size | null; } & { _setPendingEdit(value: import("../image-tools/host.js").PendingOperation | null): void; _setImageEditError(message: string | null): void; beforeDestroy: () => void; beforeDetach: () => void; } & { readonly pendingEdit: import("./store.js").PendingEdit | null; readonly _pendingEdit: import("../image-tools/host.js").PendingOperation | null; readonly _imageEditError: string | null; }, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>; table: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { x: import("mobx-state-tree").IType; y: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rotation: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; animations: import("mobx-state-tree").IArrayType; duration: import("mobx-state-tree").IType; enabled: import("mobx-state-tree").IType; type: import("mobx-state-tree").ISimpleType<"enter" | "exit" | "loop">; name: import("mobx-state-tree").IType; data: import("mobx-state-tree").IType<{} | null | undefined, {}, {}>; easing: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; blurEnabled: import("mobx-state-tree").IType; blurRadius: import("mobx-state-tree").IType; brightnessEnabled: import("mobx-state-tree").IType; brightness: import("mobx-state-tree").IType; sepiaEnabled: import("mobx-state-tree").IType; grayscaleEnabled: import("mobx-state-tree").IType; filters: import("mobx-state-tree").IMapType; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; shadowEnabled: import("mobx-state-tree").IType; shadowBlur: import("mobx-state-tree").IType; shadowOffsetX: import("mobx-state-tree").IType; shadowOffsetY: import("mobx-state-tree").IType; shadowColor: import("mobx-state-tree").IType; shadowOpacity: import("mobx-state-tree").IType; visible: import("mobx-state-tree").IType; draggable: import("mobx-state-tree").IType; resizable: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; contentEditable: import("mobx-state-tree").IType; styleEditable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rows: import("mobx-state-tree").IType; cols: import("mobx-state-tree").IType; colWidths: import("mobx-state-tree").IArrayType>; rowHeights: import("mobx-state-tree").IArrayType>; cells: import("mobx-state-tree").IArrayType; type: import("mobx-state-tree").IOptionalIType, [undefined]>; text: import("mobx-state-tree").IType; _fontSize: import("mobx-state-tree").IMaybe>; _fontFamily: import("mobx-state-tree").IMaybe>; _fontWeight: import("mobx-state-tree").IMaybe>; _fontStyle: import("mobx-state-tree").IMaybe>; _textDecoration: import("mobx-state-tree").IMaybe>; _textTransform: import("mobx-state-tree").IMaybe>; _fill: import("mobx-state-tree").IMaybe>; _align: import("mobx-state-tree").IMaybe>; _verticalAlign: import("mobx-state-tree").IMaybe>; _lineHeight: import("mobx-state-tree").IMaybe, import("mobx-state-tree").ISimpleType]>>; _letterSpacing: import("mobx-state-tree").IMaybe>; _strokeWidth: import("mobx-state-tree").IMaybe>; _stroke: import("mobx-state-tree").IMaybe>; _cellBackground: import("mobx-state-tree").IMaybe>; _cellPaddingTop: import("mobx-state-tree").IMaybe>; _cellPaddingRight: import("mobx-state-tree").IMaybe>; _cellPaddingBottom: import("mobx-state-tree").IMaybe>; _cellPaddingLeft: import("mobx-state-tree").IMaybe>; opacity: import("mobx-state-tree").IType; rowSpan: import("mobx-state-tree").IType; colSpan: import("mobx-state-tree").IType; mergedInto: import("mobx-state-tree").IMaybe>; borders: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; right: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; bottom: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; left: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; name: import("mobx-state-tree").IType; custom: import("mobx-state-tree").IType; }, { _editModeEnabled: boolean; } & { readonly row: number; readonly col: number; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly page: any; readonly fontSize: number; readonly fontFamily: string; readonly fontWeight: string; readonly fontStyle: string; readonly textDecoration: string; readonly textTransform: string; readonly fill: string; readonly align: string; readonly verticalAlign: string; readonly lineHeight: number | string; readonly letterSpacing: number; readonly strokeWidth: number; readonly stroke: string; readonly cellBackground: string; readonly cellPaddingTop: number; readonly cellPaddingRight: number; readonly cellPaddingBottom: number; readonly cellPaddingLeft: number; readonly cellPadding: number; readonly width: number; readonly height: number; readonly gridCell: { row: number; col: number; rowSpan: number; colSpan: number; borders: (import("mobx-state-tree").ModelInstanceTypeProps<{ top: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; right: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; bottom: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; left: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; }> & import("mobx-state-tree").IStateTreeNode>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; right: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; bottom: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; left: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; }, {}, import("mobx-state-tree")._NotCustomized, any>>>) | undefined; cellPaddingTop: number; cellPaddingRight: number; cellPaddingBottom: number; cellPaddingLeft: number; }; readonly borderInsets: { top: number; right: number; bottom: number; left: number; }; readonly a: { x: number; y: number; width: number; height: number; rotation: number; opacity: number; fontSize: number; }; getEffectiveBorder(side: import("./table-model.js").BorderSideName): { color: string; width: number; style: string; }; readonly x: number; readonly y: number; readonly rotation: number; readonly draggable: boolean; readonly resizable: boolean; readonly selectable: boolean; readonly removable: boolean; readonly contentEditable: boolean; readonly visible: boolean; readonly showInExport: boolean; readonly alwaysOnTop: boolean; readonly placeholder: string; readonly backgroundEnabled: boolean; readonly backgroundOpacity: number; readonly backgroundColor: string; readonly backgroundCornerRadius: number; readonly backgroundPadding: number; readonly curveEnabled: boolean; readonly curvePower: number; readonly shadowEnabled: boolean; readonly shadowBlur: number; readonly shadowOffsetX: number; readonly shadowOffsetY: number; readonly shadowColor: string; readonly shadowOpacity: number; readonly blurEnabled: boolean; readonly blurRadius: number; readonly brightnessEnabled: boolean; readonly brightness: number; readonly sepiaEnabled: boolean; readonly grayscaleEnabled: boolean; readonly animations: readonly never[]; } & { toJSON(): any; set(attrs: any): void; setBorder(side: import("./table-model.js").BorderSideName, attrs: import("./table-model.js").BorderAttrs): void; toggleEditMode(editing?: boolean): void; beforeDestroy(): void; }, any, any>>; borderColor: import("mobx-state-tree").IType; borderWidth: import("mobx-state-tree").IType; borderStyle: import("mobx-state-tree").IOptionalIType, [undefined]>; fontSize: import("mobx-state-tree").IType; fontFamily: import("mobx-state-tree").IType; fontWeight: import("mobx-state-tree").IType; fontStyle: import("mobx-state-tree").IType; textDecoration: import("mobx-state-tree").IType; textTransform: import("mobx-state-tree").IType; fill: import("mobx-state-tree").IType; align: import("mobx-state-tree").IType; verticalAlign: import("mobx-state-tree").IType; lineHeight: import("mobx-state-tree").IOptionalIType, import("mobx-state-tree").ISimpleType]>, [undefined]>; letterSpacing: import("mobx-state-tree").IType; strokeWidth: import("mobx-state-tree").IType; stroke: import("mobx-state-tree").IType; cellBackground: import("mobx-state-tree").IType; cellPaddingTop: import("mobx-state-tree").IType; cellPaddingRight: import("mobx-state-tree").IType; cellPaddingBottom: import("mobx-state-tree").IType; cellPaddingLeft: import("mobx-state-tree").IType; }, { readonly page: any; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly top: import("mobx-state-tree").ModelInstanceTypeProps<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }> & import("mobx-state-tree").IStateTreeNode; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }, {}, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>>; readonly parent: any; readonly isHighlighted: boolean; readonly zIndex: any; } & { toJSON(): { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }; } & { clone(attrs?: any, { skipSelect }?: { skipSelect?: boolean | undefined; }): NodeType; set(attrs: any): void; moveUp(): void; moveTop(): void; moveDown(): void; moveBottom(): void; setZIndex(zIndex: number): void; beforeDestroy(): void; } & { readonly locked: boolean; readonly a: import("./shape-model.js").AnimatedAttrs; animated(attr: string): any; readonly timeRange: { start: number; end: number; }; readonly active: boolean; readonly isSelected: boolean; readonly isSelectedDirectly: boolean; } & { setAnimation(type: 'enter' | 'exit' | 'loop', attrs: AnimationAttrs): void; setFilter(type: any, value: any): void; } & { _focusedCellIds: string[]; _editingCellId: string | undefined; _editClickCoords: { x: number; y: number; } | null; _anchorCellId: string | undefined; _cellContentHeights: import("mobx").ObservableMap; _baseRowHeights: number[] | null; _baseHeight: number | null; } & { afterCreate(): void; } & { readonly _cellMap: Map; getActualRowHeight(rowIndex: number): number; readonly cellPadding: number; } & { getCell(row: number, col: number): import("./table-model.js").TableCellType | undefined; visibleCellAt(row: number, col: number): import("./table-model.js").TableCellType | undefined; readonly minWidth: number; readonly basePixelRowHeights: number[]; contentFloors(divider?: number): number[]; readonly rowContentFloors: number[]; readonly minHeight: number; readonly actualHeight: number; getCellRect(row: number, col: number, rowSpan?: number, colSpan?: number): { x: number; y: number; width: number; height: number; }; readonly visibleCells: import("./table-model.js").TableCellType[]; readonly focusedCells: import("./table-model.js").TableCellType[]; readonly editingCell: import("./table-model.js").TableCellType | undefined; readonly textCells: import("./table-model.js").TableCellType[]; getFocusedCellRange(): import("./table-model.js").CellRange | null; readonly _fitRowsToContent: { rowHeights: number[]; height: number; } | null; } & { set(attrs: any): void; setCellContentHeight(cellId: string, height: number): void; _applyFitRowsToContent(): void; focusCell(cellId: string, addToSelection?: boolean): void; selectRowRange(startRow: number, endRow: number): void; selectColumnRange(startCol: number, endCol: number): void; selectRow(rowIndex: number): void; selectColumn(colIndex: number): void; focusCellRange(targetRow: number, targetCol: number): void; clearCellFocus(): void; enterCellEdit(cellId: string, clickCoords?: { x: number; y: number; } | null): void; exitCellEdit(): void; _resetBaseRowHeights(): void; setHeightRedistribute(newHeight: number): void; addRow(index: number): void; removeRow(index: number): void; addColumn(index: number): void; removeColumn(index: number): void; removeRowRange(minRow: number, maxRow: number): void; removeColumnRange(minCol: number, maxCol: number): void; distributeRowsEvenly(): void; distributeColumnsEvenly(): void; resizeColumn(index: number, delta: number): void; resizeRow(index: number, delta: number): void; setCellBorders(cellIds: string[], sides: import("./table-model.js").BorderSideName[], attrs: import("./table-model.js").BorderAttrs): void; applyBorderMode(mode: import("./table-model.js").BorderMode, attrs: import("./table-model.js").BorderAttrs): void; }, any, any>; }; export declare function registerShapeModel

(defaultAttributes: P, extendFunc?: (model: IAnyModelType) => IAnyType): void; export type GroupElementType = Instance;