import { Instance, type IAnyStateTreeNode } from 'mobx-state-tree'; import type { Bindings } from '@polotno/schema'; export declare function ancestorNamed(node: IAnyStateTreeNode, name: 'Store' | 'Page' | 'Group'): any; interface IdNode { id?: string; mergedInto?: string; children?: IdNode[]; cells?: IdNode[]; } export declare function renewIds(root: IdNode): void; export declare function explicitWrite(node: Record, attrs: Record): Record; export declare const unboundWrite: (node: Record, attrs: Record) => Record; export declare const Node: 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; }, { 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: 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: 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: 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: 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: 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; }, 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: 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: 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: 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"; }>; export type NodeType = Instance; export {};