{ "packages": { "platejs": { "symbols": { "platejs:AddMarkCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AddMarkCommand", "runtime": false, "signature": "type AddMarkCommand = {\n key: string;\n value: unknown;\n};", "source": null, "typeParameters": [] }, "platejs:AffinityDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AffinityDefinition", "runtime": false, "signature": "type AffinityDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:AffinityEdgeNodes": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AffinityEdgeNodes", "runtime": false, "signature": "type AffinityEdgeNodes = [NodeEntry, NodeEntry] | [NodeEntry, null] | [null, NodeEntry];", "source": null, "typeParameters": [] }, "platejs:AffinityPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "AffinityPlugin", "runtime": true, "signature": "AffinityPlugin: BasePlugin> & Readonly>", "source": null, "typeParameters": [] }, "platejs:AffinityPluginUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AffinityPluginUpdate", "runtime": false, "signature": "type AffinityPluginUpdate = {\n setSelection: TxDeclaredMethod<(edgeNodes: AffinityEdgeNodes, affinity: 'backward' | 'forward') => void>;\n};", "source": null, "typeParameters": [] }, "platejs:Alignment": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "Alignment", "runtime": false, "signature": "type Alignment = 'center' | 'end' | 'justify' | 'left' | 'right' | 'start';", "source": null, "typeParameters": [] }, "platejs:Ancestor": { "aliases": [], "documentation": "The `Ancestor` union type represents nodes that are ancestors in the tree.\nIt is returned as a convenience in certain cases to narrow a value further\nthan the more generic `Node` union.", "entrypoint": "platejs", "kind": "type", "name": "Ancestor", "runtime": false, "signature": "type Ancestor = AnyPluginEditor$1 | Element;", "source": null, "typeParameters": [] }, "platejs:AncestorEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AncestorEntry", "runtime": false, "signature": "type AncestorEntry = NodeEntry>;", "source": null, "typeParameters": [ "N = Node" ] }, "platejs:AncestorEntryOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AncestorEntryOf", "runtime": false, "signature": "type AncestorEntryOf = NodeEntry>;", "source": null, "typeParameters": [ "E" ] }, "platejs:AncestorIn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AncestorIn", "runtime": false, "signature": "type AncestorIn = AncestorOf | V[number]>;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs:AncestorOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AncestorOf", "runtime": false, "signature": "type AncestorOf = N extends {\n getChildren: () => infer V;\n} ? N | (V extends ReadonlyArray ? ElementOf : never) : N extends AnyEditor ? N | ElementIn : N extends Element ? N | ElementOf : never;", "source": null, "typeParameters": [ "N" ] }, "platejs:Anchor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "Anchor", "runtime": false, "signature": "interface Anchor {\n readonly association: TValue extends Range ? RangeAnchorAssociation : AnchorAssociation;\n readonly deletion: AnchorDeletionPolicy;\n readonly kind: TValue extends Range ? 'range' : TValue extends Point ? 'point' : 'path';\n readonly root: NamedRootKey | undefined;\n release(): TValue | null;\n /**\n * Resolve in the stored document, or as `view` reads it. `view` must be a\n * view of the same editor whose root is the anchor's root or the page.\n */\n resolve(view?: AnyEditor): TValue | null;\n}", "source": null, "typeParameters": [ "TValue extends AnchorValue" ] }, "platejs:AnchorAssociation": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AnchorAssociation", "runtime": false, "signature": "type AnchorAssociation = 'backward' | 'forward';", "source": null, "typeParameters": [] }, "platejs:AnchorDeletionPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AnchorDeletionPolicy", "runtime": false, "signature": "type AnchorDeletionPolicy = 'drop' | 'nearest';", "source": null, "typeParameters": [] }, "platejs:AnchorOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AnchorOptions", "runtime": false, "signature": "type AnchorOptions = Readonly<{\n association?: TValue extends Range ? RangeAnchorAssociation : AnchorAssociation;\n deletion: AnchorDeletionPolicy;\n root?: NamedRootKey;\n}>;", "source": null, "typeParameters": [ "TValue extends AnchorValue", "TRoot extends RootKey = RootKey" ] }, "platejs:AnchorValue": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AnchorValue", "runtime": false, "signature": "type AnchorValue = Path | Point | Range;", "source": null, "typeParameters": [] }, "platejs:AnyObject": { "aliases": [], "documentation": "Dynamic object whose values are intentionally unchecked. Prefer `UnknownObject` for narrowing.", "entrypoint": "platejs", "kind": "type", "name": "AnyObject", "runtime": false, "signature": "type AnyObject = Record;", "source": null, "typeParameters": [] }, "platejs:applyDeepToNodes": { "aliases": [], "documentation": "Recursively apply a transform to child nodes matching a query.", "entrypoint": "platejs", "kind": "const", "name": "applyDeepToNodes", "runtime": true, "signature": "applyDeepToNodes: ({ apply, match, node, path, source }: ApplyDeepToNodesOptions) => void", "source": null, "typeParameters": [] }, "platejs:ApplyDeepToNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ApplyDeepToNodesOptions", "runtime": false, "signature": "type ApplyDeepToNodesOptions = {\n apply: (node: NodeOf, source: (() => Record) | Record) => void;\n node: N;\n match?: NodeMatch;\n source: (() => Record) | Record;\n path?: Path;\n};", "source": null, "typeParameters": [ "N extends Descendant" ] }, "platejs:AuthoredDocumentProjection": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AuthoredDocumentProjection", "runtime": false, "signature": "type AuthoredDocumentProjection = Readonly<{\n diagnostics: readonly AuthoredProjectionDiagnostic[];\n document: EditorDocumentValue;\n ok: true;\n /** Pending changes the projection decided. */\n pending: number;\n}>;", "source": null, "typeParameters": [] }, "platejs:AuthoredProjectionDiagnostic": { "aliases": [], "documentation": "`authored-lossy-projection` reports pending changes a projection decided.\n`authored-uncorrected` names a container whose children a decision\nremoved, merged, unwrapped or pulled apart: the pure resolver runs no\nplugin corrections, so values derived from those children, such as column\nwidths, are not recomputed.", "entrypoint": "platejs", "kind": "type", "name": "AuthoredProjectionDiagnostic", "runtime": false, "signature": "type AuthoredProjectionDiagnostic = Readonly<{\n code: 'authored-lossy-projection';\n message: string;\n severity: 'warning';\n}> | Readonly<{\n code: 'authored-uncorrected';\n message: string;\n path: readonly number[];\n severity: 'warning';\n type: string | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:AuthoredTouch": { "aliases": [], "documentation": "How a change touches an element that a veto reads:\n\n- `'content'`: it edits only what the element holds.\n- `'whole'`: the element is the outermost one the change inserts or removes.\n- `'inside'`: the change inserts or removes the element inside a `'whole'`\n one.\n- `'properties'`: it sets or unsets the element's properties, a retype\n included.\n- `'boundary'`: it splits, joins, wraps or unwraps the element, or cuts\n through it.", "entrypoint": "platejs", "kind": "type", "name": "AuthoredTouch", "runtime": false, "signature": "type AuthoredTouch = 'boundary' | 'content' | 'inside' | 'properties' | 'whole';", "source": null, "typeParameters": [] }, "platejs:authoredVeto": { "aliases": [], "documentation": "Contribute a reason Suggesting refuses a change that touches an element.", "entrypoint": "platejs", "kind": "const", "name": "authoredVeto", "runtime": true, "signature": "authoredVeto: Readonly<{\n id: string;\n of: (value: AuthoredVeto) => PluginContribution;\n}>", "source": null, "typeParameters": [] }, "platejs:AuthoredVeto": { "aliases": [], "documentation": "The reason Suggesting cannot hold a change that touches `element`, such as\n`'table'`, or null. A feature whose blocks review marks cannot hold yet\ncontributes one, and drops it once they can. A `'properties'` touch reads\nthe element's properties both before and after the change.", "entrypoint": "platejs", "kind": "type", "name": "AuthoredVeto", "runtime": false, "signature": "type AuthoredVeto = (element: Readonly>, touch: AuthoredTouch) => string | null;", "source": null, "typeParameters": [] }, "platejs:AutoScrollApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AutoScrollApi", "runtime": false, "signature": "type AutoScrollApi = {\n isAutoScrolling: () => boolean;\n};", "source": null, "typeParameters": [] }, "platejs:AutoScrollChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AutoScrollChangeKind", "runtime": false, "signature": "type AutoScrollChangeKind = 'properties' | 'structure' | 'text';", "source": null, "typeParameters": [] }, "platejs:AutoScrollChangesMap": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AutoScrollChangesMap", "runtime": false, "signature": "type AutoScrollChangesMap = Partial>;", "source": null, "typeParameters": [] }, "platejs:AutoScrollOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AutoScrollOptions", "runtime": false, "signature": "type AutoScrollOptions = {\n mode?: ScrollMode;\n changes?: AutoScrollChangesMap;\n scrollOptions?: ScrollIntoViewOptions;\n};", "source": null, "typeParameters": [] }, "platejs:AutoScrollUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "AutoScrollUpdate", "runtime": false, "signature": "type AutoScrollUpdate = (tx: EditorUpdateTransaction & TTx) => void;", "source": null, "typeParameters": [ "TTx extends object = {}" ] }, "platejs:BaseBlockquotePlugin": { "aliases": [], "documentation": "Enables support for block quotes, useful for quotations and passages.", "entrypoint": "platejs", "kind": "const", "name": "BaseBlockquotePlugin", "runtime": true, "signature": "BaseBlockquotePlugin: BasePlugin & Readonly<{\n name: \"blockquote\";\n}> & Readonly> & Readonly<{\n update: {\n readonly wrap: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n };\n}> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: {\n content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n };\n };\n}> & Readonly<{\n shortcuts: true;\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseBoldPlugin": { "aliases": [], "documentation": "Enables support for bold formatting.", "entrypoint": "platejs", "kind": "const", "name": "BaseBoldPlugin", "runtime": true, "signature": "BaseBoldPlugin: BasePlugin & Readonly<{\n name: \"bold\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"bold\";\n localId: \"bold\";\n ownerName: \"bold\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseCodeBlockPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseCodeBlockPlugin", "runtime": true, "signature": "BaseCodeBlockPlugin: BasePlugin>;\n key: \"language\";\n localId: \"language\";\n ownerName: \"codeBlock\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n readonly max: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly ownsExit: true;\n readonly properties: {\n language: PropertyStringDescriptor>;\n };\n readonly slice: {\n readonly preserveContext: true;\n };\n };\n };\n readonly shortcuts: true;\n readonly name: \"codeBlock\";\n readonly commands: true;\n readonly contributions: true;\n readonly dataTransferFormats: true;\n readonly formats: true;\n readonly read: {\n readonly entry: ({ at }?: {\n at?: Location | null;\n }) => {\n codeBlock: NodeEntry & Readonly<{} & {\n language?: string | undefined;\n }>>;\n } | undefined;\n readonly indentDepth: () => number;\n readonly isEmpty: () => boolean;\n };\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockInsertOptions) => boolean>;\n readonly resetBlock: () => boolean;\n readonly selectAll: () => boolean;\n readonly tab: TxDeclaredMethod<({ reverse }?: {\n reverse?: boolean;\n }) => boolean>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n readonly upsert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockUpsertOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs:BaseCodeHighlightPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseCodeHighlightPlugin", "runtime": true, "signature": "BaseCodeHighlightPlugin: BasePlugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"language\";\n localId: \"language\";\n ownerName: \"codeBlock\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n }> & Readonly {\n codeBlock: NodeEntry & Readonly<{} & {\n language?: string | undefined;\n }>>;\n } | undefined;\n readonly indentDepth: () => number;\n readonly isEmpty: () => boolean;\n }>> & Readonly;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n readonly max: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly ownsExit: true;\n readonly properties: {\n language: PropertyStringDescriptor>;\n };\n readonly slice: {\n readonly preserveContext: true;\n };\n };\n }>> & Readonly & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockInsertOptions) => boolean>;\n readonly resetBlock: () => boolean;\n readonly selectAll: () => boolean;\n readonly tab: TxDeclaredMethod<({ reverse }?: {\n reverse?: boolean;\n }) => boolean>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n readonly upsert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockUpsertOptions) => boolean>;\n }>> & Readonly>> & Pick>;\n key: \"language\";\n localId: \"language\";\n ownerName: \"codeBlock\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n readonly max: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly ownsExit: true;\n readonly properties: {\n language: PropertyStringDescriptor>;\n };\n readonly slice: {\n readonly preserveContext: true;\n };\n };\n };\n readonly shortcuts: true;\n readonly name: \"codeBlock\";\n readonly commands: true;\n readonly contributions: true;\n readonly dataTransferFormats: true;\n readonly formats: true;\n readonly read: {\n readonly entry: ({ at }?: {\n at?: Location | null;\n }) => {\n codeBlock: NodeEntry & Readonly<{} & {\n language?: string | undefined;\n }>>;\n } | undefined;\n readonly indentDepth: () => number;\n readonly isEmpty: () => boolean;\n };\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockInsertOptions) => boolean>;\n readonly resetBlock: () => boolean;\n readonly selectAll: () => boolean;\n readonly tab: TxDeclaredMethod<({ reverse }?: {\n reverse?: boolean;\n }) => boolean>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n readonly upsert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly name: \"codeSyntax\";\n readonly decorate: true;\n readonly initialState: {\n readonly defaultLanguage: string | null;\n readonly lowlight: {\n readonly highlight: (language: string, value: string, options?: Readonly<{\n prefix?: string | null;\n }> | null) => HighlightResult;\n readonly listLanguages: () => string[];\n readonly registered: (aliasOrName: string) => boolean;\n } | null;\n };\n readonly on: true;\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs:BaseCodePlugin": { "aliases": [], "documentation": "Enables support for code formatting.", "entrypoint": "platejs", "kind": "const", "name": "BaseCodePlugin", "runtime": true, "signature": "BaseCodePlugin: BasePlugin & Readonly<{\n name: \"code\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"code\";\n localId: \"code\";\n ownerName: \"code\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseElement": { "aliases": [], "documentation": "`Element` objects are nodes in a document that contain other\nelement nodes or text nodes. They can be either \"blocks\" or \"inlines\"\ndepending on the editor's configuration.", "entrypoint": "platejs", "kind": "interface", "name": "BaseElement", "runtime": false, "signature": "interface BaseElement {\n readonly children: readonly Descendant[];\n readonly type: string;\n readonly [key: string]: unknown;\n}", "source": null, "typeParameters": [] }, "platejs:BaseFontBackgroundColorPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseFontBackgroundColorPlugin", "runtime": true, "signature": "BaseFontBackgroundColorPlugin: BasePlugin & Readonly<{\n name: \"backgroundColor\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"backgroundColor\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseFontColorPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseFontColorPlugin", "runtime": true, "signature": "BaseFontColorPlugin: BasePlugin & Readonly<{\n name: \"color\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"color\";\n localId: \"color\";\n ownerName: \"color\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseFontFamilyPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseFontFamilyPlugin", "runtime": true, "signature": "BaseFontFamilyPlugin: BasePlugin & Readonly<{\n name: \"fontFamily\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"fontFamily\";\n localId: \"fontFamily\";\n ownerName: \"fontFamily\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseFontSizePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseFontSizePlugin", "runtime": true, "signature": "BaseFontSizePlugin: BasePlugin & Readonly<{\n name: \"fontSize\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"fontSize\";\n localId: \"fontSize\";\n ownerName: \"fontSize\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseFormattingPlugin": { "aliases": [], "documentation": "Clear formatting: remove text styles inside a range, and block styles from\nthe blocks it fully covers, in one undo step. At a caret it removes only the\npending styles, so the next typed text is plain. Capture and apply copy the\nlook of one range onto another, as a format painter does.", "entrypoint": "platejs", "kind": "const", "name": "BaseFormattingPlugin", "runtime": true, "signature": "BaseFormattingPlugin: BasePlugin & Readonly<{\n name: \"formatting\";\n}> & Readonly> & Readonly<{\n read: {\n /**\n * Take the look at the start of a range, the selection by default: the\n * content properties of its first selected text and, when the range\n * covers that text's whole block, the block's settings and its paragraph\n * or heading type. Returns undefined when the range selects no text.\n */\n readonly capture: (options?: Readonly<{\n at?: Range;\n }>) => CapturedFormat | undefined;\n };\n}> & Readonly<{\n update: {\n /**\n * Copy a look `read.capture` took onto a range, the selection by\n * default, in one new undo step. The range is cleared as `clear` does,\n * except that its blocks keep their settings unless the look came from\n * a whole block, and then takes the look's text properties. When the\n * look came from a whole block, each block the range fully covers takes\n * its settings, and a whole paragraph or heading takes its paragraph or\n * heading type where the schema allows. Returns false and changes\n * nothing when the format is not one `capture` returned, or when the\n * range is missing, collapsed or a block selection.\n */\n readonly apply: TxDeclaredMethod<(format: CapturedFormat, options?: Readonly<{\n at?: Range;\n }>) => boolean>;\n readonly clear: TxDeclaredMethod<(options?: Readonly<{\n at?: Range;\n }>) => void>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseHeadingPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseHeadingPlugin", "runtime": true, "signature": "BaseHeadingPlugin: BasePlugin HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"heading\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly properties: {\n level: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly name: \"heading\";\n readonly formats: true;\n readonly read: {\n readonly level: (node: Element) => HeadingLevel | undefined;\n };\n readonly rules: true;\n readonly update: {\n readonly setLevel: TxDeclaredMethod<(level: HeadingLevel) => boolean>;\n readonly toggle: TxDeclaredMethod<({ level }: ToggleHeadingOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs:BaseHighlightPlugin": { "aliases": [], "documentation": "Enables support for highlights, useful when reviewing content or highlighting\nit for future reference.", "entrypoint": "platejs", "kind": "const", "name": "BaseHighlightPlugin", "runtime": true, "signature": "BaseHighlightPlugin: BasePlugin & Readonly<{\n name: \"highlight\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"highlight\";\n localId: \"highlight\";\n ownerName: \"highlight\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseHorizontalRulePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseHorizontalRulePlugin", "runtime": true, "signature": "BaseHorizontalRulePlugin: BasePlugin & Readonly<{\n name: \"horizontalRule\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: {\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseIndentPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseIndentPlugin", "runtime": true, "signature": "BaseIndentPlugin: BasePlugin;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs:BaseInjectProps": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BaseInjectProps", "runtime": false, "signature": "type BaseInjectProps = {\n /**\n * Object whose keys are node values and values are classNames which will be\n * extended.\n */\n classNames?: Record;\n /** Node key to map to the styles. */\n nodeKey?: string;\n /**\n * Style key to override.\n *\n * @default nodeKey\n */\n styleKey?: string;\n /**\n * Text this injection runs on. `'nodeKey'` runs it, `query` and transforms\n * included, only on text whose node key value is not null or undefined, and\n * on every text when no node key resolves. `'all'` runs it on every text and\n * overrides an inherited `'nodeKey'`. Elements are unaffected.\n *\n * @default 'all'\n */\n textScope?: 'all' | 'nodeKey';\n};", "source": null, "typeParameters": [] }, "platejs:BaseInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BaseInputRule", "runtime": false, "signature": "type BaseInputRule = {\n enabled?: BivariantCallback<[context: TReadContext], boolean>;\n priority?: number;\n};", "source": null, "typeParameters": [ "TReadContext = SelectionInputRuleContext" ] }, "platejs:BaseItalicPlugin": { "aliases": [], "documentation": "Enables support for italic formatting.", "entrypoint": "platejs", "kind": "const", "name": "BaseItalicPlugin", "runtime": true, "signature": "BaseItalicPlugin: BasePlugin & Readonly<{\n name: \"italic\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"italic\";\n localId: \"italic\";\n ownerName: \"italic\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseKbdPlugin": { "aliases": [], "documentation": "Enables support for keyboard-input formatting.", "entrypoint": "platejs", "kind": "const", "name": "BaseKbdPlugin", "runtime": true, "signature": "BaseKbdPlugin: BasePlugin & Readonly<{\n name: \"kbd\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"kbd\";\n localId: \"kbd\";\n ownerName: \"kbd\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseLineHeightPlugin": { "aliases": [], "documentation": "Enables configurable line spacing on targeted block elements.", "entrypoint": "platejs", "kind": "const", "name": "BaseLineHeightPlugin", "runtime": true, "signature": "BaseLineHeightPlugin: BasePlugin & Readonly<{\n name: \"lineHeight\";\n}> & Readonly> & Readonly<{\n update: {\n clear: TxDeclaredMethod<(options?: NodeSetNodesOptions) => void>;\n set: TxDeclaredMethod<(value: number, options?: NodeSetNodesOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isLineHeight;\n readonly validationVersion: 1;\n }>;\n key: \"lineHeight\";\n localId: \"lineHeight\";\n ownerName: \"lineHeight\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly properties: {\n lineHeight: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n}> & Readonly<{\n targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseLinkDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BaseLinkDefinition", "runtime": false, "signature": "type BaseLinkDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:BaseLinkPlugin": { "aliases": [], "documentation": "Enables support for hyperlinks.", "entrypoint": "platejs", "kind": "const", "name": "BaseLinkPlugin", "runtime": true, "signature": "BaseLinkPlugin: BasePlugin>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs:BaseLinkPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BaseLinkPluginState", "runtime": false, "signature": "type BaseLinkPluginState = {\n /**\n * URL schemes the link feature accepts when it inserts, types, pastes or\n * imports a link, and that a rendered link may use. A link pasted as an\n * exact editor fragment keeps its URL. Relative URLs are always allowed;\n * script-capable schemes such as `javascript:` and `data:` never are.\n */\n allowedSchemes: readonly string[];\n defaultLinkAttributes: LinkAttributes;\n /** Keeps selected text on pasting links by default. */\n keepSelectedTextOnPaste: boolean;\n /**\n * Returns the href for typed or pasted text, or `undefined` when the text is\n * not a link. `defaultParseUrl` accepts a whole token with an explicit\n * scheme. The href still has to pass `allowedSchemes`.\n */\n parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n /** Configures the range used to find text before the selection. */\n rangeBeforeOptions: NonNullable[1]>;\n};", "source": null, "typeParameters": [] }, "platejs:BaseListDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BaseListDefinition", "runtime": false, "signature": "type BaseListDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:BaseListPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseListPlugin", "runtime": true, "signature": "BaseListPlugin: BasePlugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs:BaseNode": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BaseNode", "runtime": false, "signature": "type BaseNode = AnyPluginEditor$1 | Element | Text;", "source": null, "typeParameters": [] }, "platejs:BaseParagraphDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BaseParagraphDefinition", "runtime": false, "signature": "type BaseParagraphDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:BaseParagraphPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseParagraphPlugin", "runtime": true, "signature": "BaseParagraphPlugin: BasePlugin & Readonly<{\n name: \"paragraph\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BasePlugin": { "aliases": [], "documentation": "Exact Plate plugin descriptor with schema, behavior, and rendering.", "entrypoint": "platejs", "kind": "interface", "name": "BasePlugin", "runtime": false, "signature": "interface BasePlugin extends BasePluginRuntime, BasePluginMethods, PluginWitnessFor<() => LowerBasePlugin>, BasePluginInstalledCapabilityWitness, InferPluginNodeTypeProvider, EditorSchemaPluginProvider<() => InternalSchemaPluginsForPlugin>, EditorSchemaSourceProvider<() => InferPluginSchemaContribution>, PluginReference, PluginDefinitionWitness {\n api?: (context: BasePluginApiContext) => InferApi;\n readonly conflicts: BasePluginDependencyDescriptors>;\n dependencies: BasePluginDependencyDescriptors>;\n readonly initialState: InferPluginStoreState;\n readonly name: C['name'];\n read?: (context: BasePluginContext & {\n state: PluginReadState;\n }) => InferPluginRead;\n readonly schema: InferPluginSchema;\n readonly selectors: InferSelectors;\n readonly targetPlugins: C extends {\n targetPlugins: infer TTargetPlugins extends ReadonlyArray;\n } ? TTargetPlugins : readonly [];\n update?: (context: BasePluginContext & {\n context: EditorUpdateContext;\n tx: PluginTransaction;\n }) => InferUpdate;\n}", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:BasePluginConfiguration": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BasePluginConfiguration", "runtime": false, "signature": "type BasePluginConfiguration = Omit, 'activate' | 'api' | 'dataTransferFormats' | 'formats' | 'commands' | 'conflicts' | 'contributions' | 'corrections' | 'decorate' | 'dependencies' | 'enabled' | 'effectTypes' | 'initialState' | 'initialViewState' | 'key' | 'name' | 'read' | 'readMiddleware' | 'schema' | 'stateFields' | 'targetPlugins' | 'type' | 'update' | 'validate'> & {\n /** Replace this descriptor's node component for static or live consumers. */\n component?: NodeComponent;\n decorate?: DecorateInput | null;\n enabled?: boolean;\n initialState?: Partial>;\n targetPlugins?: ReadonlyArray;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition" ] }, "platejs:BasePluginContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BasePluginContext", "runtime": false, "signature": "type BasePluginContext = { [K in keyof BasePluginContextFields]: BasePluginContextFields[K]; };", "source": null, "typeParameters": [ "in out C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:BasePluginDefinition": { "aliases": [], "documentation": "Compact inferred definition carried by every Base plugin descriptor.\n\nAuthor callbacks are normalized to their capability results before reaching\nthis boundary, so declarations do not serialize callback graphs.", "entrypoint": "platejs", "kind": "type", "name": "BasePluginDefinition", "runtime": false, "signature": "type BasePluginDefinition = Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>;", "source": null, "typeParameters": [] }, "platejs:BasePluginDefinitionInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BasePluginDefinitionInput", "runtime": false, "signature": "type BasePluginDefinitionInput = BasePluginInputFields & Readonly<{\n component?: NodeComponent;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:BasePluginExtendInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BasePluginExtendInput", "runtime": false, "signature": "type BasePluginExtendInput = BasePluginStageObject | PluginReference$1 | ((context: BasePluginContext) => BasePluginStageObject | PluginReference$1);", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition" ] }, "platejs:BasePluginImplementationContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BasePluginImplementationContext", "runtime": false, "signature": "type BasePluginImplementationContext = PluginBaseContext & {\n editor: BasePluginContextEditor;\n plugin: ResolvedPlugin;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:BasePluginInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BasePluginInput", "runtime": false, "signature": "type BasePluginInput = PluginReference;", "source": null, "typeParameters": [] }, "platejs:BasePluginOn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BasePluginOn", "runtime": false, "signature": "type BasePluginOn = Readonly<{\n commit?: (context: BasePluginLifecycleContext>>) => void;\n nodeChange?: (context: BasePluginLifecycleContext>>) => void;\n textChange?: (context: BasePluginLifecycleContext>>) => void;\n transactionChange?: (context: BasePluginLifecycleContext>>) => void;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:BasePluginOverride": { "aliases": [], "documentation": "Configuration-only patch for an already-installed foreign plugin.\n\nThe target name cannot provide target-specific inference. Pass the target\nconfig type explicitly when exact initial-state checking is required.", "entrypoint": "platejs", "kind": "type", "name": "BasePluginOverride", "runtime": false, "signature": "type BasePluginOverride = Omit, 'configure' | 'dependencies' | 'extend' | 'name' | 'override' | 'schema'>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = AnyBasePluginDefinition" ] }, "platejs:BasePluginPortal": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BasePluginPortal", "runtime": false, "signature": "type BasePluginPortal['api']> = Omit, keyof PluginPortalContext | 'schema'> & PluginReference & Omit, 'api' | 'read' | 'update'> & {\n /** API scoped directly to this plugin. */\n api: TApi;\n /** State-bound reads scoped directly to this plugin. */\n read: PluginReadCapability;\n /** One-shot updates scoped directly to this plugin. */\n update: PluginDirectUpdate;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition", "S = C", "TApi = PluginPortalContext['api']" ] }, "platejs:BasePoint": { "aliases": [], "documentation": "`Point` objects refer to a specific location in a text node in a\ndocument. Its path refers to the location of the node in the tree, and its\noffset refers to the distance into the node's string of text. Points can\nonly refer to `Text` nodes.", "entrypoint": "platejs", "kind": "interface", "name": "BasePoint", "runtime": false, "signature": "interface BasePoint {\n readonly offset: number;\n readonly path: Path;\n readonly root?: string;\n}", "source": null, "typeParameters": [] }, "platejs:BaseRange": { "aliases": [], "documentation": "`Range` objects are a set of points that refer to a specific span of a\ndocument. They can define a span inside a single node or can span across\nmultiple nodes.", "entrypoint": "platejs", "kind": "interface", "name": "BaseRange", "runtime": false, "signature": "interface BaseRange {\n readonly anchor: Point;\n readonly focus: Point;\n}", "source": null, "typeParameters": [] }, "platejs:BaseScriptPlugin": { "aliases": [], "documentation": "Enables subscript and superscript through one enum-valued mark.", "entrypoint": "platejs", "kind": "const", "name": "BaseScriptPlugin", "runtime": true, "signature": "BaseScriptPlugin: BasePlugin & Readonly<{\n name: \"script\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"script\";\n localId: \"script\";\n ownerName: \"script\";\n placement: \"text\";\n unaliased: true;\n value: \"sub\" | \"sup\";\n }>;\n schema: {\n readonly mark: PropertyEnumDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseStrikethroughPlugin": { "aliases": [], "documentation": "Enables support for strikethrough formatting.", "entrypoint": "platejs", "kind": "const", "name": "BaseStrikethroughPlugin", "runtime": true, "signature": "BaseStrikethroughPlugin: BasePlugin & Readonly<{\n name: \"strikethrough\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"strikethrough\";\n localId: \"strikethrough\";\n ownerName: \"strikethrough\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseText": { "aliases": [], "documentation": "`Text` objects represent the nodes that contain the actual text content of a\ndocument along with any formatting properties. They are always leaf\nnodes in the document tree as they cannot contain any children.", "entrypoint": "platejs", "kind": "interface", "name": "BaseText", "runtime": false, "signature": "interface BaseText {\n readonly text: string;\n readonly [key: string]: unknown;\n}", "source": null, "typeParameters": [] }, "platejs:BaseTextAlignPlugin": { "aliases": [], "documentation": "Creates a plugin that adds alignment functionality to the editor.", "entrypoint": "platejs", "kind": "const", "name": "BaseTextAlignPlugin", "runtime": true, "signature": "BaseTextAlignPlugin: BasePlugin & Readonly<{\n name: \"textAlign\";\n}> & Readonly> & Readonly<{\n update: {\n clear: TxDeclaredMethod<(options?: NodeSetNodesOptions) => void>;\n set: TxDeclaredMethod<(value: Alignment, options?: NodeSetNodesOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textAlign\";\n localId: \"textAlign\";\n ownerName: \"textAlign\";\n placement: \"element\";\n unaliased: true;\n value: \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\";\n }>;\n schema: {\n readonly properties: {\n textAlign: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n}> & Readonly<{\n targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseTextIndentPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BaseTextIndentPlugin", "runtime": true, "signature": "BaseTextIndentPlugin: BasePlugin & Readonly<{\n name: \"textIndent\";\n}> & Readonly> & Readonly<{\n initialState: {\n readonly offset: number;\n readonly unit: string;\n };\n}> & Readonly<{\n update: {\n clear: TxDeclaredMethod<(options?: NodeSetNodesOptions) => void>;\n set: TxDeclaredMethod<(value: number, options?: NodeSetNodesOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor>;\n key: \"textIndent\";\n localId: \"textIndent\";\n ownerName: \"textIndent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly properties: {\n textIndent: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n}> & Readonly<{\n targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs:BaseUnderlinePlugin": { "aliases": [], "documentation": "Enables support for underline formatting.", "entrypoint": "platejs", "kind": "const", "name": "BaseUnderlinePlugin", "runtime": true, "signature": "BaseUnderlinePlugin: BasePlugin & Readonly<{\n name: \"underline\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"underline\";\n localId: \"underline\";\n ownerName: \"underline\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:BlockDuplicateOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BlockDuplicateOptions", "runtime": false, "signature": "type BlockDuplicateOptions = {\n at?: Location;\n match?: NodeMatch;\n type?: TType;\n mode?: RangeMode;\n voids?: boolean;\n} & Pick;", "source": null, "typeParameters": [ "T extends Element = Element", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:BlockFenceInputRuleConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BlockFenceInputRuleConfig", "runtime": false, "signature": "type BlockFenceInputRuleConfig = BaseInputRule & MatchBlockFenceOptions & {\n apply: (context: BlockFenceApplyContext, match: TMatch) => InputRuleDecline | undefined;\n on: 'break' | 'match';\n};", "source": null, "typeParameters": [ "TMatch = BlockFenceInputRuleMatch" ] }, "platejs:BlockFenceInputRuleMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BlockFenceInputRuleMatch", "runtime": false, "signature": "type BlockFenceInputRuleMatch = BlockStartInputRuleMatch & {\n path: Path;\n};", "source": null, "typeParameters": [] }, "platejs:BlockInsertOptions": { "aliases": [], "documentation": "Placement options for feature commands that insert whole blocks: one of\n`after` a block, `before` a block or a path `at`.", "entrypoint": "platejs", "kind": "type", "name": "BlockInsertOptions", "runtime": false, "signature": "type BlockInsertOptions = BlockInsertOptions$1;", "source": null, "typeParameters": [] }, "platejs:BlockquoteRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BlockquoteRules", "runtime": true, "signature": "BlockquoteRules: {\n markdown: ({ enabled, marker, priority }?: {\n enabled?: (context: InsertTextInputRuleReadContext) => boolean;\n marker?: string;\n priority?: number;\n }) => InsertTextInputRule<{\n range: Range;\n text: string;\n blockPath: Path;\n }, InternalBaseEditorWithInstalledPlugins>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference$1[]>>;\n}", "source": null, "typeParameters": [] }, "platejs:BlockStartInputRuleConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BlockStartInputRuleConfig", "runtime": false, "signature": "type BlockStartInputRuleConfig = BaseInputRule & {\n apply?: (context: InsertTextInputRuleContext, match: BlockStartInputRuleMatch & TMatch) => ReturnType;\n mode?: 'set' | 'toggle' | 'wrap';\n node?: PluginReference | string;\n removeMatchedText?: boolean;\n trigger: string;\n} & MatchBlockStartOptions;", "source": null, "typeParameters": [ "TMatch extends object = {}" ] }, "platejs:BlockStartInputRuleMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BlockStartInputRuleMatch", "runtime": false, "signature": "type BlockStartInputRuleMatch = {\n range: Range;\n text: string;\n};", "source": null, "typeParameters": [] }, "platejs:BlockUpsertOptions": { "aliases": [], "documentation": "Placement options for a block upsert. A matching empty editable block is\nreused; every other source follows the standard semantic insertion policy.", "entrypoint": "platejs", "kind": "type", "name": "BlockUpsertOptions", "runtime": false, "signature": "type BlockUpsertOptions = Exclude & {\n replaceEmpty?: never;\n};", "source": null, "typeParameters": [] }, "platejs:BoldRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BoldRules", "runtime": true, "signature": "BoldRules: {\n markdown: ({ variant, ...options }?: MarkdownMarkRuleOptions & {\n variant?: '*' | '_';\n }) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs:BooleanMarkKeysOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BooleanMarkKeysOf", "runtime": false, "signature": "type BooleanMarkKeysOf = Extract>, string>;", "source": null, "typeParameters": [ "N" ] }, "platejs:BooleanMarksOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BooleanMarksOf", "runtime": false, "signature": "type BooleanMarksOf = Partial, BooleanMarkKeysOf & keyof MarksOf>>;", "source": null, "typeParameters": [ "N" ] }, "platejs:BreakRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "BreakRules", "runtime": false, "signature": "type BreakRules = {\n /** Action when Enter is pressed in an empty block. */\n empty?: RuleDecision;\n /**\n * Action when Enter is pressed at the end of an empty line. This is typically\n * used with `default: 'lineBreak'`.\n *\n * Example:\n *\n * ```tsx\n *
\n * This is some text\\n\n * |\n *
\n * ```\n *\n * Plugin resolution refuses a static `'exit'` or `'deleteExit'` on a text\n * block that is not an object and whose schema element does not declare\n * `ownsExit: true`, because exit from a nested block would land after its\n * container instead of after the block. A rule written as a function is not\n * checked.\n */\n emptyLineEnd?: RuleDecision<'default' | 'deleteExit' | 'exit', C>;\n /**\n * Default action when Enter is pressed. Defaults to splitting the block.\n * Use `'none'` to handle Enter without changing the document.\n */\n default?: RuleDecision<'default' | 'deleteExit' | 'exit' | 'lineBreak' | 'none', C>;\n /**\n * If true, the new block after splitting resets to its container's default\n * type. When the container has no default it can become, the split stays\n * and the new block keeps its type.\n */\n splitReset?: RuleDecision;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:BULLETED_LIST_STYLES": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BULLETED_LIST_STYLES", "runtime": true, "signature": "BULLETED_LIST_STYLES: readonly [\"disc\", \"circle\", \"square\", \"disclosure-open\", \"disclosure-closed\"]", "source": null, "typeParameters": [] }, "platejs:BulletedListRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "BulletedListRules", "runtime": true, "signature": "BulletedListRules: {\n markdown: ({ enabled, priority, variant }?: MarkdownListRuleOptions & {\n variant?: '*' | '-';\n }) => InsertTextInputRule & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>>, readonly []>>;\n}", "source": null, "typeParameters": [] }, "platejs:CapturedFormat": { "aliases": [], "documentation": "The look `read.capture` took from a range, for `update.apply`. It is\nopaque: pass it back, never read it.", "entrypoint": "platejs", "kind": "interface", "name": "CapturedFormat", "runtime": false, "signature": "interface CapturedFormat {\n readonly [capturedFormatBrand]: true;\n}", "source": null, "typeParameters": [] }, "platejs:ChildOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ChildOf", "runtime": false, "signature": "type ChildOf = N extends {\n children: readonly unknown[];\n} ? N['children'][I] : never;", "source": null, "typeParameters": [ "N", "I extends number = number" ] }, "platejs:CodeBlockDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "CodeBlockDefinition", "runtime": false, "signature": "type CodeBlockDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:CodeBlockElement": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "CodeBlockElement", "runtime": false, "signature": "type CodeBlockElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs:CodeBlockRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "CodeBlockRules", "runtime": true, "signature": "CodeBlockRules: {\n markdown: ({ block, enabled, fence, on, priority }: {\n block?: PluginReference | string;\n enabled?: (context: SelectionInputRuleContext) => boolean;\n fence?: string;\n on: 'break' | 'match';\n priority?: number;\n }) => InsertBreakInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference$1[]>> | InsertTextInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference$1[]>>;\n}", "source": null, "typeParameters": [] }, "platejs:CodeHighlightDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "CodeHighlightDefinition", "runtime": false, "signature": "type CodeHighlightDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:CodeHighlightLowlight": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "CodeHighlightLowlight", "runtime": false, "signature": "type CodeHighlightLowlight = {\n highlight(language: string, value: string, options?: Readonly<{\n prefix?: string | null;\n }> | null): HighlightResult;\n listLanguages(): string[];\n registered(aliasOrName: string): boolean;\n};", "source": null, "typeParameters": [] }, "platejs:CodeHighlightPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "CodeHighlightPluginState", "runtime": false, "signature": "type CodeHighlightPluginState = {\n defaultLanguage: string | null;\n lowlight: CodeHighlightLowlight | null;\n};", "source": null, "typeParameters": [] }, "platejs:CodeRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "CodeRules", "runtime": true, "signature": "CodeRules: {\n markdown: (options?: MarkdownMarkRuleOptions) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs:CollapseSelectionCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "CollapseSelectionCommand", "runtime": false, "signature": "type CollapseSelectionCommand = {\n options?: SelectionCollapseOptions;\n};", "source": null, "typeParameters": [] }, "platejs:CompatibleEditorCommand": { "aliases": [], "documentation": "A command accepted only when the actual editor meets its requirements.", "entrypoint": "platejs", "kind": "type", "name": "CompatibleEditorCommand", "runtime": false, "signature": "type CompatibleEditorCommand = IsDefaultEditor> extends true ? TCommand : EditorCommandCapabilities extends EditorCommandCapabilities> ? TCommand : never;", "source": null, "typeParameters": [ "TEditor", "TCommand extends EditorCommandDescriptor" ] }, "platejs:compileEditorSchemaContract": { "aliases": [], "documentation": "Compile plugins against one unchanged raw editor without publishing them.\nAPI factories and schema validators run; document defaults and activation do not.", "entrypoint": "platejs", "kind": "const", "name": "compileEditorSchemaContract", "runtime": true, "signature": "compileEditorSchemaContract: (editor: AnyEditor, input: PluginInput) => Readonly<{\n diagnostics: readonly EditorSchemaDiagnostic[];\n elements: Readonly<{\n allowedChildren: ReadonlyArray;\n allowedParents: ReadonlyArray;\n byType: readonly EditorSchemaContractElement[];\n contentPrograms: ReadonlyArray]>;\n defaultPlans: ReadonlyArray;\n groups: ReadonlyArray;\n textGroups: readonly string[];\n wrapperPlans: ReadonlyArray;\n }>;\n fingerprint: string;\n formatVersion: 1;\n identity: EditorSchemaIdentity;\n primaryRoot: EditorSchemaContractRoot;\n properties: Readonly<{\n byId: readonly StructuralCompiledSchemaProperty[];\n conflictsByPropertyId: ReadonlyArray;\n elementAllowedByType: ReadonlyArray;\n lifecycle: ReadonlyArray;\n split: 'drop' | 'preserve';\n typeChange: 'drop' | 'preserve-if-allowed';\n unique?: true;\n }>]>;\n lookup: Readonly<{\n element: Readonly<{\n exact: ReadonlyArray;\n prefixes: readonly CompiledSchemaPropertyKeyPrefix[];\n }>;\n text: Readonly<{\n exact: ReadonlyArray;\n prefixes: readonly CompiledSchemaPropertyKeyPrefix[];\n }>;\n }>;\n mergeStrategies: ReadonlyArray;\n membersByExclusiveGroup: ReadonlyArray;\n textAllowedByParentType: ReadonlyArray;\n }>;\n revision: number;\n roots: readonly EditorSchemaContractRoot[];\n storageRevision?: 1 | 2;\n unknown: EditorSchemaUnknownPolicy;\n vocabulary: CompiledSchemaVocabulary;\n}>", "source": null, "typeParameters": [] }, "platejs:ConfiguredBasePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ConfiguredBasePlugin", "runtime": false, "signature": "type ConfiguredBasePlugin = Omit, 'configure' | 'extend'> & ConfiguredPluginDescriptor & {\n configure: never;\n extend: never;\n} & PluginReference;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:ContentSlice": { "aliases": [], "documentation": "Immutable open document content carried across host and insertion boundaries.", "entrypoint": "platejs", "kind": "type", "name": "ContentSlice", "runtime": true, "signature": "type ContentSlice = ContentSlice$1;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:createBlockFenceInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "function", "name": "createBlockFenceInputRule", "runtime": true, "signature": "declare function createBlockFenceInputRule(config: BlockFenceInputRuleConfig): InsertBreakInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, readonly PluginReference$1[]>> | InsertTextInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, readonly PluginReference$1[]>>;", "source": null, "typeParameters": [ "TMatch = BlockFenceInputRuleMatch" ] }, "platejs:createBlockStartInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "createBlockStartInputRule", "runtime": true, "signature": "createBlockStartInputRule: (config: BlockStartInputRuleConfig) => InsertTextInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, readonly PluginReference$1[]>>", "source": null, "typeParameters": [] }, "platejs:createEditor": { "aliases": [], "documentation": "Creates a base Plate editor (non-React version).\n\nThis function creates a fully configured Plate editor for\nnon-React environments or server-side contexts. It applies the specified\nplugins and configuration to create a functional editor.\n\nExamples:\n\n```ts\nconst editor = createEditor({\n plugins: [ParagraphPlugin, HeadingPlugin],\n initialValue: [{ type: 'paragraph', children: [{ text: 'Hello world!' }] }],\n});\n\n// Editor with custom configuration\nconst editor = createEditor({\n plugins: [ParagraphPlugin, ElementIdPlugin],\n maxLength: 1000,\n initialSelection: 'end',\n});\n\n// Server-side editor with feature-owned HTML conversion\nconst editor = createEditor({\n plugins: [ParagraphPlugin, HtmlPlugin],\n initialValue: ({ editor }) => {\n const result = editor.api.html.parse('

HTML content

');\n\n if (!result.ok) throw new Error(result.diagnostics[0].message);\n\n return result.document;\n },\n});\n\n// Name the schema only when persisted or collaborative state needs lineage.\nconst persistedEditor = createEditor({\n schema: { id: 'acme-document', version: 1 },\n});\n```", "entrypoint": "platejs", "kind": "function", "name": "createEditor", "runtime": true, "signature": "declare function createEditor(options?: CreateEditorOptions): Editor;", "source": null, "typeParameters": [ "const TSchema extends EditorApplicationSchema | undefined = undefined" ] }, "platejs:CreateEditorOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "CreateEditorOptions", "runtime": false, "signature": "type CreateEditorOptions = Partial, 'id' | 'plugins' | 'schema'>> & {\n /** Stable logical identity for the created editor. */\n id?: string;\n /**\n * Complete editor document, persisted document envelope, or primary-root\n * array shorthand. Persisted envelopes must match the compiled current\n * schema identity.\n *\n * Omit this option to start from the schema's default primary-root child.\n */\n initialValue?: ((context: {\n editor: InternalBaseEditorWithInstalledPlugins, InferBaseEditorSchemaPlugins>;\n }) => EditorValueInput) | EditorValueInput;\n /**\n * Array of plugins to be loaded into the editor. Plugins extend the editor's\n * functionality and define custom behavior.\n */\n plugins?: TPlugins;\n schema?: TSchema;\n};", "source": null, "typeParameters": [ "TPlugins extends readonly PluginReference$1[] = readonly []", "TSchema extends EditorApplicationSchema | undefined = EditorApplicationSchema | undefined" ] }, "platejs:createEditorView": { "aliases": [], "documentation": "Create a root-scoped editor view while preserving layered capabilities.", "entrypoint": "platejs", "kind": "const", "name": "createEditorView", "runtime": true, "signature": "createEditorView: CreateEditorView", "source": null, "typeParameters": [] }, "platejs:createHotkey": { "aliases": [], "documentation": "Create a platform-aware hotkey checker.", "entrypoint": "platejs", "kind": "const", "name": "createHotkey", "runtime": true, "signature": "createHotkey: (key: string) => (event: KeyboardEventLike) => boolean", "source": null, "typeParameters": [] }, "platejs:CreateLinkNodeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "CreateLinkNodeOptions", "runtime": false, "signature": "type CreateLinkNodeOptions = {\n url: string;\n children?: Text$1[];\n target?: string;\n text?: string;\n};", "source": null, "typeParameters": [] }, "platejs:createMarkInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "createMarkInputRule", "runtime": true, "signature": "createMarkInputRule: (config: MarkInputRuleConfig) => InsertTextInputRule", "source": null, "typeParameters": [] }, "platejs:createTextSubstitutionInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "createTextSubstitutionInputRule", "runtime": true, "signature": "createTextSubstitutionInputRule: ({ enabled, patterns, priority }: TextSubstitutionInputRuleConfig) => InsertTextInputRule<{\n end: string;\n pattern: TextSubstitutionPattern;\n points: {\n afterStartMatchPoint: BasePoint | undefined;\n beforeEndMatchPoint: BasePoint;\n beforeStartMatchPoint: BasePoint | undefined;\n };\n}, InternalBaseEditorWithInstalledPlugins>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, readonly PluginReference$1[]>>", "source": null, "typeParameters": [] }, "platejs:DebugApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DebugApi", "runtime": false, "signature": "type DebugApi = {\n error: (message: unknown, type?: DebugErrorType, details?: unknown) => void;\n info: LogFunction;\n log: LogFunction;\n warn: LogFunction;\n};", "source": null, "typeParameters": [] }, "platejs:DebugDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DebugDefinition", "runtime": false, "signature": "type DebugDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:DebugErrorType": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DebugErrorType", "runtime": false, "signature": "type DebugErrorType = (string & {}) | 'DEFAULT' | 'OVERRIDE_MISSING' | 'PLUGIN_DEPENDENCY_MISSING' | 'PLUGIN_MISSING' | 'USE_CREATE_PLUGIN' | 'USE_ELEMENT_CONTEXT';", "source": null, "typeParameters": [] }, "platejs:DebugPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "DebugPlugin", "runtime": true, "signature": "DebugPlugin: BasePlugin & Readonly<{\n name: \"debug\";\n}> & Readonly> & Readonly<{\n initialState: {\n readonly isProduction: boolean;\n readonly logger: {\n readonly error?: LogFunction | undefined;\n readonly info?: LogFunction | undefined;\n readonly log?: LogFunction | undefined;\n readonly warn?: LogFunction | undefined;\n };\n readonly logLevel: LogLevel;\n readonly throwErrors: boolean;\n };\n}> & Readonly<{\n api: {\n readonly error: (message: unknown, type?: DebugErrorType, details?: unknown) => void;\n readonly info: (message: string, type?: DebugErrorType, details?: unknown) => void;\n readonly log: (message: string, type?: DebugErrorType, details?: unknown) => void;\n readonly warn: (message: string, type?: DebugErrorType, details?: unknown) => void;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:DebugPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DebugPluginState", "runtime": false, "signature": "type DebugPluginState = {\n isProduction: boolean;\n logger: Partial>;\n logLevel: LogLevel;\n throwErrors: boolean;\n};", "source": null, "typeParameters": [] }, "platejs:DebugValueScrubber": { "aliases": [], "documentation": "Hook for replacing values before debug output is stringified.", "entrypoint": "platejs", "kind": "type", "name": "DebugValueScrubber", "runtime": false, "signature": "type DebugValueScrubber = (key: string, value: unknown) => unknown;", "source": null, "typeParameters": [] }, "platejs:DeclaredPluginShortcutInput": { "aliases": [], "documentation": "Shortcut declarations for capabilities already named by an explicit config.", "entrypoint": "platejs", "kind": "type", "name": "DeclaredPluginShortcutInput", "runtime": false, "signature": "type DeclaredPluginShortcutInput = Partial<{ [K in PluginShortcutApiKey | PluginShortcutUpdateKey]: PluginShortcutForKey | null; }>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition", "TShortcut = EditorShortcut" ] }, "platejs:decodeEditorEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "decodeEditorEffect", "runtime": true, "signature": "decodeEditorEffect: (type: EditorEffectType, input: unknown) => EditorEffect", "source": null, "typeParameters": [] }, "platejs:Decorate": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "Decorate", "runtime": false, "signature": "type Decorate = Readonly<{\n /** Pure presentation applied after read. Observation remains owned by observe. */\n attributes?: DecorationAttributes | ((ctx: BasePluginContext & {\n decoration: Decoration;\n entry: NodeEntry;\n }) => DecorationAttributes) | null;\n observe?: (ctx: BasePluginContext & {\n refresh: (input: DecorationRefresh) => void;\n }) => () => void;\n read: (ctx: BasePluginContext & {\n entry: NodeEntry;\n }) => readonly Decoration[];\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:Decoration": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "Decoration", "runtime": false, "signature": "type Decoration = Readonly<{\n attributes: DecorationAttributes;\n key: string;\n range: Range;\n}>;", "source": null, "typeParameters": [] }, "platejs:DecorationAttributes": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DecorationAttributes", "runtime": false, "signature": "type DecorationAttributes = Readonly<{\n className?: string;\n style?: Readonly>;\n} & {\n [name: `aria-${string}`]: DecorationAttributeValue;\n [name: `data-${string}`]: DecorationAttributeValue;\n}>;", "source": null, "typeParameters": [] }, "platejs:DecorationRefresh": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DecorationRefresh", "runtime": false, "signature": "type DecorationRefresh = Readonly<{\n nodeKeys: 'all' | readonly NodeKey[];\n}>;", "source": null, "typeParameters": [] }, "platejs:DecorationSource": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DecorationSource", "runtime": false, "signature": "type DecorationSource = Readonly<{\n id: string;\n /** Attach external ownership before the source's first mounted read. */\n observe?: (context: {\n editor: E;\n refresh: (input: DecorationRefresh) => void;\n }) => () => void;\n read: (context: {\n editor: E;\n entry: NodeEntry;\n }) => readonly Decoration[];\n}>;", "source": null, "typeParameters": [ "E = Editor" ] }, "platejs:defaultsDeepToNodes": { "aliases": [], "documentation": "Recursively merge a source object to children nodes with a query.", "entrypoint": "platejs", "kind": "const", "name": "defaultsDeepToNodes", "runtime": true, "signature": "defaultsDeepToNodes: (options: Omit, 'apply'>) => void", "source": null, "typeParameters": [] }, "platejs:defineCommand": { "aliases": [ "defineCommand$1" ], "documentation": "Define a semantic command with descriptor-owned identity and pure behavior.", "entrypoint": "platejs", "kind": "const", "name": "defineCommand", "runtime": true, "signature": "defineCommand$1: = Editor>(id: string, spec?: CommandDefinitionSpec) => EditorCommand", "source": null, "typeParameters": [] }, "platejs:defineEditorSchema": { "aliases": [], "documentation": "Define one complete schema as a nominal editor plugin.", "entrypoint": "platejs", "kind": "const", "name": "defineEditorSchema", "runtime": true, "signature": "defineEditorSchema: (name: N, definition: EditorSchemaDefinitionInput) => Plugin;\n}>, N>>", "source": null, "typeParameters": [] }, "platejs:defineEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "defineEffect", "runtime": true, "signature": "defineEffect: (options: DefineEffectOptions) => EditorEffectType", "source": null, "typeParameters": [] }, "platejs:defineInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "function", "name": "defineInputRule", "runtime": true, "signature": "declare function defineInputRule(rule: InsertBreakInputRule): InsertBreakInputRule;", "source": null, "typeParameters": [ "TMatch = true", "TEditor extends Editor = Editor" ] }, "platejs:definePlugin": { "aliases": [], "documentation": "Create one exact render-capable Plate definition.\n\nThe callback-rich input is normalized to a compact private definition\nwitness. Ordered `.extend()` stages may consume capabilities from earlier\nstages; `.configure()` is terminal and never widens the definition.\nEvery top-level state field must have a defined default; use `null` for an\nempty value. Nested domain objects may retain optional properties.", "entrypoint": "platejs", "kind": "function", "name": "definePlugin", "runtime": true, "signature": "declare function definePlugin, TTargetPlugins>, TInitialViewStateInput extends () => object, const TApi extends object, const TUpdate extends object, const TSchema extends PluginSchemaDeclaration, const D extends BasePluginDependencies, S extends object = 'initialState' extends TKeys ? Extract, object> : {}, const TConflicts extends BasePluginDependencies = readonly [], const TTargetPlugins extends ReadonlyArray = readonly [], const TRead extends BasePluginConstructorRead = BasePluginConstructorRead, const TSelectors extends PluginSelectors = {}, const TEnabled extends boolean = boolean, TViewState extends object = 'initialViewState' extends TKeys ? ReturnType : {}>(name: N, definition: Readonly> & Readonly<{\n schema?: BasePluginConstructorSchemaInput, S, TTargetPlugins, TSchema>;\n}> & BasePluginConstructorRestInput, S, NoInfer<'schema' extends TKeys ? TSchema : never>, TTargetPlugins, TViewState> & ('initialState' extends TKeys ? Readonly<{\n initialState: TInitialStateInput & PluginInitialStateInput>;\n}> : Readonly<{\n initialState?: never;\n}>) & ('initialViewState' extends TKeys ? Readonly<{\n initialViewState: TInitialViewStateInput & PluginInitialStateInput>;\n}> : Readonly<{\n initialViewState?: never;\n}>) & ('decorate' extends TKeys ? Readonly<{\n decorate: Decorate>;\n}> : Readonly<{\n decorate?: never;\n}>) & Readonly<{\n api?: (context: BasePluginApiContext>) => TApi;\n dataTransferFormats?: ReadonlyArray>>;\n formats?: PluginFormatMapDeclaration | ((context: PluginFormatAuthoringContext>) => PluginFormatMapDeclaration);\n conflicts?: TConflicts;\n dependencies?: D;\n enabled?: TEnabled;\n read?: BasePluginConstructorReadFactory, TRead>;\n selectors?: TSelectors & PluginSelectors>;\n shortcuts?: BasePluginShortcutRecord$1;\n targetPlugins?: TTargetPlugins;\n update?: BasePluginConstructorUpdateFactory, TUpdate>;\n}>): BasePlugin>, BasePluginConstructorPresenceKey>]: true; }> & Readonly<{\n name: N;\n}> & ('dependencies' extends TKeys ? Readonly<{\n dependencies: BasePluginDependencyReferences>;\n}> : Readonly>) & ('conflicts' extends TKeys ? Readonly<{\n conflicts: BasePluginDependencyReferences;\n}> : Readonly>) & ('initialState' extends TKeys ? Readonly<{\n initialState: NormalizePluginState;\n}> : Readonly>) & ('initialViewState' extends TKeys ? Readonly<{\n initialViewState: NormalizePluginState;\n}> : Readonly>) & ('enabled' extends TKeys ? Readonly<{\n enabled: TEnabled;\n}> : Readonly>) & ('api' extends TKeys ? Readonly<{\n api: TApi;\n}> : Readonly>) & ('read' extends TKeys ? Readonly<{\n read: TRead;\n}> : Readonly>) & ('selectors' extends TKeys ? Readonly<{\n selectors: NormalizePluginSelectors, PluginSelectorMethods>;\n}> : Readonly>) & ('update' extends TKeys ? Readonly<{\n update: TUpdate;\n}> : Readonly>) & ('decorate' extends TKeys ? Readonly<{\n decorate: true;\n}> : Readonly>) & ('schema' extends TKeys ? Readonly<{\n __pluginWritableProperties: InferPluginWritablePropertyEntries>;\n schema: TSchema;\n}> : Readonly>) & ('targetPlugins' extends TKeys ? Readonly<{\n targetPlugins: TTargetPlugins;\n}> : Readonly>) & ('shortcuts' extends TKeys ? Readonly<{\n shortcuts: true;\n}> : Readonly>)>;", "source": null, "typeParameters": [ "const N extends string", "const TKeys extends BasePluginConstructorKey", "TInitialStateInput extends BasePluginConstructorInitialStateInput, TTargetPlugins>", "TInitialViewStateInput extends () => object", "const TApi extends object", "const TUpdate extends object", "const TSchema extends PluginSchemaDeclaration", "const D extends BasePluginDependencies", "S extends object = 'initialState' extends TKeys ? Extract, object> : {}", "const TConflicts extends BasePluginDependencies = readonly []", "const TTargetPlugins extends ReadonlyArray = readonly []", "const TRead extends BasePluginConstructorRead = BasePluginConstructorRead", "const TSelectors extends PluginSelectors = {}", "const TEnabled extends boolean = boolean", "TViewState extends object = 'initialViewState' extends TKeys ? ReturnType : {}" ] }, "platejs:definePluginPoint": { "aliases": [], "documentation": "Define a typed plugin point for ordered cross-plugin contributions.", "entrypoint": "platejs", "kind": "const", "name": "definePluginPoint", "runtime": true, "signature": "definePluginPoint: (id: string) => PluginPoint", "source": null, "typeParameters": [] }, "platejs:definePluginSlot": { "aliases": [], "documentation": "Define a named plugin boundary that can be replaced as one atomic unit.", "entrypoint": "platejs", "kind": "const", "name": "definePluginSlot", "runtime": true, "signature": "definePluginSlot: (key: TKey) => PluginSlot", "source": null, "typeParameters": [] }, "platejs:defineStateField": { "aliases": [], "documentation": "Creates an editor-scoped state field from a keyed descriptor.\n\nState fields register when their plugin is installed and are read through\nthe editor state API.", "entrypoint": "platejs", "kind": "const", "name": "defineStateField", "runtime": true, "signature": "defineStateField: (descriptor: StateFieldDescriptor) => EditorStateField", "source": null, "typeParameters": [] }, "platejs:defineUpdateAnnotation": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "defineUpdateAnnotation", "runtime": true, "signature": "defineUpdateAnnotation: (options: DefineUpdateAnnotationOptions) => EditorUpdateAnnotation", "source": null, "typeParameters": [] }, "platejs:DefinitionOf": { "aliases": [], "documentation": "Extract the exact normalized public definition from a Base or Plate descriptor.", "entrypoint": "platejs", "kind": "type", "name": "DefinitionOf", "runtime": false, "signature": "type DefinitionOf

= P extends unknown ? [ExactPluginDefinitionOf$1

] extends [never] ? DefinitionOf$1

extends (infer D extends AnyBasePluginDefinition) ? D : never : ExactPluginDefinitionOf$1

extends (infer D extends AnyBasePluginDefinition) ? PublicPluginDefinition : never : never;", "source": null, "typeParameters": [ "P" ] }, "platejs:DeleteCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DeleteCommand", "runtime": false, "signature": "type DeleteCommand = {\n direction: 'backward' | 'forward';\n unit: TextUnit;\n};", "source": null, "typeParameters": [] }, "platejs:DeleteFragmentCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DeleteFragmentCommand", "runtime": false, "signature": "type DeleteFragmentCommand = {\n at?: NodeTarget;\n direction: 'backward' | 'forward';\n};", "source": null, "typeParameters": [] }, "platejs:DeleteRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DeleteRules", "runtime": false, "signature": "type DeleteRules = {\n /**\n * Action when Backspace is pressed at the start of the block. This applies\n * whether the block is empty or not.\n *\n * Example:\n *\n * ```tsx\n *

\n * |Text\n *
\n * ```\n */\n start?: RuleDecision<'default' | 'lift' | 'reset', C>;\n /**\n * Action when a deletion starts from or leaves the block empty. `'reset'`\n * converts the emptied block to its container's default type; when the\n * container has no default it can become, the deletion stays and the block\n * keeps its type.\n */\n empty?: RuleDecision<'default' | 'reset', C>;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:DelimitedInlineInputRuleMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DelimitedInlineInputRuleMatch", "runtime": false, "signature": "type DelimitedInlineInputRuleMatch = {\n content: string;\n deleteRange: Range;\n};", "source": null, "typeParameters": [] }, "platejs:DerivedEditorSchemaIdentity": { "aliases": [], "documentation": "Exact semantic identity for a schema without application-owned lineage.", "entrypoint": "platejs", "kind": "type", "name": "DerivedEditorSchemaIdentity", "runtime": false, "signature": "type DerivedEditorSchemaIdentity = Readonly<{\n fingerprint: string;\n kind: 'derived';\n}>;", "source": null, "typeParameters": [] }, "platejs:Descendant": { "aliases": [], "documentation": "The `Descendant` union type represents nodes that are descendants in the\ntree. It is returned as a convenience in certain cases to narrow a value\nfurther than the more generic `Node` union.", "entrypoint": "platejs", "kind": "type", "name": "Descendant", "runtime": false, "signature": "type Descendant = Element | Text;", "source": null, "typeParameters": [] }, "platejs:DescendantEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DescendantEntry", "runtime": false, "signature": "type DescendantEntry = NodeEntry>;", "source": null, "typeParameters": [ "N = Node" ] }, "platejs:DescendantEntryIn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DescendantEntryIn", "runtime": false, "signature": "type DescendantEntryIn = NodeEntry>;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs:DescendantEntryOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DescendantEntryOf", "runtime": false, "signature": "type DescendantEntryOf = NodeEntry>;", "source": null, "typeParameters": [ "E" ] }, "platejs:DescendantIn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DescendantIn", "runtime": false, "signature": "type DescendantIn = DescendantOf;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs:DescendantOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DescendantOf", "runtime": false, "signature": "type DescendantOf = N extends {\n getChildren: () => infer V;\n} ? V extends ReadonlyArray ? ElementOf | TextOf : never : N extends AnyEditor ? DescendantIn : N extends Element ? ElementOf | TextOf : N extends Text ? N : never;", "source": null, "typeParameters": [ "N" ] }, "platejs:diffEditorSchemaContracts": { "aliases": [], "documentation": "Classify structural compatibility without inventing a semantic migration.", "entrypoint": "platejs", "kind": "const", "name": "diffEditorSchemaContracts", "runtime": true, "signature": "diffEditorSchemaContracts: (previousInput: unknown, nextInput: unknown) => EditorSchemaContractDiff", "source": null, "typeParameters": [] }, "platejs:DocumentChange": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "class", "name": "DocumentChange", "runtime": true, "signature": "declare class DocumentChange {\n static readonly empty: DocumentChange;\n /** Named roots created by this change. */\n readonly createRoots: ReadonlySet;\n /** Named roots deleted by this change. */\n readonly deleteRoots: ReadonlySet;\n /** Derived classification for the primary change. */\n readonly primaryClassification: DocumentChangeRootClassification | null;\n /** Derived classifications keyed only by named roots. */\n readonly rootClassifications: ReadonlyMap;\n private constructor();\n static between(before: JsonEditorValue, after: JsonEditorValue, options?: Readonly<{\n isSetValued?: DocumentSetPropertyResolver;\n }>): DocumentChange;\n get empty(): boolean;\n /** Validate a document change without relying on constructor identity. */\n static isDocumentChange(value: unknown): value is DocumentChange;\n static fromJSON(json: DocumentChangeJson): DocumentChange;\n /**\n * Rebase two changes from the same value for pairwise convergence.\n * Multi-peer ordering belongs to a collaboration adapter such as Yjs.\n */\n static transform(a: DocumentChange, b: DocumentChange, value: JsonEditorValue): {\n a: DocumentChange;\n b: DocumentChange;\n };\n /**\n * Compose sequential changes. Overlapping root lifecycle transitions require\n * the source value because deleting a root discards content that no\n * value-free change algebra can recover.\n */\n compose(other: DocumentChange, value?: JsonEditorValue): DocumentChange;\n /** Compose one transaction-wide structural correction into this change. */\n correct(value: JsonEditorValue, correction: DocumentCorrection): DocumentChange;\n iterChangedRanges(visit: (root: string | null, fromA: number, toA: number, fromB: number, toB: number) => void): void;\n mapPosition(position: number, options?: DocumentChangeMapPositionOptions): number | null;\n apply(value: T): T;\n invert(value: JsonEditorValue): DocumentChange;\n toJSON(): DocumentChangeJson;\n}", "source": null, "typeParameters": [] }, "platejs:documentReplacement": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "documentReplacement", "runtime": true, "signature": "documentReplacement: Readonly<{\n combine: (previous: boolean, next: boolean) => boolean;\n key: string;\n}>", "source": null, "typeParameters": [] }, "platejs:DomApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DomApi", "runtime": false, "signature": "type DomApi = AutoScrollApi & DOMApi & {\n clipboard: DOMClipboardApi;\n};", "source": null, "typeParameters": [] }, "platejs:DomPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DomPluginState", "runtime": false, "signature": "type DomPluginState = {\n /** Choose the first or last matching change as the scroll target. */\n scrollMode: ScrollMode;\n /** Change map; true enables scrolling for that canonical change kind. */\n scrollChanges: AutoScrollChangesMap;\n /** Options passed to scrollIntoView. */\n scrollOptions: ScrollIntoViewOptions;\n};", "source": null, "typeParameters": [] }, "platejs:DomPluginUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "DomPluginUpdate", "runtime": false, "signature": "type DomPluginUpdate = AutoScrollPluginUpdate & Pick;", "source": null, "typeParameters": [] }, "platejs:EditableProps": { "aliases": [], "documentation": "`EditableProps` are passed to the component.", "entrypoint": "platejs", "kind": "type", "name": "EditableProps", "runtime": false, "signature": "type EditableProps = {\n as?: any;\n disableDefaultStyles?: boolean;\n placeholder?: string;\n readOnly?: boolean;\n renderElement?: RenderElementFn;\n renderLeaf?: RenderLeafFn;\n renderText?: RenderTextFn;\n role?: string;\n style?: any;\n decorate?: (entry: NodeEntry) => Range[];\n renderPlaceholder?: (props: {\n attributes: {\n contentEditable: boolean;\n 'data-editor-placeholder': boolean;\n ref: (element: any) => void;\n style: any;\n dir?: 'rtl';\n };\n children: any;\n }) => any;\n scrollSelectionIntoView?: (editor: Editor, domRange: DOMRange) => void;\n onDOMBeforeInput?: (event: InputEvent) => void;\n [key: string]: unknown;\n};", "source": null, "typeParameters": [] }, "platejs:EditOnlyConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditOnlyConfig", "runtime": false, "signature": "type EditOnlyConfig = {\n /**\n * If true, `on` DOM event handlers are only active when the editor is not\n * read-only. Commit, transaction, node, and text observations always run.\n *\n * @default true (when `editOnly` is an object or `true` boolean)\n */\n on?: boolean;\n /**\n * If true, `inject.nodeProps` is only active when the editor is not\n * read-only.\n *\n * @default true (when `editOnly` is an object or `true` boolean)\n */\n inject?: boolean;\n /**\n * If true, `render` functions are only active when the editor is not\n * read-only.\n *\n * @default true (when `editOnly` is an object or `true` boolean)\n */\n render?: boolean;\n /**\n * If true, structural slots are only active when the editor is not read-only.\n *\n * @default true (when `editOnly` is an object or `true` boolean)\n */\n slots?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs:Editor": { "aliases": [], "documentation": "Editor selected by value, runtime plugins, Plate plugins, and schema.", "entrypoint": "platejs", "kind": "type", "name": "Editor", "runtime": false, "signature": "type Editor = [TPlugins] extends [never] ? InternalBaseEditorWithInstalledPlugins : InferBaseEditorPlugins extends (infer D) ? InternalBaseEditorWithInstalledPlugins, [TRuntimePlugins] extends [never] ? readonly [] : TRuntimePlugins> : never;", "source": null, "typeParameters": [ "V extends Value = Value", "TRuntimePlugins extends readonly unknown[] = never", "TPlugins = never", "TSchema = undefined" ] }, "platejs:EditorAboveOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "EditorAboveOptions", "runtime": false, "signature": "interface EditorAboveOptions {\n at?: Location;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Ancestor", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:EditorApplicationSchema": { "aliases": [], "documentation": "Application-owned schema policy and optional persisted lineage.", "entrypoint": "platejs", "kind": "type", "name": "EditorApplicationSchema", "runtime": false, "signature": "type EditorApplicationSchema = Readonly<{\n overrides?: readonly EditorSchemaOverrideInput[];\n properties?: Readonly>;\n /**\n * Primary-root grammar with a positive integer minimum. Omit it for Plate's\n * standard paragraph root. Descriptor sources must match the installed\n * plugin family; the first source in `schema.content.elements` is default.\n */\n root?: SchemaContent & (Readonly<{\n min: number;\n }> | Readonly<{\n prefix: readonly SchemaContentPrefixSlot[];\n }>);\n}> & EditorSchemaLineage;", "source": null, "typeParameters": [] }, "platejs:EditorBlockOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "EditorBlockOptions", "runtime": false, "signature": "interface EditorBlockOptions {\n at?: Location;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Element = Element", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:EditorBlockToggleOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorBlockToggleOptions", "runtime": false, "signature": "type EditorBlockToggleOptions = {\n at?: NodeSelectionTarget;\n voids?: boolean;\n wrap?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs:EditorBreakExitOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorBreakExitOptions", "runtime": false, "signature": "type EditorBreakExitOptions = {\n /** Land before the exited structure instead of after it. */\n before?: boolean;\n /**\n * Which levels may be exited: the selected block when it owns its exit, then\n * its ancestors. The selected block stays the last resort.\n */\n match?: (node: Element, path: Path) => boolean;\n};", "source": null, "typeParameters": [] }, "platejs:EditorCanonicalUpdateTag": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCanonicalUpdateTag", "runtime": false, "signature": "type EditorCanonicalUpdateTag = 'history-push' | 'history-merge' | 'history-skip' | 'historic' | 'paste' | 'collaboration' | 'skip-collab' | 'skip-dom-selection' | 'skip-scroll-into-view' | 'skip-selection-focus' | 'native-text-input' | 'semantic-command' | 'focus' | 'composition-start' | 'composition-end';", "source": null, "typeParameters": [] }, "platejs:EditorCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommand", "runtime": false, "signature": "type EditorCommand = Editor> = Readonly<{\n /** Stable configuration and diagnostics identity. */\n id: string;\n}> & PrivateEditorCommandTypes;", "source": null, "typeParameters": [ "Input = void", "TEditor extends BaseEditor = Editor" ] }, "platejs:EditorCommandAroundHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommandAroundHandler", "runtime": false, "signature": "type EditorCommandAroundHandler = (context: EditorCommandContext & {\n next: EditorCommandContinuation;\n}) => EditorCommandResult;", "source": null, "typeParameters": [ "Input", "TEditor = Editor" ] }, "platejs:EditorCommandContinuation": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommandContinuation", "runtime": false, "signature": "type EditorCommandContinuation = ((...input: [] | [input: Input]) => EditorCommandResult) & {\n /** Run downstream against the immutable state produced by the prefix. */\n after: (prefix: TransactionSpec, ...input: [] | [input: Input]) => EditorCommandResult;\n};", "source": null, "typeParameters": [ "Input" ] }, "platejs:EditorCommandDescriptor": { "aliases": [], "documentation": "Minimal descriptor shape shared by every semantic editor command.", "entrypoint": "platejs", "kind": "type", "name": "EditorCommandDescriptor", "runtime": false, "signature": "type EditorCommandDescriptor = Readonly<{\n id: string;\n}> & PrivateEditorCommandTypes;", "source": null, "typeParameters": [] }, "platejs:EditorCommandDispatch": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommandDispatch", "runtime": false, "signature": "type EditorCommandDispatch = (command: TCommand & CompatibleEditorCommand, ...input: [EditorCommandInput] extends [void] ? [] | [input: EditorCommandInput] : [input: EditorCommandInput]) => boolean;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorCommandHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommandHandler", "runtime": false, "signature": "type EditorCommandHandler = (context: EditorCommandContext) => EditorCommandResult;", "source": null, "typeParameters": [ "Input", "TEditor = Editor" ] }, "platejs:EditorCommandInput": { "aliases": [], "documentation": "Input accepted by one semantic command descriptor.", "entrypoint": "platejs", "kind": "type", "name": "EditorCommandInput", "runtime": false, "signature": "type EditorCommandInput = TCommand extends PrivateEditorCommandTypes ? Input : never;", "source": null, "typeParameters": [ "TCommand extends EditorCommandDescriptor" ] }, "platejs:EditorCommandPlace": { "aliases": [], "documentation": "Where a command's stored targets land in the document it decides on. A\npoint lands where typing there would land, a range keeps content at its\nedges out, and a path or a span's paths land on their nodes' paths. A node\nor node key names its node in both documents, so it stays as given. Each\ntarget keeps its kind, and `location` returns null when it has no place\nthere.", "entrypoint": "platejs", "kind": "type", "name": "EditorCommandPlace", "runtime": false, "signature": "type EditorCommandPlace = Readonly<{\n location: (at: T) => T | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorCommandResult": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommandResult", "runtime": false, "signature": "type EditorCommandResult = false | TransactionSpec;", "source": null, "typeParameters": [] }, "platejs:editorCommands": { "aliases": [], "documentation": "Typed semantic command tokens exposed to plugin command handlers.", "entrypoint": "platejs", "kind": "const", "name": "editorCommands", "runtime": true, "signature": "editorCommands: EditorCommands", "source": null, "typeParameters": [] }, "platejs:EditorCommands": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommands", "runtime": false, "signature": "type EditorCommands = Readonly<{\n addMark: EditorCommand;\n collapse: EditorCommand;\n delete: EditorCommand;\n deleteFragment: EditorCommand;\n insertBreak: EditorCommand;\n insertNodes: EditorCommand;\n insertSoftBreak: EditorCommand;\n insertText: EditorCommand;\n move: EditorCommand;\n removeMark: EditorCommand;\n removeNodes: EditorCommand;\n replaceSlice: EditorCommand;\n select: EditorCommand;\n setNodes: EditorCommand;\n setSelection: EditorCommand;\n toggleBlock: EditorCommand;\n toggleMark: EditorCommand;\n transposeCharacter: EditorCommand;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorCommit": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommit", "runtime": false, "signature": "type EditorCommit = Readonly<{\n annotations: Readonly>;\n after: EditorSnapshot;\n before: EditorSnapshot;\n changed: EditorCommitChanged;\n changes: DocumentChange;\n inverseChanges: DocumentChange;\n dirtyStateKeys: readonly string[];\n effects: readonly EditorEffect[];\n previousVersion: number;\n selectionAfter: Selection;\n /** Named selection root, or `undefined` for the primary document. */\n selectionAfterRoot: NamedRootKey | undefined;\n selectionBefore: Selection;\n /** Named selection root, or `undefined` for the primary document. */\n selectionBeforeRoot: NamedRootKey | undefined;\n selectionChanged: boolean;\n tags: readonly EditorUpdateTag[];\n version: number;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorCommitChanged": { "aliases": [], "documentation": "Lazy commit queries derived from canonical changes and snapshot indexes.", "entrypoint": "platejs", "kind": "type", "name": "EditorCommitChanged", "runtime": false, "signature": "type EditorCommitChanged = {\n has: (kind: EditorCommitChangeKind, root?: NamedRootKey) => boolean;\n /**\n * Whether any document root has this change kind. A record write counts as\n * a `document` and `snapshot` change too, since records hold no root.\n */\n hasAny: (kind: EditorCommitChangeKind) => boolean;\n /**\n * Whether this key has this change kind in `root`, where `undefined` means\n * the primary document. A key that left the root, or whose root the commit\n * deleted, reports `'presence'` there, not `'path'`. For `'path'` and\n * `'presence'`, a root whose children the commit did not change answers\n * `false` without reading any index.\n */\n hasNodeKey: (nodeKey: NodeKey, kind: EditorCommitRuntimeChangeKind, root: NamedRootKey | undefined) => boolean;\n /** Final-coordinate paths touching changed ranges in one document root. */\n paths: (root?: NamedRootKey) => readonly Path[];\n nodeKeys: (kind: EditorCommitRuntimeChangeKind, root?: NamedRootKey) => readonly NodeKey[];\n /** Node keys with this change kind across every document root. */\n nodeKeysAll: (kind: EditorCommitRuntimeChangeKind) => readonly NodeKey[];\n topLevelRanges: (root?: NamedRootKey) => readonly TopLevelRuntimeRange[];\n};", "source": null, "typeParameters": [] }, "platejs:EditorCommitChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommitChangeKind", "runtime": false, "signature": "type EditorCommitChangeKind = 'document' | 'marks' | 'properties' | 'replace' | 'root-order' | 'selection' | 'snapshot' | 'state' | 'structure' | 'text';", "source": null, "typeParameters": [] }, "platejs:EditorCommitContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommitContext", "runtime": false, "signature": "type EditorCommitContext = {\n commit: EditorCommit>;\n editor: TEditor;\n snapshot: EditorSnapshot>;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorCommitHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommitHandler", "runtime": false, "signature": "type EditorCommitHandler = (context: EditorCommitContext) => void;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorCommitListener": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommitListener", "runtime": false, "signature": "type EditorCommitListener = BivariantMethod<[commit: EditorCommit, snapshot: EditorSnapshot], void>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorCommitRuntimeChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCommitRuntimeChangeKind", "runtime": false, "signature": "type EditorCommitRuntimeChangeKind = 'decoration' | 'node' | 'path' |\n/** Runtime node identities added to or removed from a document root. */\n'presence' | 'selection' | 'text';", "source": null, "typeParameters": [] }, "platejs:EditorCoreStateView": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCoreStateView", "runtime": false, "signature": "type EditorCoreStateView = {\n /**\n * Read the primary document children without cloning the full serializable\n * document value. Treat the returned nodes as read-only live state.\n */\n children: () => readonly [...V];\n fragment: EditorStateFragmentApi;\n getField: (field: EditorStateField) => TValue;\n lastCommit: () => EditorCommit | null;\n /** Return the stable runtime key for a live node or location. */\n key: EditorKeyApi;\n marks: EditorStateMarksApi;\n /**\n * Read persisted document metadata. Use state fields for typed access.\n */\n meta: () => Readonly> | undefined;\n nodes: EditorStateNodesApi;\n points: EditorStatePointsApi;\n ranges: EditorStateRangesApi;\n /**\n * Read a named secondary root. Use `children()` for the primary document.\n */\n root: (root: NamedRootKey) => ReadonlyArray;\n /**\n * List every named root in reading order, a root right after its first\n * owner's place, with the elements that own it. Roots no chain of owners\n * reaches from the page come last: each root no other root owns, in key\n * order, then the roots it owns. Any root left, which only a ring of owners\n * reaches, follows the same way.\n */\n roots: () => readonly EditorRootEntry[];\n runtime: EditorStateRuntimeApi;\n schema: EditorStateSchemaApi;\n selection: EditorStateSelectionApi;\n slice: EditorStateSliceApi;\n text: EditorStateTextApi;\n unique: EditorStateUniqueApi;\n value: EditorStateValueApi;\n view: EditorStateViewApi;\n};", "source": null, "typeParameters": [ "V extends Value = Value", "TSelection extends SelectionValue = SelectionValue" ] }, "platejs:EditorCoreUpdateMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCoreUpdateMethods", "runtime": false, "signature": "type EditorCoreUpdateMethods = {\n annotations: EditorDirectMethods;\n blocks: EditorDirectMethods>;\n break: EditorDirectMethods;\n changes: EditorDirectMethods;\n /** Dispatch a typed semantic command in one update. */\n command: EditorDirectCommandDispatch>;\n effects: EditorDirectMethods;\n plugins: EditorDirectMethods>;\n fragment: EditorDirectMethods, 'delete' | 'replace'>>;\n marks: EditorDirectMethods, 'add' | 'remove' | 'set' | 'toggle'>>;\n nodes: EditorDirectMethods, 'insert' | 'lift' | 'merge' | 'move' | 'remove' | 'replace' | 'replaceChildren' | 'split' | 'unwrap' | 'wrap'>> & Pick, 'set' | 'unset'>;\n records: EditorTransactionRecordsApi;\n roots: EditorDirectMethods>;\n slice: EditorDirectMethods, 'replace'>>;\n selection: EditorDirectMethods, 'collapse' | 'move' | 'set' | 'setNodes' | 'setPoint'>>;\n setField: BivariantFunction['setField']>;\n text: EditorDirectMethods>;\n value: EditorDirectMethods, 'repair' | 'replace'>>;\n};", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorCoreUpdateTransaction": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorCoreUpdateTransaction", "runtime": false, "signature": "type EditorCoreUpdateTransaction = Omit, 'marks' | 'nodes' | 'roots' | 'selection' | 'slice' | 'text' | 'value'> & {\n /** Track a location from the current draft until this transaction ends. */\n anchor: EditorTransactionAnchorApi;\n annotations: EditorTransactionAnnotationsApi;\n blocks: EditorTransactionBlocksApi;\n break: EditorTransactionBreakApi;\n changes: EditorTransactionChangesApi;\n effects: EditorTransactionEffectsApi;\n plugins: EditorTransactionPluginsApi;\n fragment: EditorTransactionFragmentApi;\n marks: EditorTransactionMarksApi;\n nodes: EditorTransactionNodesApi;\n records: EditorTransactionRecordsApi;\n roots: EditorTransactionRootsApi;\n slice: EditorTransactionSliceApi;\n selection: EditorTransactionSelectionApi;\n setField: (field: EditorStateField, value: StateFieldValueInput) => void;\n tags: EditorTransactionTagsApi;\n text: EditorTransactionTextApi;\n value: EditorTransactionValueApi;\n};", "source": null, "typeParameters": [ "V extends Value = Value", "TSelection extends SelectionValue = SelectionValue" ] }, "platejs:EditorDirectCommandDispatch": { "aliases": [], "documentation": "Dispatch a command in its own update. It answers `undefined` when the editor\nrefuses that update.", "entrypoint": "platejs", "kind": "type", "name": "EditorDirectCommandDispatch", "runtime": false, "signature": "type EditorDirectCommandDispatch = (command: TCommand & CompatibleEditorCommand, ...input: [EditorCommandInput] extends [void] ? [] | [input: EditorCommandInput] : [input: EditorCommandInput]) => boolean | undefined;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorDocumentRange": { "aliases": [], "documentation": "Opaque, versioned range JSON saved alongside its document.", "entrypoint": "platejs", "kind": "type", "name": "EditorDocumentRange", "runtime": false, "signature": "type EditorDocumentRange = Readonly<{\n kind: 'range';\n version: 1;\n value: unknown;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorDocumentRecords": { "aliases": [], "documentation": "Keyed data a plugin keeps beside the document's children, by record set and\nthen by record id. Records have no position, so no read of `children` or\n`roots` meets them, and a set never drops a record while people edit.", "entrypoint": "platejs", "kind": "type", "name": "EditorDocumentRecords", "runtime": false, "signature": "type EditorDocumentRecords = Readonly>>>>>;", "source": null, "typeParameters": [] }, "platejs:EditorDocumentValue": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorDocumentValue", "runtime": false, "signature": "type EditorDocumentValue = Readonly<{\n children: V;\n meta?: Readonly>;\n /** Omitted when no record set holds a record. */\n records?: EditorDocumentRecords;\n roots?: Readonly>;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorEffect", "runtime": false, "signature": "type EditorEffect = Readonly<{\n type: EditorEffectType;\n value: TValue;\n}>;", "source": null, "typeParameters": [ "TValue = any", "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs:EditorEffectCollabDecodeContext": { "aliases": [], "documentation": "Yjs-agnostic helpers supplied by a collaboration adapter while decoding.", "entrypoint": "platejs", "kind": "type", "name": "EditorEffectCollabDecodeContext", "runtime": false, "signature": "type EditorEffectCollabDecodeContext = Readonly<{\n point: (value: unknown) => Point | null;\n range: (value: unknown) => Range | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorEffectCollabEncodeContext": { "aliases": [], "documentation": "Yjs-agnostic helpers supplied by a collaboration adapter while encoding.", "entrypoint": "platejs", "kind": "type", "name": "EditorEffectCollabEncodeContext", "runtime": false, "signature": "type EditorEffectCollabEncodeContext = Readonly<{\n point: (point: Point) => unknown;\n range: (range: Range) => unknown;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorEffectCollabReplay": { "aliases": [], "documentation": "Persistence semantics for a shared collaboration effect.\n\n`latest` is reserved for absolute, idempotent restore values. `live` effects\nare delivered exactly once to causally registered active peers and are\nintentionally absent from late-join checkpoints.", "entrypoint": "platejs", "kind": "type", "name": "EditorEffectCollabReplay", "runtime": false, "signature": "type EditorEffectCollabReplay = 'latest' | 'live';", "source": null, "typeParameters": [] }, "platejs:EditorEffectCollabTransport": { "aliases": [], "documentation": "Maps a persisted effect payload through collaboration-relative positions.\nReturning `undefined` while decoding drops an effect whose target vanished.", "entrypoint": "platejs", "kind": "type", "name": "EditorEffectCollabTransport", "runtime": false, "signature": "type EditorEffectCollabTransport = Readonly<{\n decode: (value: unknown, context: EditorEffectCollabDecodeContext) => TValue | undefined;\n encode: (value: TValue, context: EditorEffectCollabEncodeContext) => unknown;\n}>;", "source": null, "typeParameters": [ "TValue = unknown" ] }, "platejs:EditorEffectHistoryReplayResult": { "aliases": [], "documentation": "Result of replaying one live-session history effect.", "entrypoint": "platejs", "kind": "type", "name": "EditorEffectHistoryReplayResult", "runtime": false, "signature": "type EditorEffectHistoryReplayResult = Readonly<{\n status: 'applied';\n value: TValue;\n}> | Readonly<{\n reason: string;\n status: 'blocked';\n}>;", "source": null, "typeParameters": [ "TValue = unknown" ] }, "platejs:EditorEffectType": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorEffectType", "runtime": false, "signature": "type EditorEffectType = EditorEffectLocalType | EditorEffectSharedLatestType | EditorEffectSharedLiveType;", "source": null, "typeParameters": [ "TValue = any", "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs:EditorElementBehavior": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorElementBehavior", "runtime": false, "signature": "type EditorElementBehavior = Readonly<{\n atom: boolean;\n inline: boolean;\n isolating: boolean;\n markableVoid: boolean;\n object: boolean;\n /**\n * Whether the element owns its exit, which every void and object does, as\n * does a text block that declares `ownsExit`. `tx.break.exit` treats a\n * selected block that owns its exit as a structure of its own.\n */\n ownsExit: boolean;\n readOnly: boolean;\n selectable: boolean;\n void: boolean;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorError": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "class", "name": "EditorError", "runtime": true, "signature": "declare class EditorError extends Error {\n type: DebugErrorType;\n constructor(message: string, type?: DebugErrorType);\n}", "source": null, "typeParameters": [] }, "platejs:EditorFragmentDeletionOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "EditorFragmentDeletionOptions", "runtime": false, "signature": "interface EditorFragmentDeletionOptions {\n at?: Location;\n direction?: TextDirection;\n}", "source": null, "typeParameters": [] }, "platejs:EditorFragmentReadOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorFragmentReadOptions", "runtime": false, "signature": "type EditorFragmentReadOptions = {\n at?: Range;\n unwrap?: readonly string[];\n};", "source": null, "typeParameters": [] }, "platejs:EditorInstalledApiGroups": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorInstalledApiGroups", "runtime": false, "signature": "type EditorInstalledApiGroups = IsAny extends true ? Record : UnionToIntersection[number]>>;", "source": null, "typeParameters": [ "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorInstalledReadGroups": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorInstalledReadGroups", "runtime": false, "signature": "type EditorInstalledReadGroups = IsAny extends true ? Record : UnionToIntersection[number]>>;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorInstalledUpdateGroups": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorInstalledUpdateGroups", "runtime": false, "signature": "type EditorInstalledUpdateGroups = IsAny extends true ? Record : UnionToIntersection[number]>>;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorIsEditorOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "EditorIsEditorOptions", "runtime": false, "signature": "interface EditorIsEditorOptions {\n deep?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:EditorJsonValue": { "aliases": [], "documentation": "Immutable JSON data admitted by editor persistence and schema properties.", "entrypoint": "platejs", "kind": "type", "name": "EditorJsonValue", "runtime": false, "signature": "type EditorJsonValue = boolean | null | number | string | readonly EditorJsonValue[] | Readonly<{\n [key: string]: EditorJsonValue;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorLevelsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "EditorLevelsOptions", "runtime": false, "signature": "interface EditorLevelsOptions {\n at?: Location;\n match?: NodeMatch;\n type?: TType;\n reverse?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:EditorLifecycleError": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorLifecycleError", "runtime": false, "signature": "type EditorLifecycleError = Readonly<{\n cause: unknown;\n editor: TEditor;\n phase: 'cleanup' | 'measure' | 'publish';\n source: 'pagination';\n}> | Readonly<{\n cause: unknown;\n editor: TEditor;\n phase: 'mount' | 'update' | 'focus' | 'offsetAt' | 'destroy';\n source: 'external-text';\n}> | Readonly<{\n cause: unknown;\n editor: TEditor;\n pluginName: string;\n phase: 'after-commit' | 'afterPublish' | 'cleanup' | 'commit-listener' | 'node-change-listener' | 'snapshot-listener' | 'source-listener' | 'text-change-listener';\n}> | Readonly<{\n cause: unknown;\n editor: TEditor;\n pluginName: string;\n mimeType: string;\n key: string;\n phase: 'accept' | 'decode' | 'encode';\n source: 'data-transfer-format';\n}> | Readonly<{\n cause: unknown;\n direction: 'redo' | 'undo';\n editor: TEditor;\n /**\n * `replay` when the replay could not finish; `observer` when a step\n * after its outcome threw, such as `onHistoryReplay` or focus repair.\n */\n phase: 'observer' | 'replay';\n source: 'history';\n}> | Readonly<{\n cause: Error;\n /** The editable child the renderer left without DOM or a DOM coverage boundary. */\n childPath: Path;\n editor: TEditor;\n /** The element whose `renderElement` omitted the child. */\n element: Element;\n path: Path;\n /**\n * `commit` from the development check after an element renders;\n * `selection-export` from a failed post-commit selection export.\n */\n phase: 'commit' | 'selection-export';\n source: 'render-element';\n}> | Readonly<{\n cause: Error;\n editor: TEditor;\n /** This peer's copy of the root, which the merge replaced. */\n lost: readonly Descendant[];\n /**\n * `merge` when a teammate's concurrent write of a root replaced this\n * peer's copy, such as when both restored one deleted board apart.\n */\n phase: 'merge';\n root: NamedRootKey;\n source: 'yjs';\n}>;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorLifecycleErrorSink": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorLifecycleErrorSink", "runtime": false, "signature": "type EditorLifecycleErrorSink = (error: EditorLifecycleError) => void;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorMarks": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorMarks", "runtime": false, "signature": "type EditorMarks = Partial, 'text'>>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorMarksOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorMarksOf", "runtime": false, "signature": "type EditorMarksOf = Editor> = EditorMarks>;", "source": null, "typeParameters": [ "E extends BaseEditor = Editor" ] }, "platejs:EditorNextOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "EditorNextOptions", "runtime": false, "signature": "interface EditorNextOptions {\n at?: Location;\n from?: 'after' | 'child';\n match?: NodeMatch;\n type?: TType;\n mode?: SelectionMode;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Descendant", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:EditorNodeChangeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorNodeChangeContext", "runtime": false, "signature": "type EditorNodeChangeContext = {\n commit: EditorCommit>;\n editor: TEditor;\n kind: EditorNodeChangeKind;\n node: DescendantIn> | null;\n path: Path;\n previousPath: Path | null;\n previousNode: DescendantIn> | null;\n /** Named changed root, or `undefined` for the primary document. */\n root: NamedRootKey | undefined;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorNodeChangeHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorNodeChangeHandler", "runtime": false, "signature": "type EditorNodeChangeHandler = (context: EditorNodeChangeContext) => void;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorNodeChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorNodeChangeKind", "runtime": false, "signature": "type EditorNodeChangeKind = 'insert' | 'move' | 'remove' | 'update';", "source": null, "typeParameters": [] }, "platejs:EditorNodeGetOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorNodeGetOptions", "runtime": false, "signature": "type EditorNodeGetOptions = {\n match?: NodeMatch;\n type?: TType;\n};", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:EditorNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "EditorNodesOptions", "runtime": false, "signature": "interface EditorNodesOptions {\n at?: Location | NodeSelection | Span;\n match?: NodeMatch;\n type?: TType;\n mode?: SelectionMode;\n universal?: boolean;\n reverse?: boolean;\n voids?: boolean;\n pass?: (entry: NodeEntry) => boolean;\n}", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:EditorNodesReadOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorNodesReadOptions", "runtime": false, "signature": "type EditorNodesReadOptions = WithNodeTargetOrSpan>;", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:EditorNodeUnsetOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorNodeUnsetOptions", "runtime": false, "signature": "type EditorNodeUnsetOptions = {\n at?: NodeSelectionTarget;\n match?(node: T, path: Path): boolean;\n type?: TType;\n mode?: MaximizeMode;\n hanging?: boolean;\n split?: boolean;\n voids?: boolean;\n};", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:EditorParentOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "EditorParentOptions", "runtime": false, "signature": "interface EditorParentOptions {\n depth?: number;\n edge?: LeafEdge;\n match?: NodeMatch;\n type?: TType;\n}", "source": null, "typeParameters": [ "T extends Ancestor = Ancestor", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:EditorPreviousOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "EditorPreviousOptions", "runtime": false, "signature": "interface EditorPreviousOptions {\n at?: Location;\n from?: 'before' | 'parent';\n match?: NodeMatch;\n type?: TType;\n mode?: SelectionMode;\n sibling?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:EditorRead": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorRead", "runtime": false, "signature": "type EditorRead = ((fn: (state: EditorStateView) => T) => T) & EditorReadMethods;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorReadAroundHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorReadAroundHandler", "runtime": false, "signature": "type EditorReadAroundHandler = Editor> = (context: EditorReadContext) => Result;", "source": null, "typeParameters": [ "Input", "Result", "TEditor extends BaseEditor = Editor" ] }, "platejs:EditorReadContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorReadContext", "runtime": false, "signature": "type EditorReadContext = Editor> = Readonly<{\n editor: TEditor;\n input: Readonly;\n next: EditorReadContinuation;\n state: EditorStateView, PluginsOf>;\n}>;", "source": null, "typeParameters": [ "Input", "Result", "TEditor extends BaseEditor = Editor" ] }, "platejs:EditorReadDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorReadDescriptor", "runtime": false, "signature": "type EditorReadDescriptor = Editor> = Readonly<{\n /** Stable configuration and diagnostics identity. */\n id: string;\n}> & PrivateEditorReadTypes;", "source": null, "typeParameters": [ "Input = void", "Result = unknown", "TEditor extends BaseEditor = Editor" ] }, "platejs:EditorReadInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorReadInput", "runtime": false, "signature": "type EditorReadInput> = TRead extends PrivateEditorReadTypes ? Input : never;", "source": null, "typeParameters": [ "TRead extends EditorReadDescriptor" ] }, "platejs:EditorReadMethodRecord": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorReadMethodRecord", "runtime": false, "signature": "type EditorReadMethodRecord = Readonly<{\n [key: string]: EditorReadMethodTree;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorReadMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorReadMethods", "runtime": false, "signature": "type EditorReadMethods = Omit, 'key'> & EditorInstalledReadGroups;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorReadMethodTree": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorReadMethodTree", "runtime": false, "signature": "type EditorReadMethodTree = ((...args: any[]) => unknown) | EditorReadMethodRecord;", "source": null, "typeParameters": [] }, "platejs:EditorReadRegistration": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorReadRegistration", "runtime": false, "signature": "type EditorReadRegistration = Readonly<{\n [editorReadRegistrationTypes]: (capabilities: EditorReadCapabilities) => void;\n}>;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorReadResult": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorReadResult", "runtime": false, "signature": "type EditorReadResult> = TRead extends PrivateEditorReadTypes ? Result : never;", "source": null, "typeParameters": [ "TRead extends EditorReadDescriptor" ] }, "platejs:editorReads": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "editorReads", "runtime": true, "signature": "editorReads: Readonly<{\n nodes: Readonly<{\n isSelectable: EditorReadDescriptor, boolean, Editor>;\n /**\n * Whether a merge removes `previous`, such as an empty block, instead of\n * joining `current` into it. Not run when `previous` is an empty block in\n * a required prefix slot, the update has not moved it into that slot or\n * replaced it, and `current`, its next sibling, fits that slot as it\n * stands without leaving a required block to build, so that join keeps\n * `previous`. That exception also needs `current` to hold only text and\n * inlines and own no content root, neither block to be a void, an atom or\n * read-only, and an empty `current` to carry `previous`'s text\n * properties. An authored-document capability turns it off.\n */\n shouldMergeNodesRemovePrevNode: EditorReadDescriptor, boolean, Editor>;\n }>;\n transfer: Readonly<{\n /** Expand a transfer's selected blocks, such as a list item's family. */\n source: EditorReadDescriptor, NodeSelection, Editor>;\n /**\n * Redirect one landing edge, such as past a list item's family; the default\n * keeps the edge. A redirected edge must map to itself. The schema admits\n * the final edge and vetoes refuse it.\n */\n landing: EditorReadDescriptor;\n }>, Readonly<{\n edge: 'after' | 'before';\n key: NodeKey;\n }>, Editor>;\n /**\n * Properties a block copy or block move takes from where it lands, such as\n * its list; the default, `[]`, keeps the blocks as they are. It runs on the\n * final edge of a block transfer to an edge, while hovering too, after the\n * landing read and before the schema and vetoes judge the patched blocks. A\n * keyboard step runs it on each sibling edge that stays in the blocks'\n * parent and admits them unpatched, and tries the next sibling when the\n * patched blocks are refused. `input.intent` tells a copy from a move. A\n * move keeps its blocks and sets the patched properties on them in the\n * same update. A patch may name only properties declared\n * `landing: 'adopt'`, and a move patch may not set `null`; otherwise the\n * edge refuses with `policy`.\n */\n adopt: EditorReadDescriptor[], Editor>;\n /**\n * What a drop at a block's side builds, such as a column group; the\n * default, `null`, refuses. The schema must still admit the wrap, and\n * vetoes can still refuse it.\n */\n side: EditorReadDescriptor;\n }>, TransferWrap | null, Editor>;\n }>;\n slice: Readonly<{\n /**\n * Shape what a paste or a block duplicate lands, from the target the editor\n * resolved; the default lands `slice` unchanged. A paste runs this read\n * after command handlers delegate, and a duplicate after `slice.export`,\n * with intent `copy` and a `beside` target. Reads the current command\n * draft; raw transaction replacement and fitting bypass it.\n */\n landing: EditorReadDescriptor, Readonly<{\n slice: ContentSlice$1;\n replaceEmpty?: Readonly<{\n omitTargetProperties?: readonly string[];\n slice: ContentSlice$1;\n }>;\n }>, Editor>;\n export: EditorReadDescriptor, Readonly<{\n content: readonly (BaseElement | BaseText)[];\n openEnd: number;\n openStart: number;\n roots?: Readonly> | undefined;\n }>, Editor>;\n get: EditorReadDescriptor, Readonly<{\n content: readonly (BaseElement | BaseText)[];\n openEnd: number;\n openStart: number;\n roots?: Readonly> | undefined;\n }>, Editor>;\n }>;\n}>", "source": null, "typeParameters": [] }, "platejs:EditorReplaceChildrenOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorReplaceChildrenOptions", "runtime": false, "signature": "type EditorReplaceChildrenOptions = Omit & ({\n at: Path;\n /** Named root the path addresses. Omit for this editor's or view's root. */\n root?: NamedRootKey;\n} | {\n at: Exclude, Path>;\n root?: never;\n});", "source": null, "typeParameters": [] }, "platejs:EditorReplaceNodeOptions": { "aliases": [], "documentation": "Options for replacing exactly one node with zero or more nodes.", "entrypoint": "platejs", "kind": "type", "name": "EditorReplaceNodeOptions", "runtime": false, "signature": "type EditorReplaceNodeOptions = {\n at: Descendant | NodeKey | Path;\n select?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs:EditorRootEntry": { "aliases": [], "documentation": "A named root with the elements that own it, as `read.roots()` lists it.", "entrypoint": "platejs", "kind": "type", "name": "EditorRootEntry", "runtime": false, "signature": "type EditorRootEntry = Readonly<{\n /** The elements that own the root, in reading order. */\n owners: readonly EditorRootOwner[];\n root: NamedRootKey;\n /**\n * The path of the page element that holds the root through its first\n * owners, or `null` when no chain of owners reaches the page.\n */\n top: Path | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorRootOwner": { "aliases": [], "documentation": "An element that owns a named root, at its place in the document.", "entrypoint": "platejs", "kind": "type", "name": "EditorRootOwner", "runtime": false, "signature": "type EditorRootOwner = Readonly<{\n path: Path;\n /** The owner's root, absent when the owner is on the page. */\n root?: NamedRootKey;\n /** The owner's `contentRoots` slot that names the root. */\n slot: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContent": { "aliases": [], "documentation": "Immutable compiled content facts exposed by `state.schema.element()`.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContent", "runtime": false, "signature": "type EditorSchemaContent = Readonly<{\n allowedElementTypes: readonly string[];\n allowsText: boolean;\n allowsUnknownElements: boolean;\n default: SchemaContentDefault | null;\n max: number | null;\n min: number;\n prefix?: ReadonlyArray>;\n type: string;\n }>>;\n remainder?: EditorSchemaContent;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContentRoot": { "aliases": [], "documentation": "Immutable compiled element-owned root facts.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContentRoot", "runtime": false, "signature": "type EditorSchemaContentRoot = Readonly<{\n content: EditorSchemaContent;\n ownership: SchemaContentRootOwnership;\n structure?: SchemaContentRootStructure;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContract": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContract", "runtime": false, "signature": "type EditorSchemaContract = Readonly<{\n diagnostics: readonly EditorSchemaDiagnostic[];\n elements: Readonly<{\n allowedChildren: ReadonlyArray>;\n allowedParents: ReadonlyArray>;\n byType: readonly EditorSchemaContractElement[];\n contentPrograms: ReadonlyArray>;\n defaultPlans: ReadonlyArray>;\n groups: ReadonlyArray>;\n textGroups: readonly string[];\n wrapperPlans: ReadonlyArray>;\n }>;\n fingerprint: string;\n formatVersion: typeof EDITOR_SCHEMA_CONTRACT_FORMAT;\n identity: EditorSchemaIdentity;\n primaryRoot: EditorSchemaContractRoot;\n properties: Readonly<{\n byId: readonly StructuralCompiledSchemaProperty[];\n conflictsByPropertyId: ReadonlyArray>;\n elementAllowedByType: ReadonlyArray>;\n lifecycle: ReadonlyArray>;\n lookup: Readonly<{\n element: Readonly<{\n exact: ReadonlyArray>;\n prefixes: readonly CompiledSchemaPropertyKeyPrefix[];\n }>;\n text: Readonly<{\n exact: ReadonlyArray>;\n prefixes: readonly CompiledSchemaPropertyKeyPrefix[];\n }>;\n }>;\n mergeStrategies: ReadonlyArray>;\n membersByExclusiveGroup: ReadonlyArray>;\n textAllowedByParentType: ReadonlyArray>;\n }>;\n revision: number;\n roots: readonly EditorSchemaContractRoot[];\n /**\n * Present when a property leaves its default out of storage, or a write\n * stores the generated element values its pending changes can need.\n * Revision 1 stores every written value, even one equal to its default, so\n * a contract without it describes an editor that dropped such writes.\n * Revision 2 also stores spare blocks, which an older editor would build\n * with values of its own making.\n */\n storageRevision?: 1 | 2;\n unknown: EditorSchemaUnknownPolicy;\n vocabulary: CompiledSchemaVocabulary;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContractChange": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContractChange", "runtime": false, "signature": "type EditorSchemaContractChange = Readonly<{\n from?: string;\n impact: 'compatible' | 'migration-required';\n kind: EditorSchemaContractChangeKind;\n path: string;\n to?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContractChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContractChangeKind", "runtime": false, "signature": "type EditorSchemaContractChangeKind = 'element-added' | 'element-changed' | 'element-content-expanded' | 'element-content-restricted' | 'element-removed' | 'element-renamed' | 'property-added' | 'property-changed' | 'property-removed' | 'property-renamed' | 'property-required' | 'root-added' | 'root-changed' | 'root-content-expanded' | 'root-content-restricted' | 'root-removed' | 'storage-revision-changed' | 'unknown-policy-expanded' | 'unknown-policy-restricted';", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContractContentProgram": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContractContentProgram", "runtime": false, "signature": "type EditorSchemaContractContentProgram = Readonly<{\n allowedElementTypes: readonly string[];\n allowsText: boolean;\n allowsUnknownElements: boolean;\n defaultPlan: CompiledSchemaConstructionPlan | null;\n max: number | null;\n min: number;\n prefix?: readonly CompiledSchemaContentPrefixSlot[];\n remainder?: EditorSchemaContractContentProgram;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContractContentRoot": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContractContentRoot", "runtime": false, "signature": "type EditorSchemaContractContentRoot = Readonly<{\n content: EditorSchemaContractContentProgram;\n ownership: SchemaContentRootOwnership;\n structure?: SchemaContentRootStructure;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContractDiff": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContractDiff", "runtime": false, "signature": "type EditorSchemaContractDiff = Readonly<{\n changes: readonly EditorSchemaContractChange[];\n fromFingerprint: string;\n requiresMigration: boolean;\n toFingerprint: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContractElement": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContractElement", "runtime": false, "signature": "type EditorSchemaContractElement = Readonly<{\n behavior: EditorSchemaContractElementBehavior;\n content: EditorSchemaContractContentProgram | null;\n contentRoots: ReadonlyArray>;\n construction: Readonly<{\n materializedPropertyIds: readonly string[];\n propertyIds: readonly string[];\n }>;\n groups: readonly string[];\n propertyIds: readonly string[];\n slice: Readonly & {\n endMatter?: boolean;\n }>;\n structure?: EditorSchemaElementStructure;\n type: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContractRoot": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContractRoot", "runtime": false, "signature": "type EditorSchemaContractRoot = Readonly<{\n content: EditorSchemaContractContentProgram;\n name: string | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaContribution": { "aliases": [], "documentation": "One partial schema declaration. Complete lineage and primary-root fields are forbidden.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaContribution", "runtime": false, "signature": "type EditorSchemaContribution> = Readonly>, TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[], TGroups extends Readonly> = Readonly>, TRoots extends Readonly> = Readonly>, TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]> = Readonly<{\n /** Element-owned root slots projected onto matching element types. */\n contentRoots?: TContentRoots;\n elements?: TElements;\n groups?: TGroups;\n id?: never;\n /** Closed-composition policy; ordinary feature contributions omit this. */\n overrides?: readonly EditorSchemaOverride[];\n properties?: TProperties;\n /**\n * Keyed record sets beside the document's children, such as review records.\n * Changes, history and collaboration carry them; no read of `children` or\n * `roots` meets them.\n */\n records?: Readonly>;\n /** The complete schema definition exclusively owns the primary root. */\n root?: never;\n /** Named secondary roots only. The reserved key `main` is invalid. */\n roots?: TRoots;\n unknown?: never;\n version?: never;\n}>;", "source": null, "typeParameters": [ "TElements extends Readonly> = Readonly>", "TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[]", "TGroups extends Readonly> = Readonly>", "TRoots extends Readonly> = Readonly>", "TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]" ] }, "platejs:EditorSchemaDeclaration": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaDeclaration", "runtime": false, "signature": "type EditorSchemaDeclaration = EditorSchemaContribution | EditorSchemaDefinition;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaDefinition", "runtime": false, "signature": "type EditorSchemaDefinition> = Readonly>, TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[], TGroups extends Readonly> = Readonly>, TRoots extends Readonly> = Readonly>, TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]> = EditorSchemaDerivedDefinition | EditorSchemaNamedDefinition;", "source": null, "typeParameters": [ "TId extends string = string", "TElements extends Readonly> = Readonly>", "TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[]", "TGroups extends Readonly> = Readonly>", "TRoots extends Readonly> = Readonly>", "TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]" ] }, "platejs:EditorSchemaDelta": { "aliases": [], "documentation": "Semantic schema resources changed by the last configuration publication.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaDelta", "runtime": false, "signature": "type EditorSchemaDelta = Readonly<{\n constructionTypes: readonly string[];\n elementTypes: readonly string[];\n propertyIds: readonly string[];\n /** `null` identifies the implicit primary root. */\n roots: ReadonlyArray;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaDerivedDefinition": { "aliases": [], "documentation": "One complete schema whose identity is derived only from compiled semantics.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaDerivedDefinition", "runtime": false, "signature": "type EditorSchemaDerivedDefinition> = Readonly>, TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[], TGroups extends Readonly> = Readonly>, TRoots extends Readonly> = Readonly>, TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]> = EditorSchemaDefinitionBase & Readonly<{\n id?: never;\n version?: never;\n}>;", "source": null, "typeParameters": [ "TElements extends Readonly> = Readonly>", "TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[]", "TGroups extends Readonly> = Readonly>", "TRoots extends Readonly> = Readonly>", "TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]" ] }, "platejs:EditorSchemaElement": { "aliases": [], "documentation": "Immutable compiled element facts for one declared element type.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaElement", "runtime": false, "signature": "type EditorSchemaElement = Readonly<{\n behavior: Readonly<{\n atom: boolean;\n inline: boolean;\n isolating: boolean;\n markableVoid: boolean;\n object: boolean;\n /**\n * Whether the element owns its exit, which every void and object does, as\n * does a text block that declares `ownsExit`. `tx.break.exit` treats a\n * selected block that owns its exit as a structure of its own.\n */\n ownsExit: boolean;\n readOnly: boolean;\n selectable: boolean;\n void: boolean;\n voidKind: SchemaElement['void'] | null;\n }>;\n content: EditorSchemaContent | null;\n contentRoots: Readonly>;\n groups: readonly string[];\n propertyIds: readonly string[];\n slice: Readonly<{\n endMatter: boolean;\n preserveContext: boolean;\n replaceWhenCovered: boolean;\n }>;\n structure: EditorSchemaElementStructure | null;\n type: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaElementOverride": { "aliases": [], "documentation": "One closed-composition element relationship override.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaElementOverride", "runtime": false, "signature": "type EditorSchemaElementOverride = Readonly<{\n /** Element type owned by `source` before application overrides. */\n element: string;\n kind: 'element';\n /** Plugin that owns the element declaration. */\n source: string;\n /** Replace the element's child grammar. */\n content?: SchemaContent;\n /** Replace explicit product-group membership. */\n groups?: readonly string[];\n /** Replace the persisted element discriminator. */\n type?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaElementOverrideInput": { "aliases": [], "documentation": "Element facets accepted by one closed-application override.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaElementOverrideInput", "runtime": false, "signature": "type EditorSchemaElementOverrideInput = Readonly<{\n content?: SchemaContent;\n groups?: readonly string[];\n type?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaElementStructure": { "aliases": [], "documentation": "Immutable logical structure facts compiled for one element type.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaElementStructure", "runtime": false, "signature": "type EditorSchemaElementStructure = Readonly<{\n columnSpan: EditorSchemaStructureProperty | null;\n kind: 'grid';\n role: 'cell' | 'grid' | 'row';\n rowSpan: EditorSchemaStructureProperty | null;\n}> | Readonly<{\n depth: EditorSchemaStructureProperty;\n kind: 'list';\n membership: EditorSchemaStructureProperty | null;\n}> | Readonly<{\n kind: 'outline';\n level: EditorSchemaStructureProperty;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaGetProperty": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaGetProperty", "runtime": false, "signature": "type EditorSchemaGetProperty = {\n (property: SchemaPropertyHandle): EditorSchemaProperty | null;\n (query: TQuery & WithoutInternalPrimaryRoot): EditorSchemaProperty | null;\n};", "source": null, "typeParameters": [] }, "platejs:EditorSchemaIdentity": { "aliases": [], "documentation": "Published schema identity. Runtime configuration revisions stay separate.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaIdentity", "runtime": false, "signature": "type EditorSchemaIdentity = DerivedEditorSchemaIdentity | NamedEditorSchemaIdentity;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaNamedDefinition": { "aliases": [], "documentation": "One complete schema with application-owned persisted lineage.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaNamedDefinition", "runtime": false, "signature": "type EditorSchemaNamedDefinition> = Readonly>, TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[], TGroups extends Readonly> = Readonly>, TRoots extends Readonly> = Readonly>, TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]> = EditorSchemaDefinitionBase & Readonly<{\n id: TId;\n identity?: never;\n version: number;\n}>;", "source": null, "typeParameters": [ "TId extends string = string", "TElements extends Readonly> = Readonly>", "TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[]", "TGroups extends Readonly> = Readonly>", "TRoots extends Readonly> = Readonly>", "TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]" ] }, "platejs:EditorSchemaOverride": { "aliases": [], "documentation": "Narrow schema policy applied before deterministic compilation.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaOverride", "runtime": false, "signature": "type EditorSchemaOverride = EditorSchemaElementOverride | EditorSchemaPropertyOverride;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaOverrideInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaOverrideInput", "runtime": false, "signature": "type EditorSchemaOverrideInput = string | Readonly<{\n name: string;\n}>, TProperties extends Readonly> = Readonly>> = Readonly<{\n element?: EditorSchemaElementOverrideInput;\n kind: 'schema-override';\n properties?: TProperties;\n source: EditorSchemaOverrideSourceName;\n}>;", "source": null, "typeParameters": [ "TSource extends string | Readonly<{\n name: string;\n}> = string | Readonly<{\n name: string;\n}>", "TProperties extends Readonly> = Readonly>" ] }, "platejs:EditorSchemaPlugin": { "aliases": [], "documentation": "A complete schema packaged as one editor plugin contribution.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaPlugin", "runtime": false, "signature": "type EditorSchemaPlugin = Readonly<{\n name: TName;\n schema: TDefinition;\n}>;", "source": null, "typeParameters": [ "TDefinition extends EditorSchemaDefinition = EditorSchemaDefinition", "TName extends string = string" ] }, "platejs:EditorSchemaProperty": { "aliases": [], "documentation": "Immutable compiled property facts returned by `state.schema.property()`.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaProperty", "runtime": false, "signature": "type EditorSchemaProperty = Readonly<{\n id: string;\n key: SchemaPropertyKey;\n lifecycle: Readonly<{\n copy: SchemaPropertyCopyPolicy;\n inclusive: boolean | null;\n /** Always `preserve` for a text property. */\n landing: SchemaPropertyLandingPolicy;\n split: SchemaPropertySplitPolicy;\n typeChange: SchemaPropertyTypeChangePolicy;\n }>;\n merge: 'replace' | 'set';\n placement: 'element' | 'text';\n role: SchemaPropertyRole;\n target: SchemaTarget | null;\n value: PropertyValueDescriptor;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaPropertyOverride": { "aliases": [], "documentation": "One closed-composition property relationship override.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaPropertyOverride", "runtime": false, "signature": "type EditorSchemaPropertyOverride = Readonly<{\n /** Compiled id of the property before application overrides. */\n id: string;\n kind: 'property';\n /** Plugin that owns the property declaration. */\n source: string;\n /** Replace the property's target relationship. */\n target?: SchemaTarget | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaPropertyOverrideInput": { "aliases": [], "documentation": "Property relationship facets accepted by one closed-application override.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaPropertyOverrideInput", "runtime": false, "signature": "type EditorSchemaPropertyOverrideInput = Readonly<{\n target?: SchemaTarget | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaPropertyQuery": { "aliases": [], "documentation": "Context for resolving one compiled property declaration.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaPropertyQuery", "runtime": false, "signature": "type EditorSchemaPropertyQuery = Readonly<{\n /** Immediate parent type first. */\n ancestors?: readonly string[];\n key: string;\n placement: 'element' | 'text';\n /** `null` or omission addresses the implicit primary root. */\n root?: string | null;\n /** Target element type, or text-parent type for text properties. */\n type?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaPropertyReadOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaPropertyReadOptions", "runtime": false, "signature": "type EditorSchemaPropertyReadOptions = Readonly<{\n /** Immediate parent first. Required to apply targeted text-property defaults. */\n ancestors?: readonly Element[];\n /** Parent element for a text-property target. */\n parent?: Element;\n /** Omission addresses the implicit primary root. */\n root?: RootKey;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaReadProperty": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaReadProperty", "runtime": false, "signature": "type EditorSchemaReadProperty = {\n (node: Element | Text, property: SchemaPropertyHandle, options?: EditorSchemaPropertyReadOptions): TValue | undefined;\n (node: Element | Text, property: string, options?: EditorSchemaPropertyReadOptions): unknown;\n};", "source": null, "typeParameters": [] }, "platejs:EditorSchemaRepairCode": { "aliases": [], "documentation": "Stable semantic actions performed by coercive schema fitting.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaRepairCode", "runtime": false, "signature": "type EditorSchemaRepairCode = 'canonicalize-set-property' | 'create-root' | 'default-property' | 'drop-unplaceable-text' | 'flatten-block-content' | 'generate-property' | 'insert-empty-text' | 'insert-inline-spacer' | 'insert-required-content' | 'merge-text' | 'omit-empty-text-property' | 'remove-empty-text' | 'remove-noncanonical-child' | 'replace-element-shell' | 'resolve-exclusive-property' | 'wrap-content';", "source": null, "typeParameters": [] }, "platejs:EditorSchemaSource": { "aliases": [], "documentation": "Descriptor shape accepted by schema inference utilities.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaSource", "runtime": false, "signature": "type EditorSchemaSource = EditorSchemaSourceProvider | Readonly<{\n schema: EditorSchemaDeclaration | ((...args: any[]) => EditorSchemaDeclaration);\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaStructureProperty": { "aliases": [], "documentation": "One compiled property identity used by a logical structure facet.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaStructureProperty", "runtime": false, "signature": "type EditorSchemaStructureProperty = SchemaPropertyHandle;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaUnknownPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaUnknownPolicy", "runtime": false, "signature": "type EditorSchemaUnknownPolicy = 'preserve' | 'reject';", "source": null, "typeParameters": [] }, "platejs:EditorSchemaValidationCode": { "aliases": [], "documentation": "Stable runtime schema-validation failure categories.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaValidationCode", "runtime": false, "signature": "type EditorSchemaValidationCode = 'exclusive-property-conflict' | 'invalid-content' | 'invalid-document' | 'invalid-json' | 'invalid-node' | 'invalid-property-value' | 'invalid-root' | 'missing-property' | 'property-target-mismatch' | 'unknown-element' | 'unknown-property';", "source": null, "typeParameters": [] }, "platejs:EditorSchemaValidationDiagnostic": { "aliases": [], "documentation": "One immutable, path-aware runtime schema validation failure.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaValidationDiagnostic", "runtime": false, "signature": "type EditorSchemaValidationDiagnostic = Readonly<{\n /** Element ancestor types, immediate parent first. */\n ancestorTypes?: readonly string[];\n code: EditorSchemaValidationCode;\n message: string;\n /** Type of the invalid element, or `text` for a text node. */\n nodeType?: string;\n parentType?: string;\n /** Path inside `root`. */\n path: readonly number[];\n property?: EditorSchemaValidationPropertyContext;\n /** `null` means the implicit primary root. */\n root: string | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaValidationError": { "aliases": [], "documentation": "Runtime document/fragment validation error with immutable diagnostics.", "entrypoint": "platejs", "kind": "class", "name": "EditorSchemaValidationError", "runtime": true, "signature": "declare class EditorSchemaValidationError extends Error {\n readonly diagnostics: readonly EditorSchemaValidationDiagnostic[];\n constructor(diagnostics: EditorSchemaValidationDiagnostic | readonly EditorSchemaValidationDiagnostic[] | string, options?: Readonly<{\n cause?: unknown;\n }>);\n}", "source": null, "typeParameters": [] }, "platejs:EditorSchemaValidationPropertyContext": { "aliases": [], "documentation": "Compiled property candidates relevant to one validation failure.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaValidationPropertyContext", "runtime": false, "signature": "type EditorSchemaValidationPropertyContext = Readonly<{\n /** Contributing plugin names, sorted and deduplicated. */\n plugins: readonly string[];\n /** Stable compiled property IDs, in the same order as `targets`. */\n ids: readonly string[];\n /** Exact property key encountered in the document. */\n key: string;\n placement: 'element' | 'text';\n /** Candidate targets aligned with `ids`; `null` means universal. */\n targets: ReadonlyArray;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSchemaVocabulary": { "aliases": [], "documentation": "Concrete registered schema targets available to DataTransfer formats.", "entrypoint": "platejs", "kind": "type", "name": "EditorSchemaVocabulary", "runtime": false, "signature": "type EditorSchemaVocabulary = Readonly<{\n elementTypes: readonly string[];\n groupNames: readonly string[];\n propertyIds: readonly string[];\n rootNames: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSelection": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSelection", "runtime": false, "signature": "type EditorSelection = NodeSelection | TextSelection;", "source": null, "typeParameters": [] }, "platejs:EditorSelectionBlockOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSelectionBlockOptions", "runtime": false, "signature": "type EditorSelectionBlockOptions = EditorSelectionTargetOptions & {\n match?: NodeMatch;\n type?: NodeTypeSelector;\n};", "source": null, "typeParameters": [] }, "platejs:EditorSelectionTargetOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSelectionTargetOptions", "runtime": false, "signature": "type EditorSelectionTargetOptions = {\n at?: NodeTarget | null;\n};", "source": null, "typeParameters": [] }, "platejs:EditorShortcut": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorShortcut", "runtime": false, "signature": "type EditorShortcut = EditorShortcutOptions & ({\n handler: (ctx: {\n editor: Editor;\n event: KeyboardEvent;\n }) => boolean | void;\n target?: never;\n} | {\n handler?: never;\n /** Disambiguates a command name present in both public namespaces. */\n target?: 'api' | 'update';\n});", "source": null, "typeParameters": [] }, "platejs:EditorSliceReadOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSliceReadOptions", "runtime": false, "signature": "type EditorSliceReadOptions = Readonly<{\n at?: NodeSelection | Range;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorSnapshot": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorSnapshot", "runtime": false, "signature": "type EditorSnapshot = Readonly<{\n children: V;\n index: SnapshotIndex;\n selection: Selection;\n version: number;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorStateField": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateField", "runtime": false, "signature": "type EditorStateField = PluginDefinitionInput & Readonly<{\n name: string;\n}> & Omit, 'compare'> & {\n compare: (left: TValue, right: TValue) => boolean;\n deserialize: (value: unknown) => TValue;\n effect: EditorEffectType>;\n serialize: (value: TValue) => SerializedEditorValue;\n};", "source": null, "typeParameters": [ "TValue = unknown", "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs:EditorStateFragmentApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateFragmentApi", "runtime": false, "signature": "type EditorStateFragmentApi = (options?: EditorFragmentReadOptions) => ReadonlyArray>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorStateMarksApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateMarksApi", "runtime": false, "signature": "type EditorStateMarksApi = () => EditorMarks | null;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorStateNodesApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateNodesApi", "runtime": false, "signature": "type EditorStateNodesApi = {\n above: {\n (options: WithNodeTarget> & {\n match: (node: Ancestor, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (options: WithNodeTarget, TType>> & {\n type: TType;\n }): NodeEntry> | undefined;\n (options?: WithNodeTarget>): NodeEntry | undefined;\n };\n block: {\n >(options: WithNodeTarget, undefined>> & {\n match: (node: ValueElement, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (options: WithNodeTarget, TType>> & {\n type: TType;\n }): NodeEntry> | undefined;\n (options?: WithNodeTarget>>): NodeEntry> | undefined;\n };\n /** Read every schema block relevant to the target or active selection. */\n blocks: {\n >(options: EditorBlocksReadOptions, undefined> & {\n match: (node: ValueElement, path: Path) => node is TGuard;\n }): ReadonlyArray>;\n (options: EditorBlocksReadOptions, TType> & {\n type: TType;\n }): ReadonlyArray>>;\n (options?: EditorBlocksReadOptions>): ReadonlyArray>>;\n };\n children: (at?: NodeTarget) => ReadonlyArray>;\n elementReadOnly: (options?: WithNodeTarget) => NodeEntry | undefined;\n first: (at: NodeTarget) => NodeEntry | undefined;\n get: {\n >(at: NodeTarget, options: EditorNodeGetOptions, undefined> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (at: NodeTarget, options: EditorNodeGetOptions, TType> & {\n type: TType;\n }): NodeEntry> | undefined;\n (at: TNode): NodeEntry | undefined;\n (at: Location | NodeKey, options?: EditorNodeGetOptions>): NodeEntry | undefined;\n };\n /**\n * Whether a node is content. A capability that keeps non-content nodes in\n * the document, such as struck suggestions, answers false for them, so code\n * that derives a value from children or the document can skip them while\n * keeping each child's real path. Without one, every node is content.\n */\n isContent: (node: Node) => boolean;\n isSelectable: (element: Node) => boolean;\n isEmpty: (element: Element) => boolean;\n last: (at: NodeTarget, options?: EditorLastOptions) => NodeEntry | undefined;\n leaf: (at: NodeTarget, options?: EditorLeafOptions) => NodeEntry> | undefined;\n levels: {\n >(options: WithNodeTarget, undefined>> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n }): Generator, void, undefined>;\n (options: WithNodeTarget, TType>> & {\n type: TType;\n }): Generator>, void, undefined>;\n (options?: WithNodeTarget>>): Generator;\n };\n /**\n * Resolve a path in this editor/view root. A `NodeKey` owned by another root\n * returns `undefined`; create that root's view because `Path` has no root.\n */\n path: (at: NodeTarget, options?: EditorPathOptions) => Path | undefined;\n entries: {\n >(options: EditorNodesReadOptions, undefined> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n }): Generator, void, undefined>;\n (options: EditorNodesReadOptions, TType> & {\n type: TType;\n }): Generator>, void, undefined>;\n (options?: EditorNodesReadOptions>): Generator;\n };\n find: {\n >(options: EditorNodesReadOptions> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n type?: undefined;\n }): NodeEntry | undefined;\n (options: EditorNodesReadOptions, TType> & {\n type: TType;\n }): NodeEntry> | undefined;\n (options?: EditorNodesReadOptions>): NodeEntry | undefined;\n };\n some: {\n (options: EditorNodesReadOptions, TType> & {\n type: TType;\n }): boolean;\n (options?: EditorNodesReadOptions>): boolean;\n };\n toArray: {\n >(options: EditorNodesReadOptions, undefined> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n }): ReadonlyArray>;\n (options: EditorNodesReadOptions, TType> & {\n type: TType;\n }): ReadonlyArray>>;\n (options?: EditorNodesReadOptions>): readonly NodeEntry[];\n };\n next: {\n >(options: WithNodeTarget>> & {\n match: (node: ValueDescendant, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (options: WithNodeTarget, TType>> & {\n type: TType;\n }): NodeEntry> | undefined;\n (options?: WithNodeTarget>>): NodeEntry> | undefined;\n };\n parent: {\n (at: NodeTarget, options: EditorParentOptions & {\n match: (node: Ancestor, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (at: NodeTarget, options: EditorParentOptions, TType> & {\n type: TType;\n }): NodeEntry> | undefined;\n (at: NodeTarget, options?: EditorParentOptions): NodeEntry | undefined;\n };\n previous: {\n >(options: WithNodeTarget, undefined>> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (options: WithNodeTarget, TType>> & {\n type: TType;\n }): NodeEntry> | undefined;\n (options?: WithNodeTarget>>): NodeEntry | undefined;\n };\n void: (options?: WithNodeTarget) => NodeEntry | undefined;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorStatePointsApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStatePointsApi", "runtime": false, "signature": "type EditorStatePointsApi = {\n after: (at: NodeTarget, options?: EditorAfterOptions) => Point | undefined;\n before: (at: NodeTarget, options?: EditorBeforeOptions) => Point | undefined;\n end: (at: NodeTarget) => Point | undefined;\n get: (at: NodeTarget, options?: EditorPointOptions) => Point | undefined;\n isEdge: (point: Point, at: NodeTarget) => boolean;\n isEnd: (point: Point, at: NodeTarget) => boolean;\n isStart: (point: Point, at: NodeTarget) => boolean;\n isWordEnd: (point: Point) => boolean;\n positions: (options?: WithNodeTarget) => Generator;\n start: (at: NodeTarget) => Point | undefined;\n};", "source": null, "typeParameters": [] }, "platejs:EditorStateRangesApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateRangesApi", "runtime": false, "signature": "type EditorStateRangesApi = {\n edges: (at: NodeTarget) => readonly [Point, Point] | undefined;\n fromEntries: (entries: readonly NodeEntry[]) => Range | undefined;\n get: (at: NodeTarget, to?: Location) => Range | undefined;\n project: (range: Range) => readonly ProjectedRangeSegment[];\n unhang: (range: Range, options?: EditorUnhangRangeOptions) => Range;\n};", "source": null, "typeParameters": [] }, "platejs:EditorStateRuntimeApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateRuntimeApi", "runtime": false, "signature": "type EditorStateRuntimeApi = {\n snapshot: () => EditorSnapshot;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorStateSchemaApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateSchemaApi", "runtime": false, "signature": "type EditorStateSchemaApi = {\n /** Whether one child element type is accepted directly by one parent type. */\n allowsElementType: (parentType: string, childType: string) => boolean;\n /** Create one valid canonical element with every required default child. */\n create: EditorSchemaCreate;\n /** Copy one node through its compiled property lifecycle. */\n copy: (node: TNode, options: Readonly<{\n at: Path;\n root?: NamedRootKey;\n }>) => TNode;\n /**\n * Create the default child that the parent of `at` declares for the slot\n * `at` ends in. A one-step path names a slot of the root. The parent and its\n * ancestors are read from the root's current document; the slot need not\n * exist. A parent without declared `content`, such as an undeclared element\n * type, yields the root's default child for the root slot holding it, built\n * as a root child. Returns null when the parent is missing or the deciding\n * `content` has no default child for that slot. Omit `root` for the primary\n * root.\n */\n createDefaultChild: (options: Readonly<{\n at: Path;\n root?: NamedRootKey;\n }>) => Descendant | null;\n /** Semantic resources changed by the current configuration publication. */\n delta: () => EditorSchemaDelta | null;\n /** Read immutable compiled facts for one declared element type. */\n element: (type: string) => EditorSchemaElement | null;\n /** Fit one external document through the candidate schema without publishing it. */\n fitDocument: (value: EditorDocumentValue) => EditorDocumentValue;\n findWrapping: (parent: Element, child: Descendant) => readonly string[] | null;\n getElementBehavior: (element: Element) => EditorElementBehavior;\n /** Resolve every named document root projected by an element, keyed by slot. */\n getElementContentRoots: (element: Element) => Readonly>;\n /** Read one stored or defaulted property through its schema identity. */\n getProperty: EditorSchemaReadProperty;\n /** Compiled open-slice boundary behavior for one element. */\n getElementSlicePolicy: (element: Element) => EditorElementSlicePolicy;\n /** Return the immutable compiled schema vocabulary. */\n getVocabulary: () => EditorSchemaVocabulary;\n /** Whether the schema declares any element-owned document roots. */\n hasContentRoots: () => boolean;\n /** Stable persisted identity for the current compiled schema. */\n identity: () => EditorSchemaIdentity;\n isAtom: (element: Node) => boolean;\n isBlock: (element: Node) => boolean;\n /** Test one compiled, transitive schema group membership. */\n isElementTypeInGroup: (type: string, group: string) => boolean;\n isInline: (element: Node) => boolean;\n isIsolating: (element: Node) => boolean;\n isObject: (element: Node) => boolean;\n isReadOnly: (element: Node) => boolean;\n isSelectable: (element: Node) => boolean;\n isVoid: (element: Node) => boolean;\n isMarkableVoid: (element: Node) => boolean;\n /**\n * Resolve one compiled property declaration for an exact runtime context.\n * Omitting `type` succeeds only when the key has one unambiguous declaration.\n */\n property: EditorSchemaGetProperty;\n /**\n * Validate an external document against the compiled schema.\n *\n * Throws `EditorSchemaValidationError` with immutable root/path/property\n * diagnostics on failure.\n */\n assertDocument(value: unknown): asserts value is EditorDocumentValue;\n /**\n * Validate an external fragment against the compiled schema.\n *\n * Throws `EditorSchemaValidationError` with immutable path/property\n * diagnostics on failure.\n */\n assertFragment(children: unknown): asserts children is ReadonlyArray>;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorStateSelectionApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateSelectionApi", "runtime": false, "signature": "type EditorStateSelectionApi = (() => Range | null) & {\n contains: (target: NodeTarget) => boolean;\n intersects: (target: NodeTarget) => boolean;\n isAcrossBlocks: (options?: EditorSelectionBlockOptions) => boolean;\n isAtBlockEnd: (options?: EditorSelectionBlockOptions) => boolean;\n isAtBlockStart: (options?: EditorSelectionBlockOptions) => boolean;\n /** Whether the active representative range is collapsed. */\n isCollapsed: () => boolean;\n /** Whether the active representative range is expanded. */\n isExpanded: () => boolean;\n isValid: (value: unknown) => value is Selection;\n isWithinBlock: (options?: EditorSelectionBlockOptions) => boolean;\n /** How the current node selection was made, or `null` without one. */\n nodeMode: () => NodeSelectionMode | null;\n /** Exact live entries in the current node selection. */\n nodes: () => ReadonlyArray>>;\n ranges: () => readonly Range[];\n};", "source": null, "typeParameters": [ "TSelection extends SelectionValue = SelectionValue", "V extends Value = Value" ] }, "platejs:EditorStateSliceApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateSliceApi", "runtime": false, "signature": "type EditorStateSliceApi = {\n /** Read the selection slice and apply every external export projection. */\n export: (options?: EditorSliceReadOptions) => ContentSlice$1;\n /** Build an atomic replacement transaction without publishing it. */\n fit: (slice: ContentSlice$1, options?: WithNodeTarget>) => false | TransactionSpec;\n /** Fit immutable slice content against one detached parent without publishing. */\n fitContent: (slice: ContentSlice$1, options: Readonly<{\n parent: Element;\n /** Named secondary-root context. Omit for the primary root. */\n root?: NamedRootKey;\n }>) => ReadonlyArray> | null;\n /** Read one immutable slice with structural openness preserved. */\n get: (options?: EditorSliceReadOptions) => ContentSlice$1;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorStateTextApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateTextApi", "runtime": false, "signature": "type EditorStateTextApi = {\n /** Return text at a target, or at the current selection when omitted. */\n string: (at?: NodeSelectionTarget, options?: EditorStringOptions) => string;\n};", "source": null, "typeParameters": [] }, "platejs:EditorStateUniqueApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateUniqueApi", "runtime": false, "signature": "type EditorStateUniqueApi = Readonly<{\n /**\n * Find the node that holds `value` of the `unique` property `property` in\n * the current state, without a scan. Inside an update it also finds a node\n * that got the value earlier in the same update, reading only the content\n * the update wrote. When the update gave the value to a second node, it reads\n * the node that held it before the update.\n */\n holder: (property: string, value: unknown) => EditorUniqueHolder | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorStateValueApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateValueApi", "runtime": false, "signature": "type EditorStateValueApi = () => EditorDocumentValue;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorStateView": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateView", "runtime": false, "signature": "type EditorStateView = EditorCoreStateView & EditorInstalledReadGroups & EditorSelectionCapability & {\n /**\n * Build an immutable transaction without mutating or publishing editor\n * state. An empty spec represents an intentionally handled no-op.\n */\n transaction: ((fn: (transaction: EditorTransactionSpecBuilder) => void) => TransactionSpec) & {\n /** Continue building from a delegated spec without publishing either step. */\n extend: (base: TransactionSpec, fn: (transaction: EditorTransactionSpecBuilder) => void) => TransactionSpec;\n };\n};", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorStateViewApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorStateViewApi", "runtime": false, "signature": "type EditorStateViewApi = {\n isComposing: () => boolean;\n isFocused: () => boolean;\n isReadOnly: () => boolean;\n /**\n * Whether this view's editor root is in Viewing, set through\n * `setEditorViewing` or by a lock on the outermost view. A nested view's own\n * lock makes it read-only without putting its editor root in Viewing.\n */\n isViewing: () => boolean;\n /** Named view root, or `undefined` for the primary document. */\n root: () => NamedRootKey | undefined;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTargetRuntime": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTargetRuntime", "runtime": false, "signature": "type EditorTargetRuntime = {\n resolveImplicitTarget: (editor: Editor, request: TargetFreshnessRequest) => Selection;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTextChangeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTextChangeContext", "runtime": false, "signature": "type EditorTextChangeContext = {\n commit: EditorCommit>;\n editor: TEditor;\n node: DescendantIn> | null;\n path: Path;\n previousPath: Path;\n previousText: string;\n /** Named changed root, or `undefined` for the primary document. */\n root: NamedRootKey | undefined;\n text: string;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorTextChangeHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTextChangeHandler", "runtime": false, "signature": "type EditorTextChangeHandler = (context: EditorTextChangeContext) => void;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorToggleBlockOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorToggleBlockOptions", "runtime": false, "signature": "type EditorToggleBlockOptions = EditorBlockToggleOptions & {\n /** Collapse the resulting selection in the same command commit. */\n collapse?: boolean | SelectionCollapseOptions;\n};", "source": null, "typeParameters": [] }, "platejs:EditorToggleMarkOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorToggleMarkOptions", "runtime": false, "signature": "type EditorToggleMarkOptions = {\n /** Collapse the resulting selection in the same command commit. */\n collapse?: boolean | SelectionCollapseOptions;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTransactionAnchor": { "aliases": [], "documentation": "A mapped location whose lifetime is limited to one transaction callback.", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionAnchor", "runtime": false, "signature": "type EditorTransactionAnchor = Readonly<{\n resolve: () => TValue | null;\n}>;", "source": null, "typeParameters": [ "TValue extends AnchorValue" ] }, "platejs:EditorTransactionAnchorApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionAnchorApi", "runtime": false, "signature": "type EditorTransactionAnchorApi = (value: TValue, options: AnchorOptions) => EditorTransactionAnchor;", "source": null, "typeParameters": [] }, "platejs:EditorTransactionAnnotationsApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionAnnotationsApi", "runtime": false, "signature": "type EditorTransactionAnnotationsApi = {\n get: (annotation: EditorUpdateAnnotation) => TValue | undefined;\n set: (annotation: EditorUpdateAnnotation, value: TValue) => void;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTransactionBlocksApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionBlocksApi", "runtime": false, "signature": "type EditorTransactionBlocksApi = {\n /**\n * Copy the target blocks, with the roots they own, and insert the copies\n * after the last of them. The copies pass through the `slice.export` read\n * over a block node selection of the blocks, then the `slice.landing` read\n * with intent `copy` and a `beside` target, so plugins shape what lands.\n * Changes nothing when a copy is not allowed at its place.\n */\n duplicate: {\n (options: Omit, TType>, 'at'> & {\n at?: NodeSelectionTarget;\n type: TType;\n }): void;\n (options?: Omit>, 'at'> & {\n at?: NodeSelectionTarget;\n }): void;\n };\n /**\n * Insert blocks where `options` places them and return the keys of the\n * top-level blocks that landed, in order. Each key resolves its block from\n * any root. The keys leave out a block the editor's length limit dropped. A\n * block that is live in another root lands under its source's key. Returns\n * `undefined` and changes nothing when the blocks do not fit the landing\n * parent's content, such as a parent at its child limit, when an `after` or\n * `before` target does not resolve, or when the length limit admits none of\n * them. An `at` path past its parent's last child, more than one placement,\n * or `replaceEmpty` beside `before` or `at` throws.\n */\n insert: >(nodes: T | readonly T[], options?: BlockInsertOptions) => readonly [NodeKey, ...NodeKey[]] | undefined;\n /**\n * Reset blocks to the immediate parent or root schema default, keeping the\n * properties a type change preserves and removing the `unset` properties\n * that default does not set. Returns `false` and changes nothing when any\n * block has no default it can become: its parent or root declares no\n * element default, the default lacks a required property nothing supplies,\n * its type change leaves the block's content without one, or the default is\n * not allowed at the block's position.\n */\n reset: (options?: {\n at?: NodeSelectionTarget;\n unset?: string | readonly string[] | SchemaPropertyHandle;\n }) => boolean;\n /**\n * Set props on every target block, all or nothing. A function patch is\n * called once per block before any block changes. Returns `false` and\n * changes nothing when no block is targeted, a patch is not allowed at its\n * block's position, or every block already matches its patch.\n */\n set: (props: NodePropertyPatch>> | ((node: Readonly>) => NodePropertyPatch>>), options?: EditorBlockSetOptions>) => boolean;\n /**\n * Set `props` on every target block, or, when any target already has them,\n * reset every target as `reset` does. With `wrap`, wrap the targets in a\n * `props` element or unwrap them from one. Returns `false` and changes\n * nothing when any target cannot take the change, and `false` when nothing\n * changed.\n */\n toggle: (props: NodePropertyPatch>> & {\n type: string;\n }, options?: EditorBlockToggleOptions) => boolean;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorTransactionBreakApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionBreakApi", "runtime": false, "signature": "type EditorTransactionBreakApi = {\n /**\n * Leave the nearest structure around the collapsed selection. The selected\n * block is that structure when it owns its exit, as a void, an object or an\n * `ownsExit` text block does, and its parent can build a default beside it\n * that does not put the caret in another block that owns its exit. Otherwise\n * it is the nearest ancestor that is a root child or sits in a parent that\n * declares no content or whose content after any leading prefix admits a text\n * block, skipping one that is not a root child when its landing would put the\n * caret back in its own type; with none, it is the selected block. Inserts\n * and selects the default that the structure's parent declares at the landing\n * position. Returns whether a block landed; false changes nothing, as when\n * that parent declares no content, its default needs a property nobody\n * supplies, or that default ends without text.\n */\n exit: (options?: EditorBreakExitOptions) => boolean;\n insert: () => void;\n insertSoft: () => void;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTransactionChangeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionChangeContext", "runtime": false, "signature": "type EditorTransactionChangeContext = Readonly<{\n after: EditorDocumentValue>;\n before: EditorDocumentValue>;\n change: DocumentChange;\n /** Lazy final-coordinate document-change queries for this transaction step. */\n changed: EditorTransactionChanged;\n editor: TEditor;\n selectionAfter: Selection;\n selectionAfterRoot: NamedRootKey | undefined;\n selectionBefore: Selection;\n selectionBeforeRoot: NamedRootKey | undefined;\n tx: EditorUpdateTransaction, PluginsOf>;\n}>;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorTransactionChanged": { "aliases": [], "documentation": "Lazy semantic queries over one transaction-local document change.", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionChanged", "runtime": false, "signature": "type EditorTransactionChanged = {\n has: (kind: EditorTransactionDocumentChangeKind, root?: NamedRootKey) => boolean;\n /** Final-coordinate paths touching changed ranges in one document root. */\n paths: (root?: NamedRootKey) => readonly Path[];\n /** The nodes the step took out of one document root. */\n removed: (root?: NamedRootKey) => readonly EditorTransactionRemoved[];\n /** Bounded before/after top-level windows for each changed range. */\n topLevelRanges: (root?: NamedRootKey) => readonly EditorTransactionTopLevelRange[];\n};", "source": null, "typeParameters": [] }, "platejs:EditorTransactionChangeHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionChangeHandler", "runtime": false, "signature": "type EditorTransactionChangeHandler = (context: EditorTransactionChangeContext) => void;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorTransactionChangesApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionChangesApi", "runtime": false, "signature": "type EditorTransactionChangesApi = {\n /** Apply one canonical document change to the active transaction draft. */\n apply: (change: DocumentChange) => void;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTransactionDocumentChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionDocumentChangeKind", "runtime": false, "signature": "type EditorTransactionDocumentChangeKind = 'properties' | 'structure' | 'text';", "source": null, "typeParameters": [] }, "platejs:EditorTransactionEffectsApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionEffectsApi", "runtime": false, "signature": "type EditorTransactionEffectsApi = {\n all: () => readonly EditorEffect[];\n emit: (type: EditorEffectType, value: TValue) => void;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTransactionFragmentApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionFragmentApi", "runtime": false, "signature": "type EditorTransactionFragmentApi = EditorStateFragmentApi & {\n delete: (options?: WithNodeTarget>) => void;\n /** Fit and replace known-closed content as one canonical closed slice. */\n replace: (content: ReadonlyArray>, options?: WithNodeTarget>) => boolean;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorTransactionMarksApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionMarksApi", "runtime": false, "signature": "type EditorTransactionMarksApi = EditorStateMarksApi & {\n add: (key: string, value: unknown) => void;\n remove: (key: string) => void;\n set: (marks: EditorMarks | null) => void;\n toggle: (key: string, value?: unknown) => void;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorTransactionNodesApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionNodesApi", "runtime": false, "signature": "type EditorTransactionNodesApi = EditorStateNodesApi & {\n insert: {\n , const TType extends NodeTypeSelector | undefined>(nodes: T | readonly T[], options: WithNodeTarget, TType>> & {\n split: NodeInsertNodesOptions, TType>['split'] & {\n type: TType;\n };\n }): void;\n >(nodes: T | readonly T[], options?: WithNodeTarget>>): void;\n };\n lift: {\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n type: TType;\n voids?: boolean;\n }): void;\n (options?: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): void;\n };\n merge: {\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: RangeMode;\n hanging?: boolean;\n type: TType;\n voids?: boolean;\n }): void;\n (options?: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: RangeMode;\n hanging?: boolean;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): void;\n };\n move: {\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n to: Path;\n type: TType;\n voids?: boolean;\n }): void;\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n to: Path;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): void;\n };\n remove: {\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n hanging?: boolean;\n type: TType;\n voids?: boolean;\n }): void;\n (options?: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n hanging?: boolean;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): void;\n };\n replace: >(nodes: T | readonly T[], options: EditorReplaceNodeOptions) => boolean;\n replaceChildren: (children: ReadonlyArray>, options: EditorReplaceChildrenOptions) => void;\n set: EditorNodeSetObject;\n split: {\n (options: {\n at?: NodeTarget;\n match?: NodeMatch>;\n mode?: RangeMode;\n always?: boolean;\n height?: number;\n position?: number;\n type: TType;\n voids?: boolean;\n }): void;\n (options?: {\n at?: NodeTarget;\n match?: NodeMatch>;\n mode?: RangeMode;\n always?: boolean;\n height?: number;\n position?: number;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): void;\n };\n unset: {\n , const TType extends NodeTypeSelector>(props: TKey | readonly TKey[], options: EditorNodeUnsetOptions, TType> & {\n type: TType;\n }): void;\n >(props: TKey | readonly TKey[], options?: EditorNodeUnsetOptions>): void;\n (property: SchemaPropertyHandle, options: EditorNodeUnsetOptions, TType> & {\n type: TType;\n }): void;\n (property: SchemaPropertyHandle, options?: EditorNodeUnsetOptions>): void;\n (property: string extends TKey ? TKey | readonly TKey[] : never, options: EditorNodeUnsetOptions, TType> & {\n type: TType;\n }): void;\n (property: string extends TKey ? TKey | readonly TKey[] : never, options?: EditorNodeUnsetOptions>): void;\n };\n unwrap: {\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n split?: boolean;\n type: TType;\n voids?: boolean;\n }): boolean;\n (options?: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n split?: boolean;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): boolean;\n };\n wrap: {\n (element: ElementIn, options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n split?: boolean;\n type: TType;\n voids?: boolean;\n }): boolean;\n (element: ElementIn, options?: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n split?: boolean;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): boolean;\n };\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorTransactionPluginsApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionPluginsApi", "runtime": false, "signature": "type EditorTransactionPluginsApi = {\n /** Whether the current editor has this plugin name or descriptor installed. */\n has: (plugin: PluginReference | string) => boolean;\n /** Replace one named plugin slot when the surrounding update commits. */\n reconfigure: (slot: PluginSlotLike, input: PluginInput, options?: PluginReconfigureOptions) => void;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTransactionRecordsApi": { "aliases": [], "documentation": "Write keyed records into a record set a plugin declares.", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionRecordsApi", "runtime": false, "signature": "type EditorTransactionRecordsApi = {\n /** Drop `id` from `set`; a set without `id` stays as it is. */\n drop: (set: string, id: string) => void;\n /**\n * Put `record` under `id` in `set`. Putting equal content again changes\n * nothing, and an id that holds other content refuses the put.\n */\n put: (set: string, id: string, record: Readonly>) => void;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTransactionRemoved": { "aliases": [], "documentation": "One node a step took out of a root: its key is in the root's index before\nthe step and not after it. A node the step moves, splits or wraps keeps its\nkey, and so do the children of a node it unwraps or merges into another. A\nstep with no structure change can remove a node too, as `replace` does when\nit gives the new node a new key.", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionRemoved", "runtime": false, "signature": "type EditorTransactionRemoved = Readonly<{\n key: NodeKey;\n /** The node as it stood before the step. Each descendant that left has its\n * own entry. */\n node: Descendant;\n /** Where the node's start lands in the step's result, as a child index of\n * its nearest ancestor the step kept: right after the nearest earlier\n * sibling the step kept, of the node or of an ancestor the step removed,\n * when that sibling is still a child of that ancestor; else the count of\n * that ancestor's children that start before where the node's start\n * lands. The last index may equal the ancestor's child count. */\n path: Path;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorTransactionRootsApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionRootsApi", "runtime": false, "signature": "type EditorTransactionRootsApi = {\n create: (root: NamedRootKey, children: V) => void;\n delete: (root: NamedRootKey) => void;\n replace: (root: NamedRootKey, children: V) => void;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorTransactionSelectionApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionSelectionApi", "runtime": false, "signature": "type EditorTransactionSelectionApi = EditorStateSelectionApi & {\n collapse: (options?: SelectionCollapseOptions) => void;\n move: (options?: SelectionMoveOptions) => void;\n set: BivariantMethod<[target: EditorSelectionTarget | null], void>;\n /** Select exact live nodes. An empty collection clears the selection. */\n setNodes: (targets: ReadonlyArray, options?: EditorSelectionSetNodesOptions) => void;\n setPoint: (props: Partial, options?: SelectionSetPointOptions) => void;\n};", "source": null, "typeParameters": [ "TSelection extends SelectionValue = SelectionValue", "V extends Value = Value" ] }, "platejs:EditorTransactionSliceApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionSliceApi", "runtime": false, "signature": "type EditorTransactionSliceApi = Pick, 'get'> & {\n /**\n * Fit and atomically replace content at the transaction target.\n *\n * Returns `false` without mutating when the target cannot be resolved, is a\n * protected void, or the compiled schema cannot fit a well-formed slice.\n * Malformed slice shapes are programmer errors and throw.\n */\n replace: (slice: ContentSlice$1, options?: WithNodeTarget>) => boolean;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorTransactionSpecBuilder": { "aliases": [], "documentation": "Pure transaction builder available while producing a command spec.", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionSpecBuilder", "runtime": false, "signature": "type EditorTransactionSpecBuilder = Omit, 'plugins' | 'key'> & Readonly<{\n /**\n * Return the key for a node or location in this draft. A node the draft\n * created carries a prepared key, which becomes its live key when the\n * editor adopts this draft.\n */\n key: EditorKeyApi;\n plugin: EditorTransactionPluginPortal>>;\n}> & PluginUpdateMethods> & EditorSelectionCapability;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorTransactionTagsApi": { "aliases": [], "documentation": "Inspect and extend the final tag set of the active update.", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionTagsApi", "runtime": false, "signature": "type EditorTransactionTagsApi = {\n add: (tag: EditorUpdateTag) => void;\n has: (tag: EditorUpdateTag) => boolean;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTransactionTextApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionTextApi", "runtime": false, "signature": "type EditorTransactionTextApi = EditorStateTextApi & {\n delete: (options?: WithNodeTarget) => void;\n deleteBackward: (options?: EditorDirectedDeletionOptions) => void;\n deleteForward: (options?: EditorDirectedDeletionOptions) => void;\n insert: (text: string, options?: WithNodeTarget) => void;\n};", "source": null, "typeParameters": [] }, "platejs:EditorTransactionTopLevelRange": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionTopLevelRange", "runtime": false, "signature": "type EditorTransactionTopLevelRange = Readonly<{\n /** Inclusive top-level window in the final transaction-step document. */\n after: TopLevelRuntimeRange | null;\n /** Inclusive top-level window in the transaction-step source document. */\n before: TopLevelRuntimeRange | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorTransactionValueApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorTransactionValueApi", "runtime": false, "signature": "type EditorTransactionValueApi = EditorStateValueApi & {\n /**\n * Load a complete document and its metadata, resetting local history.\n * A root-bound view instead authors a replacement of its own root;\n * load document metadata through the complete editor.\n */\n replace: (input: SnapshotInput) => void;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:EditorUniqueHolder": { "aliases": [], "documentation": "Where the node that holds one value of a `unique` property sits.", "entrypoint": "platejs", "kind": "type", "name": "EditorUniqueHolder", "runtime": false, "signature": "type EditorUniqueHolder = Readonly<{\n key: NodeKey;\n path: Path;\n root: RootKey;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorUpdate", "runtime": false, "signature": "type EditorUpdate = {\n (fn: (transaction: EditorUpdateTransaction, context: EditorUpdateContext>) => R): R | undefined;\n (policy: EditorAvailableUpdatePolicy>, fn: (transaction: EditorUpdateTransaction, context: EditorUpdateContext>) => R): R | undefined;\n (policy: EditorAvailableUpdatePolicy>): EditorUpdateMethods;\n} & EditorUpdateMethods;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorUpdateAnnotation": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorUpdateAnnotation", "runtime": false, "signature": "type EditorUpdateAnnotation = Readonly<{\n combine: (previous: TValue, next: TValue) => TValue;\n key: string;\n}>;", "source": null, "typeParameters": [ "TValue = unknown" ] }, "platejs:EditorUpdateContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorUpdateContext", "runtime": false, "signature": "type EditorUpdateContext = {\n afterCommit: (handler: EditorCommitHandler) => void;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:EditorUpdateMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorUpdateMethods", "runtime": false, "signature": "type EditorUpdateMethods = EditorCoreUpdateMethods & DirectPluginUpdateMethods>;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorUpdatePolicy": { "aliases": [], "documentation": "Semantic policy applied to one editor update.", "entrypoint": "platejs", "kind": "type", "name": "EditorUpdatePolicy", "runtime": false, "signature": "type EditorUpdatePolicy = Readonly<{\n /** History behavior. Requires an installed History plugin. */\n history?: 'merge' | 'new-batch' | 'skip';\n /** Tags applied in input order before the semantic history mode. */\n tags?: EditorUpdateTagInput;\n}>;", "source": null, "typeParameters": [] }, "platejs:EditorUpdatePolicyFor": { "aliases": [], "documentation": "Update policy available for a specific editor's installed plugins.", "entrypoint": "platejs", "kind": "type", "name": "EditorUpdatePolicyFor", "runtime": false, "signature": "type EditorUpdatePolicyFor> = TEditor extends BaseEditor ? EditorAvailableUpdatePolicy> : never;", "source": null, "typeParameters": [ "TEditor extends BaseEditor" ] }, "platejs:EditorUpdateTag": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorUpdateTag", "runtime": false, "signature": "type EditorUpdateTag = EditorCanonicalUpdateTag | (string & {});", "source": null, "typeParameters": [] }, "platejs:EditorUpdateTagInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorUpdateTagInput", "runtime": false, "signature": "type EditorUpdateTagInput = EditorUpdateTag | readonly EditorUpdateTag[];", "source": null, "typeParameters": [] }, "platejs:EditorUpdateTransaction": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorUpdateTransaction", "runtime": false, "signature": "type EditorUpdateTransaction = EditorCoreUpdateTransaction & {\n /** Dispatch a typed semantic command inside this active update. */\n command: EditorCommandDispatch>;\n /**\n * Select an installed plugin's group without leaving this transaction.\n * Prefer direct named groups when the editor type carries the complete graph.\n */\n plugin: EditorTransactionPluginPortal>;\n} & EditorInstalledTransactionGroups & EditorSelectionCapability;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorUpdateValueFromPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorUpdateValueFromPlugin", "runtime": false, "signature": "type EditorUpdateValueFromPlugin = EditorUpdateGroupsFromPlugin extends (infer TUpdate) ? TPlugin extends {\n name: infer TName;\n} ? TName extends keyof TUpdate ? TUpdate[TName] : never : never : never;", "source": null, "typeParameters": [ "V extends Value", "TPlugin" ] }, "platejs:EditorValueFromOptions": { "aliases": [], "documentation": "Editor value inferred from installed schema or initial data.", "entrypoint": "platejs", "kind": "type", "name": "EditorValueFromOptions", "runtime": false, "signature": "type EditorValueFromOptions = [SchemaPluginsOf>] extends [never] ? InitialValueFromOptions : EditorValueFromPlugins>;", "source": null, "typeParameters": [ "TOptions" ] }, "platejs:EditorValueFromPlugins": { "aliases": [], "documentation": "Default document value inferred from complete installed schema plugins.", "entrypoint": "platejs", "kind": "type", "name": "EditorValueFromPlugins", "runtime": false, "signature": "type EditorValueFromPlugins = [SchemaValueFromPlugins>] extends [never] ? Value : SchemaValueFromPlugins> extends (infer V extends Value) ? V : Value;", "source": null, "typeParameters": [ "TPlugins extends readonly unknown[]" ] }, "platejs:EditorValueInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorValueInput", "runtime": false, "signature": "type EditorValueInput = EditorDocumentValue | PersistedDocumentInput | Readonly | V;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs:EditorValuePersistence": { "aliases": [], "documentation": "Versioned persistence for one live editor value.", "entrypoint": "platejs", "kind": "type", "name": "EditorValuePersistence", "runtime": false, "signature": "type EditorValuePersistence = Readonly<{\n decode: (value: unknown) => TValue;\n encode: (value: TValue) => TEncoded;\n legacyDecoders?: Readonly TValue>>;\n /** Current positive integer envelope version. */\n version: number;\n}>;", "source": null, "typeParameters": [ "TValue = unknown", "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs:EditorView": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorView", "runtime": false, "signature": "type EditorView = BaseEditor & {\n blur: () => void;\n focus: () => void;\n /** Named view root, or `undefined` for the primary document. */\n readonly root: NamedRootKey | undefined;\n};", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs:EditorViewOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "EditorViewOptions", "runtime": false, "signature": "type EditorViewOptions = {\n /**\n * How this view treats suggestions. An `intent` view edits the document\n * with its review marks: `edit` applies writes as written and `propose`\n * records them as suggestions. A `preview` view reads the document with\n * every pending change accepted (`proposed`) or rejected (`accepted`) and\n * throws on a plain edit, though some other writes still change the\n * document, such as an update that makes a decision, undo and redo, and\n * remote collaboration changes. Outside a transaction, its\n * `read.selection()` names places of that preview.\n */\n authored?: Readonly<{\n intent: 'edit' | 'propose';\n }> | Readonly<{\n preview: 'accepted' | 'proposed';\n }>;\n /**\n * Author of every recorded write through this view, such as an AI's\n * suggestions in a person's editor. Omit it to keep the source view's\n * author, or the editor's when no view names one. It is fixed for the\n * life of the view, and a non-empty string without a NUL character,\n * because authored changes store it.\n */\n authorId?: string;\n /**\n * Immutable document the view reads instead of the source editor's value.\n * Reads, plugin reads and plugin APIs resolve against it through the source\n * editor's schema and plugins. The view is read-only, has no selection or\n * last commit, and never notifies subscribers. The document must satisfy the\n * source editor's schema.\n */\n document?: EditorDocumentValue;\n readOnly?: boolean;\n /** Named secondary root. Omit for the primary document. */\n root?: NamedRootKey;\n};", "source": null, "typeParameters": [ "TRoot extends RootKey = RootKey" ] }, "platejs:Element": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "Element", "runtime": false, "signature": "type Element = BaseElement;", "source": null, "typeParameters": [] }, "platejs:ElementApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "ElementApi", "runtime": true, "signature": "ElementApi: Readonly", "source": null, "typeParameters": [] }, "platejs:ElementContentRootSlot": { "aliases": [], "documentation": "The `childRoots` slot names of `N`, or any slot name when `N` declares none.", "entrypoint": "platejs", "kind": "type", "name": "ElementContentRootSlot", "runtime": false, "signature": "type ElementContentRootSlot = N extends {\n childRoots: infer TRoots extends Readonly>;\n} ? Extract : string;", "source": null, "typeParameters": [ "N extends Element" ] }, "platejs:ElementEntry": { "aliases": [], "documentation": "`ElementEntry` objects refer to an `Element` and the `Path` where it can be\nfound inside a root node.", "entrypoint": "platejs", "kind": "type", "name": "ElementEntry", "runtime": false, "signature": "type ElementEntry = readonly [ElementOf, Path];", "source": null, "typeParameters": [ "N = Element" ] }, "platejs:ElementEntryOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ElementEntryOf", "runtime": false, "signature": "type ElementEntryOf = NodeEntry>;", "source": null, "typeParameters": [ "E" ] }, "platejs:ElementIdEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ElementIdEntry", "runtime": false, "signature": "type ElementIdEntry = Readonly<{\n key: NodeKey;\n node: Element;\n path: Path;\n root: RootKey;\n}>;", "source": null, "typeParameters": [] }, "platejs:ElementIdPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "ElementIdPlugin", "runtime": true, "signature": "ElementIdPlugin: BasePlugin string;\n }>;\n key: \"id\";\n localId: \"id\";\n ownerName: \"elementId\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly properties: {\n id: SchemaElementPropertyDefinition string;\n }>, Readonly<{\n group: \"element\";\n kind: \"group\";\n }>>;\n };\n };\n readonly name: \"elementId\";\n readonly activate: true;\n readonly initialState: {\n readonly generateId: () => string;\n };\n readonly read: {\n readonly entry: (id: string) => ElementIdEntry | undefined;\n readonly id: (key: NodeKey) => string | undefined;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs:ElementIdPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ElementIdPluginState", "runtime": false, "signature": "type ElementIdPluginState = {\n /** Generate one persisted ID for a newly materialized element. */\n generateId: () => string;\n};", "source": null, "typeParameters": [] }, "platejs:ElementIn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ElementIn", "runtime": false, "signature": "type ElementIn = ElementOf;", "source": null, "typeParameters": [ "V extends readonly unknown[]" ] }, "platejs:ElementInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "ElementInterface", "runtime": false, "signature": "interface ElementInterface {\n /**\n * Check if a value implements the 'Ancestor' interface.\n */\n isAncestor: (value: unknown, options?: ElementIsElementOptions) => value is Ancestor;\n /**\n * Check if a value implements the `Element` interface.\n */\n isElement: (value: unknown, options?: ElementIsElementOptions) => value is Element;\n /**\n * Check if a value is an array of `Element` objects.\n */\n isElementList: (value: unknown, options?: ElementIsElementOptions) => value is readonly Element[];\n /**\n * Check if a set of props is a partial of Element.\n */\n isElementProps: (props: unknown) => props is Partial;\n /**\n * Check if a value implements the `Element` interface and has elementKey with selected value.\n * Default it check to `type` key value\n */\n isElementType: (value: unknown, elementVal: string, elementKey?: string) => value is Element;\n /**\n * Check if an element matches set of properties.\n *\n * Note: this checks custom properties, and it does not ensure that any\n * children are equivalent.\n */\n matches: (element: T, props: Partial) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs:ElementIsElementOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "ElementIsElementOptions", "runtime": false, "signature": "interface ElementIsElementOptions {\n deep?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:ElementOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ElementOf", "runtime": false, "signature": "type ElementOf = N extends unknown ? ElementOfVariant : never;", "source": null, "typeParameters": [ "N" ] }, "platejs:ElementOrTextIn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ElementOrTextIn", "runtime": false, "signature": "type ElementOrTextIn = ElementIn | TextIn;", "source": null, "typeParameters": [ "V extends readonly unknown[]" ] }, "platejs:ElementOrTextOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ElementOrTextOf", "runtime": false, "signature": "type ElementOrTextOf = ElementOf | TextOf;", "source": null, "typeParameters": [ "E" ] }, "platejs:ElementStateApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ElementStateApi", "runtime": false, "signature": "type ElementStateApi = {\n isEmpty: (element: Element) => boolean;\n};", "source": null, "typeParameters": [] }, "platejs:ElementStateDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ElementStateDefinition", "runtime": false, "signature": "type ElementStateDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:ElementStatePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "ElementStatePlugin", "runtime": true, "signature": "ElementStatePlugin: BasePlugin & Readonly<{\n name: \"elementState\";\n}> & Readonly> & Readonly<{\n api: {\n readonly isEmpty: (element: Element) => boolean;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:ElementWith": { "aliases": [], "documentation": "Element narrowed to schema properties contributed by one or more owners.\nThe second generic marks exact authored local IDs known to be present.", "entrypoint": "platejs", "kind": "type", "name": "ElementWith", "runtime": false, "signature": "type ElementWith> = never> = Element & SchemaPropertyShape, TRequired>;", "source": null, "typeParameters": [ "TSource extends SchemaPropertySource", "TRequired extends SchemaPropertyRequiredLocalId> = never" ] }, "platejs:encodeEditorEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "encodeEditorEffect", "runtime": true, "signature": "encodeEditorEffect: (effect: EditorEffect) => SerializedEditorEffect", "source": null, "typeParameters": [] }, "platejs:ExitBreakPlugin": { "aliases": [], "documentation": "Inserts an exit block before or after the current block structure.", "entrypoint": "platejs", "kind": "const", "name": "ExitBreakPlugin", "runtime": true, "signature": "ExitBreakPlugin: BasePlugin & Readonly<{\n name: \"exitBreak\";\n}> & Readonly> & Readonly<{\n update: {\n readonly insert: TxDeclaredMethod<(options?: ExitBreakOptions) => boolean>;\n readonly insertBefore: TxDeclaredMethod<(options?: ExitBreakOptions) => boolean>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:formatting": { "aliases": [ "formatting$1" ], "documentation": "Contribute the block properties clear formatting removes, and the blocks\nthat keep one. Text styles need no contribution: every text property whose\nschema role is `content` is one.", "entrypoint": "platejs", "kind": "const", "name": "formatting", "runtime": true, "signature": "formatting$1: Readonly<{\n id: string;\n of: (value: Readonly<{\n /** Element properties that style a block, cleared on a fully covered block. */\n block?: readonly string[];\n /**\n * Per key, whether a block keeps it although it styles other blocks, such as\n * an indent that is list depth. A block keeps a key when any predicate does.\n * The key `type` keeps a block's type and heading level, such as a list\n * item's: `read.capture` leaves them out of the look, and `update.apply`\n * leaves them unchanged.\n */\n keeps?: Readonly boolean>>;\n }>) => PluginContribution boolean>>;\n }>, unknown>;\n}>", "source": null, "typeParameters": [] }, "platejs:FormattingBlockEntry": { "aliases": [], "documentation": "One block a `keeps` predicate judges, with the siblings it stands among.", "entrypoint": "platejs", "kind": "type", "name": "FormattingBlockEntry", "runtime": false, "signature": "type FormattingBlockEntry = Readonly<{\n index: number;\n node: Element;\n path: Path;\n siblings: readonly Descendant[];\n}>;", "source": null, "typeParameters": [] }, "platejs:FormattingContribution": { "aliases": [], "documentation": "A plugin's share of what clear formatting removes from blocks and keeps.", "entrypoint": "platejs", "kind": "type", "name": "FormattingContribution", "runtime": false, "signature": "type FormattingContribution = Readonly<{\n /** Element properties that style a block, cleared on a fully covered block. */\n block?: readonly string[];\n /**\n * Per key, whether a block keeps it although it styles other blocks, such as\n * an indent that is list depth. A block keeps a key when any predicate does.\n * The key `type` keeps a block's type and heading level, such as a list\n * item's: `read.capture` leaves them out of the look, and `update.apply`\n * leaves them unchanged.\n */\n keeps?: Readonly boolean>>;\n}>;", "source": null, "typeParameters": [] }, "platejs:FragmentPropMode": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "FragmentPropMode", "runtime": false, "signature": "type FragmentPropMode = 'all' | 'block' | 'text';", "source": null, "typeParameters": [] }, "platejs:getEditorRuntimeOwner": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "getEditorRuntimeOwner", "runtime": true, "signature": "getEditorRuntimeOwner: (editor: EditorRuntimeCarrier) => AnyEditor", "source": null, "typeParameters": [] }, "platejs:getFragmentProp": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "getFragmentProp", "runtime": true, "signature": "getFragmentProp: (nodes: readonly Node$1[], { defaultValue, getProp, key, mode }?: GetFragmentPropOptions) => TValue | undefined", "source": null, "typeParameters": [] }, "platejs:GetFragmentPropOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "GetFragmentPropOptions", "runtime": false, "signature": "type GetFragmentPropOptions = {\n defaultValue?: TValue;\n getProp?: (node: Node$1) => TValue | undefined;\n key?: string;\n mode?: FragmentPropMode;\n};", "source": null, "typeParameters": [ "TValue = unknown" ] }, "platejs:getInjectMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "getInjectMatch", "runtime": true, "signature": "getInjectMatch: (editor: Editor, plugin: Pick) => (node: Node$1, path?: Path) => boolean", "source": null, "typeParameters": [] }, "platejs:GetInjectNodePropsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "GetInjectNodePropsOptions", "runtime": false, "signature": "type GetInjectNodePropsOptions = {\n /** Existing className. */\n className?: string;\n /** Style value or className key. */\n element?: Element;\n /** Current node path when the node is rendered with path context. */\n path?: Path;\n /** Existing style. */\n style?: AnyObject;\n /** Style value or className key. */\n text?: Text$1;\n};", "source": null, "typeParameters": [] }, "platejs:GetInjectNodePropsReturnType": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "GetInjectNodePropsReturnType", "runtime": false, "signature": "type GetInjectNodePropsReturnType = AnyObject & {\n className?: string;\n style?: AnyObject;\n};", "source": null, "typeParameters": [] }, "platejs:getLinkHref": { "aliases": [], "documentation": "Returns the href a link may navigate to, or `undefined` when the link\nfeature refuses `url`. Surrounding spaces are trimmed. Relative URLs are\nallowed, except one that starts with `//`. Script-capable schemes such as\n`javascript:` and `data:`, malformed absolute URLs and any URL holding a\ncontrol character or backslash are refused. Any other absolute URL needs a\nscheme in `allowedSchemes`, which defaults to `http`, `https`, `mailto` and\n`tel`; when the link plugin is installed, pass its `allowedSchemes`.", "entrypoint": "platejs", "kind": "const", "name": "getLinkHref", "runtime": true, "signature": "getLinkHref: (url: string, { allowedSchemes }?: Readonly<{\n allowedSchemes?: readonly string[];\n}>) => string | undefined", "source": null, "typeParameters": [] }, "platejs:getPluginNodeClass": { "aliases": [], "documentation": "Return the CSS class used to mark Plate plugin-rendered nodes in HTML.", "entrypoint": "platejs", "kind": "function", "name": "getPluginNodeClass", "runtime": true, "signature": "declare function getPluginNodeClass(type: string): string;", "source": null, "typeParameters": [] }, "platejs:HandlerReturnType": { "aliases": [], "documentation": "If true, the next handlers will be skipped.", "entrypoint": "platejs", "kind": "type", "name": "HandlerReturnType", "runtime": false, "signature": "type HandlerReturnType = boolean | void;", "source": null, "typeParameters": [] }, "platejs:HeadingLevel": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HeadingLevel", "runtime": false, "signature": "type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;", "source": null, "typeParameters": [] }, "platejs:HeadingRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "HeadingRules", "runtime": true, "signature": "HeadingRules: {\n markdown: ({ enabled, priority }?: {\n enabled?: (context: InsertTextInputRuleReadContext) => boolean;\n priority?: number;\n }) => InsertTextInputRule HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"heading\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly properties: {\n level: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly name: \"heading\";\n readonly formats: true;\n readonly read: {\n readonly level: (node: Element) => HeadingLevel | undefined;\n };\n readonly rules: true;\n readonly update: {\n readonly setLevel: TxDeclaredMethod<(level: HeadingLevel) => boolean>;\n readonly toggle: TxDeclaredMethod<({ level }: ToggleHeadingOptions) => boolean>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"heading\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly properties: {\n level: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly name: \"heading\";\n readonly formats: true;\n readonly read: {\n readonly level: (node: Element) => HeadingLevel | undefined;\n };\n readonly rules: true;\n readonly update: {\n readonly setLevel: TxDeclaredMethod<(level: HeadingLevel) => boolean>;\n readonly toggle: TxDeclaredMethod<({ level }: ToggleHeadingOptions) => boolean>;\n };\n }>> & Readonly>>>, readonly []>>;\n}", "source": null, "typeParameters": [] }, "platejs:HighlightNode": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HighlightNode", "runtime": false, "signature": "type HighlightNode = {\n children?: HighlightNode[];\n properties?: Record;\n type: string;\n value?: string;\n};", "source": null, "typeParameters": [] }, "platejs:HighlightResult": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HighlightResult", "runtime": false, "signature": "type HighlightResult = {\n children: HighlightNode[];\n type: string;\n};", "source": null, "typeParameters": [] }, "platejs:HighlightRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "HighlightRules", "runtime": true, "signature": "HighlightRules: {\n markdown: ({ variant, ...options }?: MarkdownMarkRuleOptions & {\n variant?: '==' | '≡';\n }) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs:HistoryApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HistoryApi", "runtime": false, "signature": "type HistoryApi = {\n /** Replay the current redo batch as one complete editor update. */\n redo: () => HistoryResult;\n /** Replay the current undo batch as one complete editor update. */\n undo: () => HistoryResult;\n};", "source": null, "typeParameters": [] }, "platejs:HistoryDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HistoryDefinition", "runtime": false, "signature": "type HistoryDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:HistoryOutcome": { "aliases": [], "documentation": "Outcome of an undo or redo that has finished.", "entrypoint": "platejs", "kind": "type", "name": "HistoryOutcome", "runtime": false, "signature": "type HistoryOutcome = HistorySettlement | Readonly<{\n status: 'busy' | 'empty';\n}> | Readonly<{\n conflicts: readonly string[];\n status: 'blocked';\n}>;", "source": null, "typeParameters": [] }, "platejs:HistoryPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "HistoryPlugin", "runtime": true, "signature": "HistoryPlugin: HistoryPluginDescriptor", "source": null, "typeParameters": [] }, "platejs:HistoryPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HistoryPluginState", "runtime": false, "signature": "type HistoryPluginState = {\n maxDepth: number;\n newBatchDelay: number;\n};", "source": null, "typeParameters": [] }, "platejs:HistoryResult": { "aliases": [], "documentation": "Result of one undo or redo call. A document batch has already applied or\nfailed when the call returns; only a batch whose effect owner is still\nworking returns `pending`.", "entrypoint": "platejs", "kind": "type", "name": "HistoryResult", "runtime": false, "signature": "type HistoryResult = HistoryOutcome | Readonly<{\n /** Resolves once the effect owner finishes. Never rejects. */\n settled: Promise;\n status: 'pending';\n}>;", "source": null, "typeParameters": [] }, "platejs:HistorySettlement": { "aliases": [], "documentation": "Final outcome of a replay that waited on its effect owner or failed.", "entrypoint": "platejs", "kind": "type", "name": "HistorySettlement", "runtime": false, "signature": "type HistorySettlement = Readonly<{\n status: 'applied';\n}> | Readonly<{\n reason: string;\n status: 'blocked';\n}> | Readonly<{\n status: 'failed';\n}>;", "source": null, "typeParameters": [] }, "platejs:HorizontalRuleRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "HorizontalRuleRules", "runtime": true, "signature": "HorizontalRuleRules: {\n markdown: ({ enabled, priority, variant }?: {\n enabled?: (context: InsertTextInputRuleReadContext) => boolean;\n priority?: number;\n variant?: '-' | '_';\n }) => InsertTextInputRule<{\n range: Range;\n text: string;\n path: Path;\n }, InternalBaseEditorWithInstalledPlugins>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference$1[]>>;\n}", "source": null, "typeParameters": [] }, "platejs:Hotkeys": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "Hotkeys", "runtime": true, "signature": "Hotkeys: {\n isBold: (event: KeyboardEventLike) => boolean;\n isCompose: (event: KeyboardEventLike) => boolean;\n isDeleteBackward: (event: KeyboardEventLike) => boolean;\n isDeleteForward: (event: KeyboardEventLike) => boolean;\n isDeleteLineBackward: (event: KeyboardEventLike) => boolean;\n isDeleteLineForward: (event: KeyboardEventLike) => boolean;\n isDeleteWordBackward: (event: KeyboardEventLike) => boolean;\n isDeleteWordForward: (event: KeyboardEventLike) => boolean;\n isEscape: (event: KeyboardEventLike) => boolean;\n isExtendBackward: (event: KeyboardEventLike) => boolean;\n isExtendDownward: (event: KeyboardEventLike) => boolean;\n isExtendForward: (event: KeyboardEventLike) => boolean;\n isExtendLineBackward: (event: KeyboardEventLike) => boolean;\n isExtendLineForward: (event: KeyboardEventLike) => boolean;\n isExtendUpward: (event: KeyboardEventLike) => boolean;\n isItalic: (event: KeyboardEventLike) => boolean;\n isMoveBackward: (event: KeyboardEventLike) => boolean;\n isMoveDownward: (event: KeyboardEventLike) => boolean;\n isMoveForward: (event: KeyboardEventLike) => boolean;\n isMoveLineBackward: (event: KeyboardEventLike) => boolean;\n isMoveLineForward: (event: KeyboardEventLike) => boolean;\n isMoveUpward: (event: KeyboardEventLike) => boolean;\n isMoveWordBackward: (event: KeyboardEventLike) => boolean;\n isMoveWordForward: (event: KeyboardEventLike) => boolean;\n isRedo: (event: KeyboardEventLike) => boolean;\n isSelectAll: (event: KeyboardEventLike) => boolean;\n isSoftBreak: (event: KeyboardEventLike) => boolean;\n isSplitBlock: (event: KeyboardEventLike) => boolean;\n isTab: (editor: Editor, event: KeyboardEventLike, { composing }?: {\n /** Ignore the event if composing. */\n composing?: boolean;\n }) => boolean;\n isTransposeCharacter: (event: KeyboardEventLike) => boolean;\n isUndo: (event: KeyboardEventLike) => boolean;\n isUntab: (editor: Editor, event: KeyboardEventLike, { composing }?: {\n composing?: boolean;\n }) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs:HtmlAttributes": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HtmlAttributes", "runtime": false, "signature": "type HtmlAttributes = Readonly>;", "source": null, "typeParameters": [] }, "platejs:HtmlContentToken": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HtmlContentToken", "runtime": false, "signature": "type HtmlContentToken = Readonly<{\n readonly __htmlContentToken: true;\n}>;", "source": null, "typeParameters": [] }, "platejs:HtmlElementPatch": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HtmlElementPatch", "runtime": false, "signature": "type HtmlElementPatch = Readonly<{\n attributes?: HtmlAttributes;\n children?: never;\n style?: Readonly>;\n tag?: never;\n}>;", "source": null, "typeParameters": [] }, "platejs:HtmlMappingDiagnosticInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HtmlMappingDiagnosticInput", "runtime": false, "signature": "type HtmlMappingDiagnosticInput = Readonly<{\n action: 'dropped' | 'replaced' | 'unwrapped';\n kind: 'attribute' | 'element' | 'style';\n message: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:HtmlMatcher": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HtmlMatcher", "runtime": false, "signature": "type HtmlMatcher = Readonly<(HtmlMatcherFields & {\n attributes: NonNullable;\n}) | (HtmlMatcherFields & {\n className: string;\n}) | (HtmlMatcherFields & {\n style: NonNullable;\n}) | (HtmlMatcherFields & {\n tag: HtmlMatchValue;\n})>;", "source": null, "typeParameters": [] }, "platejs:HtmlMatchValue": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HtmlMatchValue", "runtime": false, "signature": "type HtmlMatchValue = string | readonly string[];", "source": null, "typeParameters": [] }, "platejs:HtmlNodeSpec": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HtmlNodeSpec", "runtime": false, "signature": "type HtmlNodeSpec = Readonly<{\n attributes?: HtmlAttributes;\n children?: HtmlContentToken | ReadonlyArray>;\n patchTarget?: true;\n style?: Readonly>;\n tag: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:HtmlPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "HtmlPlugin", "runtime": true, "signature": "HtmlPlugin: BasePlugin & Readonly<{\n name: \"html\";\n}> & Readonly> & Readonly<{\n api: Readonly<{\n parse: (source: string, options?: HtmlEditorParseOptions | undefined) => HtmlDocumentParseResult;\n parseSlice: (source: string, options?: HtmlEditorParseOptions | undefined) => HtmlSliceParseResult;\n serialize: (options?: HtmlEditorSerializeOptions) => HtmlSerializeResult;\n }>;\n}>>", "source": null, "typeParameters": [] }, "platejs:HtmlPrepareDiagnosticInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HtmlPrepareDiagnosticInput", "runtime": false, "signature": "type HtmlPrepareDiagnosticInput = HtmlMappingDiagnosticInput & Readonly<{\n /**\n * The element the loss is about. Each element reports its own diagnostic,\n * so two dropped elements with the same message stay two. While the\n * parsed HTML still holds the element, the diagnostic names its place\n * there, so report a loss before removing its element.\n */\n element?: globalThis.Element;\n}>;", "source": null, "typeParameters": [] }, "platejs:HtmlWrapperSpec": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "HtmlWrapperSpec", "runtime": false, "signature": "type HtmlWrapperSpec = Readonly<{\n attributes?: HtmlAttributes;\n style?: Readonly>;\n tag: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:IndentChangeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "IndentChangeOptions", "runtime": false, "signature": "type IndentChangeOptions = {\n nodes?: Omit, 'match'> & {\n match?: NodeMatchPredicate;\n };\n};", "source": null, "typeParameters": [] }, "platejs:IndentDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "IndentDefinition", "runtime": false, "signature": "type IndentDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:IndentPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "IndentPluginState", "runtime": false, "signature": "type IndentPluginState = {\n /** Maximum number of indentation. */\n indentMax: number | null;\n /**\n * Indentation offset used in `(offset * element.indent) + unit`.\n *\n * @default 24\n */\n offset: number;\n /**\n * Indentation unit used in `(offset * element.indent) + unit`.\n *\n * @default 'px'\n */\n unit: string;\n};", "source": null, "typeParameters": [] }, "platejs:InferApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferApi", "runtime": false, "signature": "type InferApi

= P extends {\n api: infer A extends object;\n} ? A : {};", "source": null, "typeParameters": [ "P" ] }, "platejs:InferConflicts": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferConflicts", "runtime": false, "signature": "type InferConflicts

= P extends {\n conflicts?: infer D extends ReadonlyArray;\n} ? D : readonly [];", "source": null, "typeParameters": [ "P" ] }, "platejs:InferDependencies": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferDependencies", "runtime": false, "signature": "type InferDependencies

= P extends {\n dependencies?: infer D extends ReadonlyArray;\n} ? D : readonly [];", "source": null, "typeParameters": [ "P" ] }, "platejs:InferEnabled": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferEnabled", "runtime": false, "signature": "type InferEnabled

= P extends {\n enabled?: infer E;\n} ? IsAny$2 extends true ? boolean : Extract extends never ? boolean : Extract : boolean;", "source": null, "typeParameters": [ "P" ] }, "platejs:InferName": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferName", "runtime": false, "signature": "type InferName

= P extends {\n name: infer N;\n} ? N : never;", "source": null, "typeParameters": [ "P" ] }, "platejs:InferOwnApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferOwnApi", "runtime": false, "signature": "type InferOwnApi

= InferApi

;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs:InferOwnRead": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferOwnRead", "runtime": false, "signature": "type InferOwnRead

= InferRead

;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs:InferOwnUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferOwnUpdate", "runtime": false, "signature": "type InferOwnUpdate

= InferUpdate

;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs:InferPluginReadGroups": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferPluginReadGroups", "runtime": false, "signature": "type InferPluginReadGroups

= { readonly [TName in P['name']]: InferRead

; };", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs:InferPluginStoreState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferPluginStoreState", "runtime": false, "signature": "type InferPluginStoreState

= P extends {\n initialState: infer StoreState;\n} ? StoreState : {};", "source": null, "typeParameters": [ "P" ] }, "platejs:InferPluginUpdateGroups": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferPluginUpdateGroups", "runtime": false, "signature": "type InferPluginUpdateGroups

= { readonly [TName in P['name']]: InferUpdate

; };", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs:InferRead": { "aliases": [], "documentation": "The runtime binds a callable read root to itself, so callers never supply its `this`.", "entrypoint": "platejs", "kind": "type", "name": "InferRead", "runtime": false, "signature": "type InferRead

= P extends {\n read: infer R extends EditorReadMethodTree;\n} ? R extends ((...args: never[]) => unknown) ? OmitThisParameter & { [K in keyof R]: R[K]; } : R : {};", "source": null, "typeParameters": [ "P" ] }, "platejs:InferSelectors": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferSelectors", "runtime": false, "signature": "type InferSelectors

= P extends {\n selectors: infer S;\n} ? S : {};", "source": null, "typeParameters": [ "P" ] }, "platejs:InferTargetPlugins": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferTargetPlugins", "runtime": false, "signature": "type InferTargetPlugins

= string extends P['name'] ? ReadonlyArray : P extends {\n targetPlugins: infer TPlugins extends ReadonlyArray;\n} ? TPlugins : readonly [];", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs:InferUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InferUpdate", "runtime": false, "signature": "type InferUpdate

= P extends {\n update: infer U extends object;\n} ? U : {};", "source": null, "typeParameters": [ "P" ] }, "platejs:InitialValue": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InitialValue", "runtime": false, "signature": "type InitialValue = V | Readonly<{\n children: V;\n meta?: Readonly>;\n records?: EditorDocumentRecords;\n roots?: Readonly>;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:InjectNodeProps": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InjectNodeProps", "runtime": false, "signature": "type InjectNodeProps = BaseInjectProps & {\n query?: (options: NonNullable> & BasePluginContext & {\n nodeProps: GetInjectNodePropsOptions;\n }) => boolean;\n transformClassName?: (options: TransformOptions) => string | undefined;\n transformNodeValue?: (options: TransformOptions) => unknown;\n /** Pure render transform. React hooks are not supported. */\n transformProps?: (options: TransformOptions & {\n props: GetInjectNodePropsReturnType;\n }) => AnyObject | undefined;\n transformStyle?: (options: TransformOptions) => AnyObject;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:InputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InputRule", "runtime": false, "signature": "type InputRule = InsertBreakInputRule | InsertDataInputRule | InsertTextInputRule;", "source": null, "typeParameters": [ "TMatch = unknown", "TEditor = Editor" ] }, "platejs:InputRuleEditor": { "aliases": [], "documentation": "Read-only editor capabilities available while an input rule is selected.", "entrypoint": "platejs", "kind": "type", "name": "InputRuleEditor", "runtime": false, "signature": "type InputRuleEditor = TEditor extends {\n read: infer TRead;\n} ? {\n readonly plugin: InputRulePluginLookup;\n readonly read: { readonly [TKey in keyof TRead]: TRead[TKey]; };\n} : never;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:InputRuleInsertTextOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InputRuleInsertTextOptions", "runtime": false, "signature": "type InputRuleInsertTextOptions = Omit & {\n at?: NodeTarget;\n};", "source": null, "typeParameters": [] }, "platejs:InputRulesConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InputRulesConfig", "runtime": false, "signature": "type InputRulesConfig = Array | InputRuleReference>;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:InputRulesDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InputRulesDefinition", "runtime": false, "signature": "type InputRulesDefinition = InputRulesConfig;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:InputRuleTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InputRuleTarget", "runtime": false, "signature": "type InputRuleTarget = 'insertBreak' | 'insertData' | 'insertText';", "source": null, "typeParameters": [] }, "platejs:inputRuleVeto": { "aliases": [], "documentation": "Contribute an element type inside which no input rule runs, such as a code\nblock whose text must stay as typed.", "entrypoint": "platejs", "kind": "const", "name": "inputRuleVeto", "runtime": true, "signature": "inputRuleVeto: Readonly<{\n id: string;\n of: (value: string) => PluginContribution;\n}>", "source": null, "typeParameters": [] }, "platejs:InsertBreakCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertBreakCommand", "runtime": false, "signature": "type InsertBreakCommand = void;", "source": null, "typeParameters": [] }, "platejs:InsertBreakInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertBreakInputRule", "runtime": false, "signature": "type InsertBreakInputRule = BaseInputRule> & {\n apply: BivariantCallback<[context: InsertBreakInputRuleContext, match: TMatch], InputRuleContinuation | InputRuleDecline | undefined>;\n resolve?: BivariantCallback<[context: InsertBreakInputRuleReadContext], TMatch | undefined>;\n target: 'insertBreak';\n};", "source": null, "typeParameters": [ "TMatch = true", "TEditor = Editor" ] }, "platejs:InsertBreakInputRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertBreakInputRuleContext", "runtime": false, "signature": "type InsertBreakInputRuleContext = InsertBreakInputRuleReadContext & TransformInputRuleContext & {\n next: () => InputRuleContinuation;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:InsertBreakInputRuleReadContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertBreakInputRuleReadContext", "runtime": false, "signature": "type InsertBreakInputRuleReadContext = SelectionInputRuleContext & {\n cause: 'insertBreak';\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:InsertDataInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertDataInputRule", "runtime": false, "signature": "type InsertDataInputRule = BaseInputRule> & {\n apply: BivariantCallback<[context: InsertDataInputRuleContext, match: TMatch], InputRuleContinuation | InputRuleDecline | undefined>;\n mimeTypes?: string[];\n resolve?: BivariantCallback<[context: InsertDataInputRuleReadContext], TMatch | undefined>;\n target: 'insertData';\n};", "source": null, "typeParameters": [ "TMatch = true", "TEditor = Editor" ] }, "platejs:InsertDataInputRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertDataInputRuleContext", "runtime": false, "signature": "type InsertDataInputRuleContext = InsertDataInputRuleReadContext & TransformInputRuleContext & {\n next: (data?: DataTransfer) => InputRuleContinuation;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:InsertDataInputRuleReadContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertDataInputRuleReadContext", "runtime": false, "signature": "type InsertDataInputRuleReadContext = SelectionInputRuleContext & {\n cause: 'insertData';\n data: DataTransfer;\n text: string | null;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:InsertNodesCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertNodesCommand", "runtime": false, "signature": "type InsertNodesCommand = {\n nodes: Descendant | readonly Descendant[];\n options?: CommandTargetOptions>;\n};", "source": null, "typeParameters": [] }, "platejs:InsertSoftBreakCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertSoftBreakCommand", "runtime": false, "signature": "type InsertSoftBreakCommand = void;", "source": null, "typeParameters": [] }, "platejs:InsertTextCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertTextCommand", "runtime": false, "signature": "type InsertTextCommand = {\n options?: CommandTargetOptions;\n text: string;\n};", "source": null, "typeParameters": [] }, "platejs:InsertTextInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertTextInputRule", "runtime": false, "signature": "type InsertTextInputRule = BaseInputRule> & {\n apply: BivariantCallback<[context: InsertTextInputRuleContext, match: TMatch], InputRuleContinuation<{\n options?: InputRuleInsertTextOptions;\n text: string;\n } | undefined> | InputRuleDecline | undefined>;\n resolve?: BivariantCallback<[context: InsertTextInputRuleReadContext], TMatch | undefined>;\n target: 'insertText';\n trigger: readonly string[] | string;\n};", "source": null, "typeParameters": [ "TMatch = true", "TEditor = Editor" ] }, "platejs:InsertTextInputRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertTextInputRuleContext", "runtime": false, "signature": "type InsertTextInputRuleContext = InsertTextInputRuleReadContext & TransformInputRuleContext & {\n next: (text?: string, options?: InputRuleInsertTextOptions) => InputRuleContinuation<{\n options?: InputRuleInsertTextOptions;\n text: string;\n } | undefined>;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:InsertTextInputRuleReadContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "InsertTextInputRuleReadContext", "runtime": false, "signature": "type InsertTextInputRuleReadContext = SelectionInputRuleContext & {\n cause: 'insertText';\n options?: InputRuleInsertTextOptions;\n text: string;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:invertEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "invertEffect", "runtime": true, "signature": "invertEffect: (effect: EditorEffect) => EditorEffect", "source": null, "typeParameters": [] }, "platejs:IS_APPLE": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "IS_APPLE", "runtime": true, "signature": "IS_APPLE: boolean", "source": null, "typeParameters": [] }, "platejs:isDefined": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "isDefined", "runtime": true, "signature": "isDefined: (arg: T | null | undefined) => arg is T", "source": null, "typeParameters": [] }, "platejs:isEditor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "isEditor", "runtime": true, "signature": "isEditor: (value: unknown, options?: EditorIsEditorOptions) => value is AnyEditor", "source": null, "typeParameters": [] }, "platejs:isHotkey": { "aliases": [], "documentation": "Is hotkey?", "entrypoint": "platejs", "kind": "function", "name": "isHotkey", "runtime": true, "signature": "export function isHotkey(\n hotkey: string | readonly string[],\n options?: HotKeyOptions,\n): (event: KeyboardEventLike) => boolean;", "source": null, "typeParameters": [] }, "platejs:isNominalPluginDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "isNominalPluginDescriptor", "runtime": true, "signature": "isNominalPluginDescriptor: (value: unknown) => value is NominalPluginReference", "source": null, "typeParameters": [] }, "platejs:isOrderedList": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "function", "name": "isOrderedList", "runtime": true, "signature": "declare function isOrderedList(element: Element): boolean;", "source": null, "typeParameters": [] }, "platejs:isPluginElementClass": { "aliases": [], "documentation": "Return true when an editor element boundary carries the plugin node class.", "entrypoint": "platejs", "kind": "const", "name": "isPluginElementClass", "runtime": true, "signature": "isPluginElementClass: (element: HTMLElement, type: string) => boolean", "source": null, "typeParameters": [] }, "platejs:isPluginNodeClass": { "aliases": [], "documentation": "Return true when the element carries the plugin node class.", "entrypoint": "platejs", "kind": "const", "name": "isPluginNodeClass", "runtime": true, "signature": "isPluginNodeClass: (element: HTMLElement, type: string) => boolean", "source": null, "typeParameters": [] }, "platejs:isUrl": { "aliases": [], "documentation": "Loosely validate whether a value is a URL string.", "entrypoint": "platejs", "kind": "const", "name": "isUrl", "runtime": true, "signature": "isUrl: (string: unknown) => boolean", "source": null, "typeParameters": [] }, "platejs:ItalicRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "ItalicRules", "runtime": true, "signature": "ItalicRules: {\n markdown: ({ variant, ...options }?: MarkdownMarkRuleOptions & {\n variant?: '*' | '_';\n }) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs:JsonEditorValue": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "JsonEditorValue", "runtime": false, "signature": "type JsonEditorValue = JsonRecord & {\n children: readonly JsonNode[];\n records?: EditorDocumentRecords;\n roots?: Readonly>;\n};", "source": null, "typeParameters": [] }, "platejs:JsonNode": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "JsonNode", "runtime": false, "signature": "type JsonNode = JsonRecord & ({\n children: readonly JsonNode[];\n text?: never;\n} | {\n children?: never;\n text: string;\n});", "source": null, "typeParameters": [] }, "platejs:LeafEdge": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "LeafEdge", "runtime": false, "signature": "type LeafEdge = 'start' | 'end';", "source": null, "typeParameters": [] }, "platejs:LeafPosition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "LeafPosition", "runtime": false, "signature": "type LeafPosition = Readonly<{\n end: number;\n isFirst?: true;\n isLast?: true;\n start: number;\n}>;", "source": null, "typeParameters": [] }, "platejs:LeafStaticProps": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "LeafStaticProps", "runtime": false, "signature": "type LeafStaticProps = ((props: BaseRenderNodeProps & StaticRenderLeafProps) => AnyObject | undefined) | AnyObject;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:LineHeightDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "LineHeightDefinition", "runtime": false, "signature": "type LineHeightDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:LinkAttributes": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "LinkAttributes", "runtime": false, "signature": "type LinkAttributes = Record & {\n className?: string;\n download?: boolean | string;\n href?: string;\n rel?: string;\n target?: string;\n title?: string;\n};", "source": null, "typeParameters": [] }, "platejs:LinkElement": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "LinkElement", "runtime": false, "signature": "type LinkElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs:LinkRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "LinkRules", "runtime": true, "signature": "LinkRules: {\n markdown: (ruleOptions?: InputRuleOptions) => InsertTextInputRule<{\n range: {\n anchor: BasePoint;\n focus: BasePoint;\n };\n text: string;\n url: string;\n }, InternalBaseEditorWithInstalledPlugins>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>>, readonly []>>;\n autolink: (options: ({\n variant: 'break';\n } & NonNullable[0]>) | ({\n variant: 'paste';\n } & NonNullable[0]>) | ({\n variant: 'space';\n } & NonNullable[0]>)) => InsertBreakInputRule>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>>, readonly []>> | InsertDataInputRule<{\n url?: undefined;\n text: string;\n } | {\n text?: undefined;\n url: string;\n }, InternalBaseEditorWithInstalledPlugins>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>>, readonly []>> | InsertTextInputRule>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>>, readonly []>>;\n}", "source": null, "typeParameters": [] }, "platejs:ListElement": { "aliases": [], "documentation": "Element carrying the Indent and List schema capabilities.", "entrypoint": "platejs", "kind": "type", "name": "ListElement", "runtime": false, "signature": "type ListElement = ElementWith;", "source": null, "typeParameters": [] }, "platejs:ListStyle": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ListStyle", "runtime": true, "signature": "ListStyle: {\n readonly ArabicIndic: 'arabic-indic';\n readonly Armenian: 'armenian';\n readonly Bengali: 'bengali';\n readonly Cambodian: 'cambodian';\n readonly Circle: 'circle';\n readonly CjkDecimal: 'cjk-decimal';\n readonly CjkEarthlyBranch: 'cjk-earthly-branch';\n readonly CjkHeavenlyStem: 'cjk-heavenly-stem';\n readonly Decimal: 'decimal';\n readonly DecimalLeadingZero: 'decimal-leading-zero';\n readonly Devanagari: 'devanagari';\n readonly Disc: 'disc';\n readonly DisclosureClosed: 'disclosure-closed';\n readonly DisclosureOpen: 'disclosure-open';\n readonly EthiopicNumeric: 'ethiopic-numeric';\n readonly Georgian: 'georgian';\n readonly Gujarati: 'gujarati';\n readonly Gurmukhi: 'gurmukhi';\n readonly Hebrew: 'hebrew';\n readonly Hiragana: 'hiragana';\n readonly HiraganaIroha: 'hiragana-iroha';\n readonly Inherit: 'inherit';\n readonly Initial: 'initial';\n readonly JapaneseFormal: 'japanese-formal';\n readonly JapaneseInformal: 'japanese-informal';\n readonly Kannada: 'kannada';\n readonly Katakana: 'katakana';\n readonly KatakanaIroha: 'katakana-iroha';\n readonly Khmer: 'khmer';\n readonly KoreanHangulFormal: 'korean-hangul-formal';\n readonly KoreanHanjaFormal: 'korean-hanja-formal';\n readonly KoreanHanjaInformal: 'korean-hanja-informal';\n readonly Lao: 'lao';\n readonly LowerAlpha: 'lower-alpha';\n readonly LowerArmenian: 'lower-armenian';\n readonly LowerGreek: 'lower-greek';\n readonly LowerLatin: 'lower-latin';\n readonly LowerRoman: 'lower-roman';\n readonly Malayalam: 'malayalam';\n readonly Mongolian: 'mongolian';\n readonly Myanmar: 'myanmar';\n readonly None: 'none';\n readonly Oriya: 'oriya';\n readonly Persian: 'persian';\n readonly SimpChineseFormal: 'simp-chinese-formal';\n readonly SimpChineseInformal: 'simp-chinese-informal';\n readonly Square: 'square';\n readonly Tamil: 'tamil';\n readonly Telugu: 'telugu';\n readonly Thai: 'thai';\n readonly Tibetan: 'tibetan';\n readonly TradChineseFormal: 'trad-chinese-formal';\n readonly TradChineseInformal: 'trad-chinese-informal';\n readonly UpperAlpha: 'upper-alpha';\n readonly UpperArmenian: 'upper-armenian';\n readonly UpperLatin: 'upper-latin';\n readonly UpperRoman: 'upper-roman';\n}", "source": null, "typeParameters": [] }, "platejs:ListType": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ListType", "runtime": true, "signature": "ListType: {\n readonly Bulleted: 'bulleted';\n readonly Numbered: 'numbered';\n readonly Task: 'task';\n}", "source": null, "typeParameters": [] }, "platejs:locateAt": { "aliases": [], "documentation": "A `txLocate` locate for a method whose argument at `index` is options\nholding targets under `keys`, `at` by default: it places each target\ngiven, and the method does nothing when one has no place.", "entrypoint": "platejs", "kind": "const", "name": "locateAt", "runtime": true, "signature": "locateAt: (index: TIndex, ...keys: TKey[]) => >>; }>(args: TArgs, place: EditorCommandPlace) => TArgs | null", "source": null, "typeParameters": [] }, "platejs:Location": { "aliases": [], "documentation": "The `Location` interface is a union of the ways to refer to a specific\nlocation in a document: paths, points or ranges.\n\nMethods will often accept a `Location` instead of requiring only a `Path`,\n`Point` or `Range`. This eliminates the need for developers to manage\nconverting between the different interfaces in their own code base.", "entrypoint": "platejs", "kind": "type", "name": "Location", "runtime": false, "signature": "type Location = Path | Point | Range;", "source": null, "typeParameters": [] }, "platejs:LocationApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "LocationApi", "runtime": true, "signature": "LocationApi: Readonly", "source": null, "typeParameters": [] }, "platejs:LocationInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "LocationInterface", "runtime": false, "signature": "interface LocationInterface {\n /**\n * Check if a value implements the `Location` interface.\n */\n isLocation: (value: unknown) => value is Location;\n /**\n * Check if a location is a `Path`.\n */\n isPath: (at: Location) => at is Path;\n /**\n * Check if a location is a `Point`.\n */\n isPoint: (at: Location) => at is Point;\n /**\n * Check if a location is a `Range`.\n */\n isRange: (at: Location) => at is Range;\n /**\n * Differentiate between a normal `Location` and a `Span`.\n */\n isSpan: (at: unknown) => at is Span;\n}", "source": null, "typeParameters": [] }, "platejs:LogLevel": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "LogLevel", "runtime": false, "signature": "type LogLevel = 'error' | 'info' | 'log' | 'warn';", "source": null, "typeParameters": [] }, "platejs:mapEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "mapEffect", "runtime": true, "signature": "mapEffect: (effect: EditorEffect, changes: Parameters['map']>[1]) => EditorEffect | undefined", "source": null, "typeParameters": [] }, "platejs:MarkComboRules": { "aliases": [], "documentation": "Markdown rules that atomically apply combinations of independent marks. By\ndefault they run before the single-mark rules whose delimiters begin each\ncombo's runs.", "entrypoint": "platejs", "kind": "const", "name": "MarkComboRules", "runtime": true, "signature": "MarkComboRules: {\n markdown: ({ variant, priority, ...options }: MarkdownMarkRuleOptions & {\n variant: keyof typeof MARK_COMBOS;\n }) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs:MarkdownDecodeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarkdownDecodeContext", "runtime": false, "signature": "type MarkdownDecodeContext = MarkdownContext & Readonly<{\n build: (node: RootContent | Node, marks?: MarkdownMarks) => Descendant[];\n /** One paragraph's inline content, or `null` when it is not one paragraph. */\n caption: (children: readonly Descendant[]) => readonly Descendant[] | null;\n decode: (nodes: readonly RootContent[], marks?: MarkdownMarks) => Descendant[];\n decodeNodes: (nodes: readonly RootContent[], marks?: MarkdownMarks) => Descendant[];\n /**\n * Read the phrasing of a GFM table cell back into blocks: the reverse of\n * `encodeLine`. Inline runs become paragraphs, block elements such as\n * images stay blocks, and an inline `

    ` or `
      ` run reads as a list\n * through the installed list mapping. Without one, or when every list\n * mapping declines the run, it stays literal text; a refusal drops it\n * with a report, as it does for a top-level list.\n */\n decodeLine: (nodes: readonly PhrasingContent[], marks?: MarkdownMarks) => Descendant[];\n marks: MarkdownMarks;\n node: TNode;\n /** The node before this one among its Markdown siblings. */\n previousSibling: RootContent | null;\n /** Attributes of `tag` (default: this node) decoded for the target type. */\n readTagAttributes: (tag?: MarkdownTagNode) => MarkdownTagAttributeView;\n refuse: (message: string) => MarkdownRefusal;\n report: (diagnostic: MarkdownMappingDiagnosticInput | MarkdownOmittedPropertyInput) => void;\n serializeUnknown: (node: MdxJsxFlowElement) => string;\n}>;", "source": null, "typeParameters": [ "TNode extends Node = Node", "D extends AnyBasePluginDefinition = AnyBasePluginDefinition" ] }, "platejs:MarkdownEncodeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarkdownEncodeContext", "runtime": false, "signature": "type MarkdownEncodeContext = MarkdownContext & Omit & Readonly<{\n report: (diagnostic: MarkdownMappingDiagnosticInput) => void;\n /**\n * The blocks of the content root that `slot` names on `node`, in stored\n * order. Serializing reports each document root no mapping read.\n */\n contentRoot: (slot: ElementContentRootSlot>) => readonly Descendant[];\n encode: (nodes: readonly Descendant[]) => RootContent[];\n encodeBlocks: (nodes: readonly Descendant[]) => BlockContent[];\n encodeFlow: (nodes: readonly Descendant[]) => Array;\n encodePhrasing: (nodes: readonly Descendant[]) => PhrasingContent[];\n /**\n * Encode block children onto one line of phrasing for a GFM table cell.\n * `encodePhrasing` encodes inline nodes; this encodes blocks. Lists become\n * inline `
        `, `
          ` and `
        1. ` HTML, line breaks become `
          `,\n * and a `
          ` joins paragraphs, with a lossy warning. Headings and\n * quotes keep their inline content and code and math blocks keep their\n * text, each with a lossy warning. A block with no inline form, such as a\n * horizontal rule, is dropped and reported under the loss policy. The\n * output never holds a raw line ending or a `|` that ends the cell. In\n * inline math, `|` becomes `\\vert` and `\\|` becomes `\\Vert`, a `|` in a\n * text-mode group such as `\\text{…}` becomes `\\textbar{}`, and a `\\verb`\n * delimited by `|` takes another delimiter; a `|` becomes `%7C` in an\n * autolink and `|` in raw HTML. Inline math with a `|` or `\\|` the\n * writer cannot place, such as one in another command's argument, an\n * array column spec or `\\verb` text, becomes text, and so does inline code\n * holding `\\|`. Each kind of rewrite reports one lossy warning. It reads\n * back as blocks only through `decodeLine`.\n */\n encodeLine: (nodes: readonly Descendant[]) => PhrasingContent[];\n isFlow: (node: RootContent) => node is BlockContent | DefinitionContent;\n isPhrasing: (node: RootContent) => node is PhrasingContent;\n /**\n * Encode property values as tag attributes for this node's type, under\n * the mapping's `attributes` names. A property counts as represented when\n * the returned output keeps its attribute.\n */\n encodeAttributes: (properties: Readonly>) => MdxJsxAttribute[];\n /**\n * Encode `node` as a mapping without `encode` writes its tag: this\n * plugin's properties under their `attributes` names, then other plugins'\n * non-metadata properties by key, except those the enclosing Markdown\n * structure writes (list topology). Claims the properties it writes, so\n * return the attributes in your output.\n */\n encodeNodeAttributes: () => MdxJsxAttribute[];\n node: TNode;\n /**\n * Claim that the returned output represents these properties of `node`.\n * Unclaimed content properties are reported as omitted. Claims count only\n * when the encoder returns output.\n */\n preserve: (...keys: ReadonlyArray>) => void;\n preserveEmptyParagraphs?: boolean;\n readPlainInline: (children: readonly Descendant[]) => string | null;\n refuse: (message: string) => MarkdownRefusal;\n resourceLink: boolean;\n}>;", "source": null, "typeParameters": [ "TNode extends Descendant = Descendant", "D extends AnyBasePluginDefinition = AnyBasePluginDefinition" ] }, "platejs:MarkdownMarks": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarkdownMarks", "runtime": false, "signature": "type MarkdownMarks = Readonly>;", "source": null, "typeParameters": [] }, "platejs:MarkdownMarkWrapContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarkdownMarkWrapContext", "runtime": false, "signature": "type MarkdownMarkWrapContext = MarkdownEncodeContext, D> & Readonly<{\n value: PluginFormatTextValue;\n}>;", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition = AnyBasePluginDefinition" ] }, "platejs:MarkdownMarkWrapper": { "aliases": [], "documentation": "A childless inline wrapper. Markdown supplies the encoded text children.", "entrypoint": "platejs", "kind": "type", "name": "MarkdownMarkWrapper", "runtime": false, "signature": "type MarkdownMarkWrapper = Readonly<{\n type: 'delete';\n}> | Readonly<{\n type: 'emphasis';\n}> | Readonly<{\n attributes?: readonly MdxJsxAttribute[];\n name: string;\n type: 'mdxJsxTextElement';\n}> | Readonly<{\n type: 'strong';\n}>;", "source": null, "typeParameters": [] }, "platejs:MarkdownNodeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarkdownNodeKind", "runtime": false, "signature": "type MarkdownNodeKind = keyof MarkdownNodeKinds;", "source": null, "typeParameters": [] }, "platejs:MarkdownNodeKinds": { "aliases": [], "documentation": "Standard MDAST node kinds a mapping can select with `node`.", "entrypoint": "platejs", "kind": "type", "name": "MarkdownNodeKinds", "runtime": false, "signature": "type MarkdownNodeKinds = {\n blockquote: Blockquote;\n break: Break;\n code: Code;\n delete: Delete;\n emphasis: Emphasis;\n footnoteDefinition: FootnoteDefinition;\n footnoteReference: FootnoteReference;\n heading: Heading;\n html: Html;\n image: Image;\n inlineCode: InlineCode;\n inlineMath: InlineMath;\n link: Link;\n list: List;\n listItem: ListItem;\n math: Math;\n paragraph: Paragraph;\n strong: Strong;\n table: Table;\n tableCell: TableCell;\n tableRow: TableRow;\n text: Text;\n thematicBreak: ThematicBreak;\n};", "source": null, "typeParameters": [] }, "platejs:MarkdownNodeMapping": { "aliases": [], "documentation": "Schema-bound Markdown conversion owned by one feature plugin. A `tag`\nmapping without `decode` and `encode` is derived from the schema: the\nruntime builds the node, converts the plugin's own properties as attributes\nand traverses children by the content model. Marks derive the same way from\n`tag`, `node`, `value` and `style`.", "entrypoint": "platejs", "kind": "type", "name": "MarkdownNodeMapping", "runtime": false, "signature": "type MarkdownNodeMapping = EncodeOnlyMarkdownNodeMapping | NodeMarkdownNodeMapping | TagMarkdownNodeMapping;", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition" ] }, "platejs:MarkdownNodeMappingInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarkdownNodeMappingInput", "runtime": false, "signature": "type MarkdownNodeMappingInput = MarkdownNodeMapping | readonly [MarkdownNodeMapping, ...Array>];", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition" ] }, "platejs:MarkdownPluginRegistry": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarkdownPluginRegistry", "runtime": false, "signature": "type MarkdownPluginRegistry = PluginFormatRegistry;", "source": null, "typeParameters": [] }, "platejs:MarkdownRefusal": { "aliases": [], "documentation": "Returned by `refuse()`: the node cannot be represented, so conversion reports\n`markdown-unsupported-node` under `lossPolicy` instead of throwing.", "entrypoint": "platejs", "kind": "type", "name": "MarkdownRefusal", "runtime": false, "signature": "type MarkdownRefusal = Readonly<{\n [markdownRefusal]: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:MarkdownTagAttributeView": { "aliases": [], "documentation": "Tag attributes as written, and the ones that decode to schema properties.", "entrypoint": "platejs", "kind": "type", "name": "MarkdownTagAttributeView", "runtime": false, "signature": "type MarkdownTagAttributeView = Readonly<{\n attributes: Readonly>;\n properties: Readonly>;\n}>;", "source": null, "typeParameters": [] }, "platejs:MarkdownTagNode": { "aliases": [], "documentation": "A registered Plate tag (`…`), in the established\nMDAST shape for JSX-like elements.", "entrypoint": "platejs", "kind": "type", "name": "MarkdownTagNode", "runtime": false, "signature": "type MarkdownTagNode = MdxJsxFlowElement | MdxJsxTextElement;", "source": null, "typeParameters": [] }, "platejs:MarkInputRuleConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarkInputRuleConfig", "runtime": false, "signature": "type MarkInputRuleConfig = BaseInputRule & {\n end?: string;\n mark?: PluginReference | string;\n marks?: ReadonlyArray;\n start: string;\n trim?: 'allow' | 'reject';\n trigger: string;\n value?: EditorJsonValue;\n};", "source": null, "typeParameters": [] }, "platejs:MarkInputRuleMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarkInputRuleMatch", "runtime": false, "signature": "type MarkInputRuleMatch = {\n afterStartMatchPoint: Point$1;\n beforeEndMatchPoint: Point$1;\n beforeStartMatchPoint: Point$1;\n end: string | undefined;\n};", "source": null, "typeParameters": [] }, "platejs:MarkKeysOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarkKeysOf", "runtime": false, "signature": "type MarkKeysOf = {} extends MarksOf ? unknown : keyof MarksOf;", "source": null, "typeParameters": [ "N" ] }, "platejs:MarksIn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarksIn", "runtime": false, "signature": "type MarksIn = MarksOf;", "source": null, "typeParameters": [ "V extends readonly unknown[]" ] }, "platejs:MarksOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MarksOf", "runtime": false, "signature": "type MarksOf = Simplify>>>;", "source": null, "typeParameters": [ "N" ] }, "platejs:MatchBlockFenceOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MatchBlockFenceOptions", "runtime": false, "signature": "type MatchBlockFenceOptions = {\n block?: PluginReference | string;\n fence: string;\n resolveMatch?: (args: {\n fence: string;\n path: Path;\n range: Range;\n text: string;\n }) => TMatch | undefined;\n};", "source": null, "typeParameters": [ "TMatch = BlockFenceInputRuleMatch" ] }, "platejs:matchBlockStart": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "matchBlockStart", "runtime": true, "signature": "matchBlockStart: (context: TContext, config: MatchBlockStartOptions) => (BlockStartInputRuleMatch & TMatch) | undefined", "source": null, "typeParameters": [] }, "platejs:MatchBlockStartOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MatchBlockStartOptions", "runtime": false, "signature": "type MatchBlockStartOptions = {\n match: RegExp | string | ((context: TContext) => RegExp | string | undefined);\n resolveMatch?: (args: {\n match: RegExpMatchArray | string;\n range: Range;\n text: string;\n }) => TMatch | undefined;\n};", "source": null, "typeParameters": [ "TMatch extends object = {}", "TContext extends SelectionInputRuleContext = SelectionInputRuleContext" ] }, "platejs:matchDelimitedInline": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "matchDelimitedInline", "runtime": true, "signature": "matchDelimitedInline: (context: SelectionInputRuleContext, { boundaryRe, close, followRe, open, requireClosingDelimiter, rejectRepeatedOpen, trim }: MatchDelimitedInlineOptions) => DelimitedInlineInputRuleMatch | undefined", "source": null, "typeParameters": [] }, "platejs:MatchDelimitedInlineOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MatchDelimitedInlineOptions", "runtime": false, "signature": "type MatchDelimitedInlineOptions = {\n boundaryRe?: RegExp;\n close?: string;\n followRe?: RegExp;\n open: string;\n rejectRepeatedOpen?: boolean;\n requireClosingDelimiter?: boolean;\n trim?: 'allow' | 'reject';\n};", "source": null, "typeParameters": [] }, "platejs:MaximizeMode": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MaximizeMode", "runtime": false, "signature": "type MaximizeMode = RangeMode | 'all';", "source": null, "typeParameters": [] }, "platejs:mergeDeepToNodes": { "aliases": [], "documentation": "Recursively merge a source object to children nodes with a query.", "entrypoint": "platejs", "kind": "const", "name": "mergeDeepToNodes", "runtime": true, "signature": "mergeDeepToNodes: (options: Omit, 'apply'>) => void", "source": null, "typeParameters": [] }, "platejs:MergeRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MergeRules", "runtime": false, "signature": "type MergeRules = {\n /**\n * Whether to remove the node when it's empty. A join into an empty node in a\n * required prefix slot, such as a title, keeps that node and moves the next\n * sibling's content into it whatever this returns, when that content fits\n * the slot as it stands, no required block is left to build and the update\n * has not moved the node into its slot or replaced it. That exception also\n * needs the sibling to hold only text and inlines and own no content root,\n * neither node to be a void, an atom or read-only, and an empty sibling to\n * carry the node's text properties. Backspace still reads this rule before\n * that merge. With `false` it merges at once, and with `true` the sibling's\n * delete rules run first. `AuthoredPlugin` turns this exception off.\n */\n removeEmpty?: RuleDecision;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:MoveSelectionCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MoveSelectionCommand", "runtime": false, "signature": "type MoveSelectionCommand = {\n options?: SelectionMoveOptions;\n};", "source": null, "typeParameters": [] }, "platejs:MoveUnit": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "MoveUnit", "runtime": false, "signature": "type MoveUnit = 'offset' | 'character' | 'word' | 'line';", "source": null, "typeParameters": [] }, "platejs:NamedEditorSchemaIdentity": { "aliases": [], "documentation": "Stable application-owned lineage plus its exact semantic fingerprint.", "entrypoint": "platejs", "kind": "type", "name": "NamedEditorSchemaIdentity", "runtime": false, "signature": "type NamedEditorSchemaIdentity = Readonly<{\n fingerprint: string;\n id: string;\n kind: 'named';\n version: number;\n}>;", "source": null, "typeParameters": [] }, "platejs:NamedRootKey": { "aliases": [], "documentation": "A named secondary root. Literal `main` is never a public root argument.", "entrypoint": "platejs", "kind": "type", "name": "NamedRootKey", "runtime": false, "signature": "type NamedRootKey = TRoot extends 'main' ? never : TRoot;", "source": null, "typeParameters": [ "TRoot extends RootKey = RootKey" ] }, "platejs:nanoid": { "aliases": [], "documentation": "Generate secure URL-friendly unique ID.\n\nBy default, the ID will have 21 symbols to have a collision probability\nsimilar to UUID v4.\n\n```js\nimport { nanoid } from 'nanoid'\nmodel.id = nanoid() //=> \"Uakgb_J5m9g-0JDMbcJqL\"\n```", "entrypoint": "platejs", "kind": "function", "name": "nanoid", "runtime": true, "signature": "export function nanoid(size?: number): Type", "source": null, "typeParameters": [ "Type extends string" ] }, "platejs:Node": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "Node", "runtime": false, "signature": "type Node = AnyPluginEditor$1 | Element | Text;", "source": null, "typeParameters": [] }, "platejs:NodeAncestorsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeAncestorsOptions", "runtime": false, "signature": "interface NodeAncestorsOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "NodeApi", "runtime": true, "signature": "NodeApi: Readonly", "source": null, "typeParameters": [] }, "platejs:NodeChildEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeChildEntry", "runtime": false, "signature": "type NodeChildEntry = NodeEntry>;", "source": null, "typeParameters": [ "N = Node" ] }, "platejs:NodeChildrenOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeChildrenOptions", "runtime": false, "signature": "interface NodeChildrenOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeComponent": { "aliases": [], "documentation": "Renders a component for editor nodes declared by `schema.element` or\n`schema.mark` that match this plugin's type. This is the primary render\nmethod for plugin-specific node content.", "entrypoint": "platejs", "kind": "type", "name": "NodeComponent", "runtime": false, "signature": "type NodeComponent = ((props: T) => any) | (new (props: T) => any) | keyof HTMLElementTagNameMap;", "source": null, "typeParameters": [ "T = any" ] }, "platejs:NodeDescendantsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeDescendantsOptions", "runtime": false, "signature": "interface NodeDescendantsOptions {\n from?: Path;\n to?: Path;\n reverse?: boolean;\n pass?: (node: NodeEntry) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeDuplicateOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeDuplicateOptions", "runtime": false, "signature": "type NodeDuplicateOptions = Pick;", "source": null, "typeParameters": [] }, "platejs:NodeElementsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeElementsOptions", "runtime": false, "signature": "interface NodeElementsOptions {\n from?: Path;\n to?: Path;\n reverse?: boolean;\n pass?: (node: NodeEntry) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeEntry": { "aliases": [], "documentation": "`NodeEntry` objects are returned when iterating over the nodes in a\ndocument tree. They consist of the node and its `Path` relative to the root\nnode in the document.", "entrypoint": "platejs", "kind": "type", "name": "NodeEntry", "runtime": false, "signature": "type NodeEntry = readonly [T, Path];", "source": null, "typeParameters": [ "T = Node" ] }, "platejs:NodeEntryIn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeEntryIn", "runtime": false, "signature": "type NodeEntryIn = NodeEntry>;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs:NodeEntryOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeEntryOf", "runtime": false, "signature": "type NodeEntryOf = NodeEntry>;", "source": null, "typeParameters": [ "E" ] }, "platejs:NodeFindTextRangesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeFindTextRangesOptions", "runtime": false, "signature": "interface NodeFindTextRangesOptions {\n /**\n * Search only the node at this path and its descendants. The path must\n * exist. Ranges keep their paths from the root.\n */\n at?: Path;\n /**\n * Search only content text of an editor, read view or transaction root:\n * text a capability keeps without counting it as content, such as struck\n * suggestions, is skipped, and a match may run across it.\n */\n content?: boolean;\n /**\n * Match string queries by exact case. Regular expressions use their own\n * flags.\n */\n caseSensitive?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeHasPropsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeHasPropsOptions", "runtime": false, "signature": "interface NodeHasPropsOptions {\n ignore?: (key: string, value: unknown, node: Node) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeIn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeIn", "runtime": false, "signature": "type NodeIn = Element[] extends V ? Node : NodeOf;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs:NodeInsertNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeInsertNodesOptions", "runtime": false, "signature": "interface NodeInsertNodesOptions {\n at?: Location;\n mode?: RangeMode;\n hanging?: boolean;\n select?: boolean;\n split?: NodeInsertSplitOptions;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "TSplit extends Node = Node", "TType extends NodeTypeSelector | undefined = undefined" ] }, "platejs:NodeInsertOptions": { "aliases": [], "documentation": "Broad insertion options for package APIs that forward a stored selector.", "entrypoint": "platejs", "kind": "type", "name": "NodeInsertOptions", "runtime": false, "signature": "type NodeInsertOptions = Omit, 'split'> & {\n split?: Omit['split']>, 'type'> & {\n type?: PluginNodeTypeSelector;\n };\n};", "source": null, "typeParameters": [] }, "platejs:NodeInsertSplitOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeInsertSplitOptions", "runtime": false, "signature": "interface NodeInsertSplitOptions {\n match?: NodeMatch;\n type?: TType;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = undefined" ] }, "platejs:NodeInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeInterface", "runtime": false, "signature": "interface NodeInterface {\n /**\n * Get the node at a specific path, asserting that it's an ancestor node.\n */\n ancestor: (root: Node, path: Path) => Ancestor;\n /**\n * Return a generator of all the ancestor nodes above a specific path.\n *\n * By default the order is top-down, from highest to lowest ancestor in\n * the tree, but you can pass the `reverse: true` option to go bottom-up.\n */\n ancestors: (root: Node, path: Path, options?: NodeAncestorsOptions) => Generator, void, undefined>;\n /**\n * Get the child of a node at a specific index.\n */\n child: (root: Node, index: number) => Descendant;\n /**\n * Iterate over the children of a node at a specific path.\n */\n children: (root: Node, path: Path, options?: NodeChildrenOptions) => Generator, void, undefined>;\n /**\n * Get an entry for the common ancesetor node of two paths.\n */\n common: (root: Node, path: Path, another: Path) => NodeEntry;\n /**\n * Get the node at a specific path, asserting that it's a descendant node.\n */\n descendant: (root: Node, path: Path) => Descendant;\n /**\n * Return a generator of all the descendant node entries inside a root node.\n */\n descendants: (root: Node, options?: NodeDescendantsOptions) => Generator, void, undefined>;\n /**\n * Return a generator of all the element nodes inside a root node. Each iteration\n * will return an `ElementEntry` tuple consisting of `[Element, Path]`. If the\n * root node is an element it will be included in the iteration as well.\n */\n elements: (root: Node, options?: NodeElementsOptions) => Generator;\n /**\n * Extract props from a Node.\n */\n extractProps: (node: Node) => NodeProps;\n /**\n * Check if a node has props after the caller's metadata policy is applied.\n */\n hasProps: (node: Node, options?: NodeHasPropsOptions) => boolean;\n /**\n * Get the first leaf node entry in a root node from a path.\n */\n first: (root: Node, path: Path) => NodeEntry;\n /**\n * Get the sliced fragment represented by a range inside a root node.\n */\n fragment: (root: Ancestor, range: Range) => readonly Descendant[];\n /**\n * Find ranges for a text query inside text runs. Editor, read view and\n * transaction roots use their schema to join text through inline\n * descendants without crossing block boundaries. String queries are\n * literal; use a regular expression or callback for custom matching.\n */\n findTextRanges: (root: Node | NodeTextRangeRoot | NodeTextRangeView, query: NodeTextRangeQuery, options?: NodeFindTextRangesOptions) => readonly Range[];\n /**\n * Get the descendant node referred to by a specific path. If the path is an\n * empty array, it refers to the root node itself.\n */\n get: (root: Node, path: Path) => Node;\n /**\n * Similar to get, but returns undefined if the node does not exist.\n */\n getIf: (root: Node, path: readonly number[]) => Node | undefined;\n /**\n * Check if a descendant node exists at a specific path.\n */\n has: (root: Node, path: Path) => boolean;\n /**\n * Check if a node is an `Editor` or `Element` object.\n */\n isAncestor: (node: Node) => node is Ancestor;\n /**\n * Check if a value is an `Element` or `Text` node.\n */\n isDescendant: (value: unknown) => value is Descendant;\n /**\n * Check if a node is an `Editor` object.\n */\n isEditor: (value: unknown) => value is AnyPluginEditor$1;\n /**\n * Check if a node is an `Element` object.\n */\n isElement: (value: unknown) => value is Element;\n /**\n * Check if a value implements the `Node` interface.\n */\n isNode: (value: unknown, options?: NodeIsNodeOptions) => value is Node;\n /**\n * Check if a value is a list of `Node` objects.\n */\n isNodeList: (value: unknown, options?: NodeIsNodeOptions) => value is readonly Node[];\n /**\n * Check if a node is an `Text` object.\n */\n isText: (value: unknown) => value is Text;\n /**\n * Get the last leaf node entry in a root node from a path.\n */\n last: (root: Node, path: Path) => NodeEntry;\n /**\n * Get the node at a specific path, ensuring it's a leaf text node.\n */\n leaf: (root: Node, path: Path) => Text;\n /**\n * Return a generator of the in a branch of the tree, from a specific path.\n *\n * By default the order is top-down, from highest to lowest node in the tree,\n * but you can pass the `reverse: true` option to go bottom-up.\n */\n levels: (root: Node, path: Path, options?: NodeLevelsOptions) => Generator;\n /** Check a node against a predicate. */\n matches: {\n (node: Node, match: (node: Node, path: Path) => node is T, path?: Path): node is T;\n (node: T, match: NodeMatch, path?: Path): boolean;\n };\n /**\n * Return a generator of all the node entries of a root node. Each entry is\n * returned as a `[Node, Path]` tuple, with the path referring to the node's\n * position inside the root node.\n */\n nodes: (root: Node, options?: NodeNodesOptions) => Generator;\n /**\n * Get the parent of a node at a specific path.\n */\n parent: (root: Node, path: Path) => Ancestor;\n /**\n * Get the concatenated text string of a node's content.\n *\n * Note that this will not include spaces or line breaks between block nodes.\n * It is not a user-facing string, but a string for performing offset-related\n * computations for a node.\n */\n string: (node: Node) => string;\n /**\n * Return a generator of all leaf text nodes in a root node.\n */\n texts: (root: Node, options?: NodeTextsOptions) => Generator, void, undefined>;\n}", "source": null, "typeParameters": [] }, "platejs:NodeIsNodeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeIsNodeOptions", "runtime": false, "signature": "interface NodeIsNodeOptions {\n deep?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeKey": { "aliases": [], "documentation": "Opaque identity for one descendant inside one editor runtime.", "entrypoint": "platejs", "kind": "type", "name": "NodeKey", "runtime": false, "signature": "type NodeKey = string & {\n readonly '~nodeKey': true;\n};", "source": null, "typeParameters": [] }, "platejs:NodeLevelsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeLevelsOptions", "runtime": false, "signature": "interface NodeLevelsOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeLiftNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeLiftNodesOptions", "runtime": false, "signature": "interface NodeLiftNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:NodeMatch": { "aliases": [], "documentation": "Additional conditions applied after structural node selection.", "entrypoint": "platejs", "kind": "type", "name": "NodeMatch", "runtime": false, "signature": "type NodeMatch = (node: T, path: Path) => boolean;", "source": null, "typeParameters": [ "T extends Node = Node" ] }, "platejs:NodeMatchPredicate": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeMatchPredicate", "runtime": false, "signature": "type NodeMatchPredicate = ((node: Node, path: Path) => node is T) | ((node: Node, path: Path) => boolean);", "source": null, "typeParameters": [ "T extends Node = Node" ] }, "platejs:NodeMergeNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeMergeNodesOptions", "runtime": false, "signature": "interface NodeMergeNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: RangeMode;\n hanging?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:NodeMoveNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeMoveNodesOptions", "runtime": false, "signature": "interface NodeMoveNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n to: Path;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:NodeMutationMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeMutationMethods", "runtime": false, "signature": "interface NodeMutationMethods {\n /**\n * Insert nodes in the editor\n * at the specified location or (if not defined) the current selection or (if not defined) the end of the document.\n */\n insertNodes: {\n , const TType extends NodeTypeSelector | undefined>(editor: Editor, nodes: T | readonly T[], options: NodeInsertNodesOptions, TType> & {\n split: NodeInsertNodesOptions, TType>['split'] & {\n type: TType;\n };\n }): void;\n >(editor: Editor, nodes: T | readonly T[], options?: NodeInsertNodesOptions>): void;\n };\n /**\n * Lift nodes at a specific location upwards in the document tree, splitting\n * their parent in two if necessary.\n */\n liftNodes: {\n (editor: Editor, options: NodeLiftNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeLiftNodesOptions>>(editor: Editor, options?: OptionalSelectorOptions): void;\n };\n /**\n * Merge a node at a location with the previous node of the same depth,\n * removing any empty containing nodes after the merge if necessary.\n */\n mergeNodes: {\n (editor: Editor, options: NodeMergeNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeMergeNodesOptions>>(editor: Editor, options?: OptionalSelectorOptions): void;\n };\n /**\n * Move the nodes at a location to a new location.\n */\n moveNodes: {\n (editor: Editor, options: NodeMoveNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeMoveNodesOptions>>(editor: Editor, options: OptionalSelectorOptions): void;\n };\n /**\n * Remove the nodes at a specific location in the document.\n */\n removeNodes: {\n (editor: Editor, options: NodeRemoveNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeRemoveNodesOptions>>(editor: Editor, options?: OptionalSelectorOptions): void;\n };\n /** Replace a range of children under an ancestor node atomically. */\n replaceChildren: (editor: Editor, children: ReadonlyArray>, options: NodeReplaceChildrenOptions) => void;\n /**\n * Set new properties on the nodes at a location.\n */\n setNodes: {\n (editor: Editor, props: Partial>>, options: NodeSetNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeSetNodesOptions>>(editor: Editor, props: Partial>>, options?: OptionalSelectorOptions): void;\n };\n /**\n * Split the nodes at a specific location.\n */\n splitNodes: {\n (editor: Editor, options: NodeSplitNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeSplitNodesOptions>>(editor: Editor, options?: OptionalSelectorOptions): void;\n };\n /**\n * Unset properties on the nodes at a location.\n */\n unsetNodes: {\n (editor: Editor, props: string | readonly string[], options: NodeUnsetNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeUnsetNodesOptions>>(editor: Editor, props: string | readonly string[], options?: OptionalSelectorOptions): void;\n };\n /**\n * Unwrap the nodes at a location from a parent node, splitting the parent if\n * necessary to ensure that only the content in the range is unwrapped.\n */\n unwrapNodes: {\n (editor: Editor, options: NodeUnwrapNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeUnwrapNodesOptions>>(editor: Editor, options?: OptionalSelectorOptions): void;\n };\n /**\n * Wrap the nodes at a location in a new container node, splitting the edges\n * of the range first to ensure that only the content in the range is wrapped.\n */\n wrapNodes: {\n (editor: Editor, element: ElementIn, options: NodeWrapNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeWrapNodesOptions>>(editor: Editor, element: ElementIn, options?: OptionalSelectorOptions): void;\n };\n}", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:NodeNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeNodesOptions", "runtime": false, "signature": "interface NodeNodesOptions {\n from?: Path;\n to?: Path;\n reverse?: boolean;\n pass?: (entry: NodeEntry) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeOf", "runtime": false, "signature": "type NodeOf = N | ElementOf | TextOf;", "source": null, "typeParameters": [ "N" ] }, "platejs:NodeProps": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeProps", "runtime": false, "signature": "type NodeProps = N extends {\n children: unknown;\n} ? Omit : N extends {\n text: string;\n} ? Omit : Omit;", "source": null, "typeParameters": [ "N = Node" ] }, "platejs:NodeRemoveNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeRemoveNodesOptions", "runtime": false, "signature": "interface NodeRemoveNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n hanging?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:NodeReplaceChildrenOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeReplaceChildrenOptions", "runtime": false, "signature": "interface NodeReplaceChildrenOptions {\n at: Path;\n count?: number;\n index?: number;\n newSelection?: Selection;\n /** Preserve runtime keys for positionally corresponding replacements. */\n preserveKeys?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeSelection": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeSelection", "runtime": false, "signature": "type NodeSelection = Readonly<{\n /** First exact selected node in the user's selection direction. */\n anchorPath: Path;\n /** Active exact selected node in the user's selection direction. */\n focusPath: Path;\n kind: 'node';\n /**\n * Named root containing every selected path. Without it, a stored selection\n * is in the primary root, and a target is in the root of the editor or view\n * that reads it.\n */\n root?: NamedRootKey;\n}> & (Readonly<{\n mode: 'block';\n paths: readonly [Path, ...Path[]];\n}> | Readonly<{\n mode: 'object';\n paths: readonly [Path];\n}>);", "source": null, "typeParameters": [] }, "platejs:NodeSelectionMode": { "aliases": [], "documentation": "How a node selection was made: `block` for block gestures such as a marquee,\na drag handle or block arrows, `object` for picking one object itself, such\nas clicking an image.", "entrypoint": "platejs", "kind": "type", "name": "NodeSelectionMode", "runtime": false, "signature": "type NodeSelectionMode = 'block' | 'object';", "source": null, "typeParameters": [] }, "platejs:NodeSetNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeSetNodesOptions", "runtime": false, "signature": "interface NodeSetNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n hanging?: boolean;\n marks?: boolean;\n split?: boolean;\n voids?: boolean;\n compare?: PropsCompare;\n merge?: PropsMerge;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:NodeSplitNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeSplitNodesOptions", "runtime": false, "signature": "interface NodeSplitNodesOptions {\n at?: Location;\n match?: NodeMatch;\n type?: TType;\n mode?: RangeMode;\n always?: boolean;\n height?: number;\n position?: number;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:NodeStaticProps": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeStaticProps", "runtime": false, "signature": "type NodeStaticProps = ((props: BaseRenderNodeProps & RenderElementProps & StaticRenderLeafProps) => AnyObject | undefined) | AnyObject;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:NodeTarget": { "aliases": [], "documentation": "A document location, node key, or live node to resolve.", "entrypoint": "platejs", "kind": "type", "name": "NodeTarget", "runtime": false, "signature": "type NodeTarget = Location | N | NodeKey;", "source": null, "typeParameters": [ "N extends Descendant = Descendant" ] }, "platejs:NodeTextRangeEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NodeTextRangeEntry", "runtime": false, "signature": "type NodeTextRangeEntry = readonly [Node | NodeTextRangeRoot, Path];", "source": null, "typeParameters": [] }, "platejs:NodeTextRangeMatch": { "aliases": [], "documentation": "A code-unit text match inside the concatenated text for one text run.", "entrypoint": "platejs", "kind": "interface", "name": "NodeTextRangeMatch", "runtime": false, "signature": "interface NodeTextRangeMatch {\n readonly end: number;\n readonly start: number;\n}", "source": null, "typeParameters": [] }, "platejs:NodeTextRangeQuery": { "aliases": [], "documentation": "Match text inside an editor node. String queries are literal, regular\nexpressions use their own flags, and callbacks can return custom offsets.", "entrypoint": "platejs", "kind": "type", "name": "NodeTextRangeQuery", "runtime": false, "signature": "type NodeTextRangeQuery = RegExp | string | ((text: string, entry: NodeTextRangeEntry) => Iterable | readonly NodeTextRangeMatch[]);", "source": null, "typeParameters": [] }, "platejs:NodeTextRangeRoot": { "aliases": [], "documentation": "A lightweight root for snapshot reads where callers already have children\nbut not a live editor object.", "entrypoint": "platejs", "kind": "interface", "name": "NodeTextRangeRoot", "runtime": false, "signature": "interface NodeTextRangeRoot {\n readonly children: readonly Descendant[];\n}", "source": null, "typeParameters": [] }, "platejs:NodeTextRangeView": { "aliases": [], "documentation": "A read view or transaction, such as `state` in `editor.read` or `tx` in\n`editor.update`. Its own schema joins inline runs and its own content rule\nskips non-content text, so a search reads the document that view reads.", "entrypoint": "platejs", "kind": "interface", "name": "NodeTextRangeView", "runtime": false, "signature": "interface NodeTextRangeView {\n children(): readonly Descendant[];\n readonly nodes: {\n isContent(node: Node): boolean;\n };\n readonly schema: {\n isInline(element: Element): boolean;\n };\n}", "source": null, "typeParameters": [] }, "platejs:NodeTextsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeTextsOptions", "runtime": false, "signature": "interface NodeTextsOptions {\n from?: Path;\n to?: Path;\n reverse?: boolean;\n pass?: (node: NodeEntry) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs:NodeTypeSelector": { "aliases": [], "documentation": "One or more persisted element identities used for structural selection.", "entrypoint": "platejs", "kind": "type", "name": "NodeTypeSelector", "runtime": false, "signature": "type NodeTypeSelector = SchemaElementHandle | string | ReadonlyArray | string>;", "source": null, "typeParameters": [] }, "platejs:NodeUnsetNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeUnsetNodesOptions", "runtime": false, "signature": "interface NodeUnsetNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n hanging?: boolean;\n split?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:NodeUnwrapNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeUnwrapNodesOptions", "runtime": false, "signature": "interface NodeUnwrapNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n split?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:NodeWrapNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "NodeWrapNodesOptions", "runtime": false, "signature": "interface NodeWrapNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n split?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs:nodeWriteVeto": { "aliases": [], "documentation": "Contribute a veto that refuses a retype, wrap or unwrap of a node.", "entrypoint": "platejs", "kind": "const", "name": "nodeWriteVeto", "runtime": true, "signature": "nodeWriteVeto: Readonly<{\n id: string;\n of: (value: NodeWriteVeto) => PluginContribution;\n}>", "source": null, "typeParameters": [] }, "platejs:NodeWriteVeto": { "aliases": [], "documentation": "Return true to refuse the whole update that makes the write. Remote imports\nand history replays never consult it.", "entrypoint": "platejs", "kind": "type", "name": "NodeWriteVeto", "runtime": false, "signature": "type NodeWriteVeto = (input: NodeWriteVetoInput) => boolean;", "source": null, "typeParameters": [] }, "platejs:NodeWriteVetoInput": { "aliases": [], "documentation": "A local write that changes what `node` is or what holds it, before it\napplies: `retype` sets its `type` to `type`, `wrap` puts it in a new\nelement, and `unwrap` removes it and keeps its children: an unwrap moves\nthem into its parent and a merge into its previous sibling. A merge also\nasks it for each ancestor it empties and removes. A lift asks it too unless\nit takes the last of several children, since lifting any other child\nremoves the holder or splits it in two.", "entrypoint": "platejs", "kind": "type", "name": "NodeWriteVetoInput", "runtime": false, "signature": "type NodeWriteVetoInput = Readonly<{\n node: Element;\n path: Path;\n root: RootKey;\n} & ({\n kind: 'retype';\n type: string;\n} | {\n kind: 'unwrap' | 'wrap';\n})>;", "source": null, "typeParameters": [] }, "platejs:NormalizeRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "NormalizeRules", "runtime": false, "signature": "type NormalizeRules = {\n /** Whether to remove nodes with empty text. */\n removeEmpty?: RuleDecision;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:Nullable": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "Nullable", "runtime": false, "signature": "type Nullable = { [P in keyof T]: T[P] | null; };", "source": null, "typeParameters": [ "T" ] }, "platejs:OrderedListRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "OrderedListRules", "runtime": true, "signature": "OrderedListRules: {\n markdown: ({ enabled, priority, variant }?: MarkdownListRuleOptions & {\n variant?: '.' | ')';\n }) => InsertTextInputRule<{\n range: Range;\n text: string;\n start: number;\n continued: {\n listId: string | undefined;\n listLevels: Readonly>> | undefined;\n } | undefined;\n }, InternalBaseEditorWithInstalledPlugins & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>>, readonly []>>;\n}", "source": null, "typeParameters": [] }, "platejs:OutdentListOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "OutdentListOptions", "runtime": false, "signature": "type OutdentListOptions = {\n at?: Location | NodeSelection;\n};", "source": null, "typeParameters": [] }, "platejs:PartialBasePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PartialBasePlugin", "runtime": false, "signature": "type PartialBasePlugin = Omit>, 'decorate' | 'initialState' | 'render' | 'slots'> & {\n decorate?: DecorateInput | null;\n initialState?: Partial>;\n render?: Partial['render']>>;\n slots?: Partial['slots']>>;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:Path": { "aliases": [], "documentation": "`Path` arrays are a list of indexes that describe a node's exact position in\na document tree. Although they are usually relative to the root `Editor`\nobject, they can be relative to any `Node` object.", "entrypoint": "platejs", "kind": "type", "name": "Path", "runtime": false, "signature": "type Path = readonly number[];", "source": null, "typeParameters": [] }, "platejs:PathAncestorsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PathAncestorsOptions", "runtime": false, "signature": "interface PathAncestorsOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:PathApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "PathApi", "runtime": true, "signature": "PathApi: Readonly", "source": null, "typeParameters": [] }, "platejs:PathInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PathInterface", "runtime": false, "signature": "interface PathInterface {\n /**\n * Get a list of ancestor paths for a given path.\n *\n * The paths are sorted from shallowest to deepest ancestor. However, if the\n * `reverse: true` option is passed, they are reversed.\n */\n ancestors: (path: Path, options?: PathAncestorsOptions) => readonly Path[];\n /**\n * Get the common ancestor path of two paths.\n */\n common: (path: Path, another: Path) => Path;\n /**\n * Compare a path to another, returning an integer indicating whether the path\n * was before, at, or after the other.\n *\n * Note: Two paths of unequal length can still receive a `0` result if one is\n * directly above or below the other. If you want exact matching, use\n * [[PathApi.equals]] instead.\n */\n compare: (path: Path, another: Path) => -1 | 0 | 1;\n /**\n * Check if a path ends after one of the indexes in another.\n */\n endsAfter: (path: Path, another: Path) => boolean;\n /**\n * Check if a path ends at one of the indexes in another.\n */\n endsAt: (path: Path, another: Path) => boolean;\n /**\n * Check if a path ends before one of the indexes in another.\n */\n endsBefore: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is exactly equal to another.\n */\n equals: (path: readonly number[], another: readonly number[]) => boolean;\n /**\n * Check if the path of previous sibling node exists\n */\n hasPrevious: (path: Path) => boolean;\n /**\n * Check if a path is after another.\n */\n isAfter: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is an ancestor of another.\n */\n isAncestor: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is before another.\n */\n isBefore: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is a child of another.\n */\n isChild: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is equal to or an ancestor of another.\n */\n isCommon: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is a descendant of another.\n */\n isDescendant: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is the parent of another.\n */\n isParent: (path: Path, another: Path) => boolean;\n /**\n * Check is a value implements the `Path` interface.\n */\n isPath: (value: unknown) => value is Path;\n /**\n * Check if a path is a sibling of another.\n */\n isSibling: (path: Path, another: Path) => boolean;\n /**\n * Get a list of paths at every level down to a path. Note: this is the same\n * as `PathApi.ancestors`, but including the path itself.\n *\n * The paths are sorted from shallowest to deepest. However, if the `reverse:\n * true` option is passed, they are reversed.\n */\n levels: (path: Path, options?: PathLevelsOptions) => readonly Path[];\n /**\n * Given a path, get the path to the next sibling node.\n */\n next: (path: Path) => Path;\n /**\n * Given a path, return a new path referring to the parent node above it.\n */\n parent: (path: Path) => Path;\n /**\n * Given a path, get the path to the previous sibling node.\n */\n previous: (path: Path) => Path;\n /**\n * Get a path relative to an ancestor.\n */\n relative: (path: Path, ancestor: Path) => Path;\n}", "source": null, "typeParameters": [] }, "platejs:PathLevelsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PathLevelsOptions", "runtime": false, "signature": "interface PathLevelsOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:PersistedDocumentInput": { "aliases": [], "documentation": "Application persistence envelope for one complete external document.", "entrypoint": "platejs", "kind": "type", "name": "PersistedDocumentInput", "runtime": false, "signature": "type PersistedDocumentInput = Readonly<{\n document: EditorDocumentValue;\n schema: EditorSchemaIdentity;\n selection?: SnapshotSelectionInput;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:PlainTextDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PlainTextDiagnostic", "runtime": false, "signature": "type PlainTextDiagnostic = AuthoredProjectionDiagnostic | StructuralPlainTextDiagnostic;", "source": null, "typeParameters": [] }, "platejs:PlainTextDocumentOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PlainTextDocumentOptions", "runtime": false, "signature": "type PlainTextDocumentOptions = PlainTextEditorOptions & Readonly<{\n plugins: readonly BasePluginInput[];\n schema?: EditorApplicationSchema;\n}>;", "source": null, "typeParameters": [] }, "platejs:PlainTextEditorOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PlainTextEditorOptions", "runtime": false, "signature": "type PlainTextEditorOptions = Readonly<{\n /**\n * Version of an authored document to export. `accepted` drops pending changes\n * and `proposed` applies them as plain content. Either choice adds an\n * `authored-lossy-projection` warning while changes are pending. Required\n * when the document has authored metadata, which every document from an\n * editor with the authored plugin carries, even with no pending change.\n * Omitting it or passing any other value then throws, and so does a valid\n * value when the editor or `plugins` lacks the authored plugin. A document\n * without authored metadata ignores it.\n */\n projection?: 'accepted' | 'proposed';\n}>;", "source": null, "typeParameters": [] }, "platejs:PlainTextEncodeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PlainTextEncodeContext", "runtime": false, "signature": "type PlainTextEncodeContext = Readonly<{\n children: string;\n node: TNode;\n rootText: (slot: string) => string;\n}> & PluginFormatContext & Omit;", "source": null, "typeParameters": [ "TNode", "D extends AnyBasePluginDefinition" ] }, "platejs:PlainTextNodeMapping": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PlainTextNodeMapping", "runtime": false, "signature": "type PlainTextNodeMapping = Readonly<{\n encode: (context: PlainTextEncodeContext, D>) => string | undefined;\n priority?: number;\n}>;", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition" ] }, "platejs:PlainTextNodeMappingInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PlainTextNodeMappingInput", "runtime": false, "signature": "type PlainTextNodeMappingInput = PlainTextNodeMapping | readonly [PlainTextNodeMapping, ...Array>];", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition" ] }, "platejs:PlainTextSerializeResult": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PlainTextSerializeResult", "runtime": false, "signature": "type PlainTextSerializeResult = Readonly<{\n data: string;\n diagnostics: readonly PlainTextDiagnostic[];\n}>;", "source": null, "typeParameters": [] }, "platejs:Plugin": { "aliases": [ "BasePlugin" ], "documentation": "Exact Plate plugin descriptor with schema, behavior, and rendering.", "entrypoint": "platejs", "kind": "interface", "name": "Plugin", "runtime": false, "signature": "interface BasePlugin extends BasePluginRuntime, BasePluginMethods, PluginWitnessFor<() => LowerBasePlugin>, BasePluginInstalledCapabilityWitness, InferPluginNodeTypeProvider, EditorSchemaPluginProvider<() => InternalSchemaPluginsForPlugin>, EditorSchemaSourceProvider<() => InferPluginSchemaContribution>, PluginReference, PluginDefinitionWitness {\n api?: (context: BasePluginApiContext) => InferApi;\n readonly conflicts: BasePluginDependencyDescriptors>;\n dependencies: BasePluginDependencyDescriptors>;\n readonly initialState: InferPluginStoreState;\n readonly name: C['name'];\n read?: (context: BasePluginContext & {\n state: PluginReadState;\n }) => InferPluginRead;\n readonly schema: InferPluginSchema;\n readonly selectors: InferSelectors;\n readonly targetPlugins: C extends {\n targetPlugins: infer TTargetPlugins extends ReadonlyArray;\n } ? TTargetPlugins : readonly [];\n update?: (context: BasePluginContext & {\n context: EditorUpdateContext;\n tx: PluginTransaction;\n }) => InferUpdate;\n}", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:PluginActivationContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginActivationContext", "runtime": false, "signature": "type PluginActivationContext = Readonly<{\n /**\n * Register `take`, which claims something outside the editor, such as a\n * listener on a shared document or a network channel, and returns its\n * release. Activation can run in a React render that never commits, so\n * keep `activate` in memory and claim outside resources only here. On an\n * editor from `createEditor`, or a component's editor after React commits\n * it, `take` runs during publication once every `beforePublish` has\n * passed, and a throw rolls the publication back. On a component's editor\n * before that commit, `take` runs at the commit. Each release runs once:\n * when the component unmounts, when the editor is destroyed, or when the\n * plugin is removed, replaced or rolled back. `take` and its release must\n * be synchronous and must not update the editor.\n */\n acquire: (take: () => (context: PluginCleanupContext) => void) => void;\n afterPublish: (callback: () => void) => void;\n /**\n * Initialize against the final document before publication becomes permanent.\n * Must be synchronous. Throwing aborts publication and runs activation cleanup.\n * Document writes are forbidden; take outside resources with `acquire`.\n */\n beforePublish: (callback: () => void) => void;\n pluginName: string;\n /**\n * Drop in-memory state when the plugin is removed, replaced or rolled back,\n * or when the editor is destroyed.\n */\n onCleanup: (cleanup: (context: PluginCleanupContext) => void) => void;\n /** Named view root, or `undefined` for the primary document. */\n root: NamedRootKey | undefined;\n schema: EditorStateSchemaApi;\n signal: AbortSignal;\n}>;", "source": null, "typeParameters": [] }, "platejs:PluginApiFactory": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginApiFactory", "runtime": false, "signature": "type PluginApiFactory = Editor, TResult = unknown> = BivariantMethod<[context: PluginApiFactoryContext], TResult>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor", "TResult = unknown" ] }, "platejs:PluginApiFactoryContext": { "aliases": [], "documentation": "Resolve host APIs against one stable plugin candidate.\nAPI-factory results become visible only after every factory has resolved.", "entrypoint": "platejs", "kind": "type", "name": "PluginApiFactoryContext", "runtime": false, "signature": "type PluginApiFactoryContext = Editor> = Readonly<{\n editor: PluginCandidateEditor;\n getContributions: (point: PluginPoint) => ReadonlyArray>;\n /** Named view root, or `undefined` for the primary document. */\n root: NamedRootKey | undefined;\n}>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs:PluginBaseContext": { "aliases": [], "documentation": "Capabilities and compiled schema handles available in author callbacks.", "entrypoint": "platejs", "kind": "type", "name": "PluginBaseContext", "runtime": false, "signature": "type PluginBaseContext = PluginRuntimeContext & PluginAuthorSchemaField & Readonly<{\n /**\n * This plugin's state in the view a read state or transaction runs in: a\n * reader for a read state, a writer for a transaction.\n */\n viewStoreOf: PluginViewStoreOf;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:PluginCandidateContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginCandidateContext", "runtime": false, "signature": "type PluginCandidateContext = Editor> = PluginApiFactoryContext & Readonly<{\n name: string;\n schema: EditorStateSchemaApi>;\n}>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs:PluginCandidateEditor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginCandidateEditor", "runtime": false, "signature": "type PluginCandidateEditor = Editor> = TEditor & {\n plugin: TEditor['plugin'];\n};", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs:PluginCapabilities": { "aliases": [], "documentation": "Fixed capabilities contributed by an plugin regardless of editor value.", "entrypoint": "platejs", "kind": "interface", "name": "PluginCapabilities", "runtime": false, "signature": "interface PluginCapabilities {\n readonly input: Value;\n readonly output: TOutput;\n}", "source": null, "typeParameters": [ "TOutput extends PluginTypes" ] }, "platejs:PluginCleanupContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginCleanupContext", "runtime": false, "signature": "type PluginCleanupContext = Readonly<{\n reason: 'remove' | 'replace' | 'rollback';\n}>;", "source": null, "typeParameters": [] }, "platejs:PluginContribution": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginContribution", "runtime": false, "signature": "type PluginContribution = PluginContributionInput & Readonly<{\n point: PluginPoint;\n}>;", "source": null, "typeParameters": [ "TValue", "TRequiredEditor = unknown" ] }, "platejs:PluginContributionInput": { "aliases": [], "documentation": "Contextual installation requirement for one opaque plugin contribution.", "entrypoint": "platejs", "kind": "type", "name": "PluginContributionInput", "runtime": false, "signature": "type PluginContributionInput = Readonly<{\n point: Readonly<{\n id: string;\n }>;\n /**\n * Contravariant proof of the editor capabilities this value needs.\n *\n * @internal\n */\n [PLUGIN_REQUIRED_EDITOR]?: (editor: TRequiredEditor) => void;\n}>;", "source": null, "typeParameters": [ "TRequiredEditor = unknown" ] }, "platejs:PluginDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginDefinition", "runtime": false, "signature": "type PluginDefinition = Readonly<{\n api?: unknown;\n activate?: true;\n commands?: true;\n conflicts?: readonly PluginShallowReference[];\n contributions?: true;\n corrections?: true;\n dependencies?: readonly PluginShallowReference[];\n effectTypes?: true;\n enabled?: boolean;\n name: string;\n on?: true;\n read?: unknown;\n readMiddleware?: true;\n schema?: EditorSchemaDeclaration;\n stateFields?: true;\n update?: unknown;\n validate?: true;\n}>;", "source": null, "typeParameters": [] }, "platejs:PluginDefinitionInput": { "aliases": [ "BasePluginDefinitionInput" ], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginDefinitionInput", "runtime": false, "signature": "type BasePluginDefinitionInput = BasePluginInputFields & Readonly<{\n component?: NodeComponent;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:PluginDependency": { "aliases": [], "documentation": "Exact source carried by an inferred Plate dependency without expanding it.", "entrypoint": "platejs", "kind": "interface", "name": "PluginDependency", "runtime": false, "signature": "interface PluginDependency {\n /**\n * Nominal dependency source.\n *\n * @internal\n */\n readonly [pluginDependency]: (plugin: TPlugin) => TPlugin;\n}", "source": null, "typeParameters": [ "in out TPlugin" ] }, "platejs:PluginDependencyReference": { "aliases": [], "documentation": "Shallow public reference to an plugin dependency.", "entrypoint": "platejs", "kind": "interface", "name": "PluginDependencyReference", "runtime": false, "signature": "interface PluginDependencyReference extends PrivatePluginReferenceBrand {\n readonly enabled?: boolean;\n readonly name: string;\n}", "source": null, "typeParameters": [] }, "platejs:PluginFormatContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginFormatContext", "runtime": false, "signature": "type PluginFormatContext = Readonly<{\n name: C extends Readonly<{\n formatOwnerName: infer TName extends string;\n }> ? TName : C['name'];\n pluginState: Readonly>;\n registry: PluginFormatRegistry;\n schema: PluginFormatSchemaView;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:PluginFormatModelView": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginFormatModelView", "runtime": false, "signature": "type PluginFormatModelView = Readonly<{\n document: EditorDocumentValue;\n node: DescendantIn;\n parent: Extract, Element> | null;\n path: Path;\n previousSibling: DescendantIn | null;\n root: RootKey;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:PluginFormatNode": { "aliases": [], "documentation": "Node narrowed from the format mapping target's schema contribution.", "entrypoint": "platejs", "kind": "type", "name": "PluginFormatNode", "runtime": false, "signature": "type PluginFormatNode = [FormatElementNode] extends [never] ? [FormatPropertyEntries] extends [never] ? [FormatPropertyEntries] extends [never] ? Descendant : ElementWith : [FormatPropertyEntries] extends [never] ? TextWith : TextWith | ElementWith : FormatElementNode;", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition" ] }, "platejs:PluginFormatRegistry": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginFormatRegistry", "runtime": false, "signature": "type PluginFormatRegistry = Readonly<{\n has: (plugin: PluginReference | string) => boolean;\n type: (plugin: PluginReference | string) => string | undefined;\n}>;", "source": null, "typeParameters": [] }, "platejs:PluginFormatSchemaView": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginFormatSchemaView", "runtime": false, "signature": "type PluginFormatSchemaView = Pick;", "source": null, "typeParameters": [] }, "platejs:PluginInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginInput", "runtime": false, "signature": "type PluginInput = PluginReference | readonly PluginReference[];", "source": null, "typeParameters": [] }, "platejs:PluginMigrationContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginMigrationContext", "runtime": false, "signature": "type PluginMigrationContext = Readonly<{\n /** Immutable structural document before candidate configuration publication. */\n document: EditorSchemaDocumentValue;\n /** Candidate schema that validates the returned document. */\n next: EditorStateSchemaApi;\n}>;", "source": null, "typeParameters": [] }, "platejs:PluginName": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginName", "runtime": false, "signature": "type PluginName = (typeof PLUGINS)[keyof typeof PLUGINS];", "source": null, "typeParameters": [] }, "platejs:PluginOwnUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginOwnUpdate", "runtime": false, "signature": "type PluginOwnUpdate

          = Editor$1]>['update'] & Editor$1]>['update'];", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs:PluginPoint": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginPoint", "runtime": false, "signature": "type PluginPoint = Readonly<{\n id: string;\n of: (value: TValue) => PluginContribution;\n}>;", "source": null, "typeParameters": [ "TValue" ] }, "platejs:PluginPortal": { "aliases": [ "BasePluginPortal" ], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginPortal", "runtime": false, "signature": "type BasePluginPortal['api']> = Omit, keyof PluginPortalContext | 'schema'> & PluginReference & Omit, 'api' | 'read' | 'update'> & {\n /** API scoped directly to this plugin. */\n api: TApi;\n /** State-bound reads scoped directly to this plugin. */\n read: PluginReadCapability;\n /** One-shot updates scoped directly to this plugin. */\n update: PluginDirectUpdate;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition", "S = C", "TApi = PluginPortalContext['api']" ] }, "platejs:PluginPublicationError": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "class", "name": "PluginPublicationError", "runtime": true, "signature": "declare class PluginPublicationError extends Error {\n readonly pluginName: string;\n readonly phase: 'acquire' | 'activate' | 'beforePublish';\n readonly rollbackErrors: readonly unknown[];\n constructor(pluginName: string, cause: unknown, rollbackErrors?: readonly unknown[], phase?: 'acquire' | 'activate' | 'beforePublish');\n}", "source": null, "typeParameters": [] }, "platejs:PluginReadContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginReadContext", "runtime": false, "signature": "type PluginReadContext = Editor> = Readonly<{\n around: >(read: CompatibleEditorRead, handler: EditorReadAroundHandler, EditorReadResult, TEditor>) => EditorReadRegistration;\n}>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs:PluginReadFactory": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginReadFactory", "runtime": false, "signature": "type PluginReadFactory = Editor, TResult extends EditorReadMethodTree = EditorReadMethodTree> = BivariantMethod<[context: PluginReadFactoryContext], TResult>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor", "TResult extends EditorReadMethodTree = EditorReadMethodTree" ] }, "platejs:PluginReadFactoryContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginReadFactoryContext", "runtime": false, "signature": "type PluginReadFactoryContext = Editor> = Readonly<{\n editor: TEditor;\n state: EditorStateView, PluginsOf>;\n}>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs:PluginReadMiddlewareFactory": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginReadMiddlewareFactory", "runtime": false, "signature": "type PluginReadMiddlewareFactory = Editor> = BivariantMethod<[context: PluginReadContext], ReadonlyArray>>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs:PluginReadState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginReadState", "runtime": false, "signature": "type PluginReadState

          = PluginReadStateForInstalledDefinitions>;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs:PluginReconfigureOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginReconfigureOptions", "runtime": false, "signature": "type PluginReconfigureOptions = Readonly<{\n /**\n * Return the complete structural document to publish with the candidate.\n *\n * Runs when the change alters the schema or leaves a plugin name\n * uninstalled. Omit it only when the current document already validates\n * under the candidate schema. Live reconfiguration never fills schema\n * defaults implicitly.\n */\n migrate?: (context: PluginMigrationContext) => EditorSchemaDocumentValue;\n}>;", "source": null, "typeParameters": [] }, "platejs:PluginReference": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PluginReference", "runtime": false, "signature": "interface PluginReference extends PluginReference$1 {\n /** Plate-owned type projection over the shared plugin descriptor identity. */\n readonly [platePluginReference]: true;\n readonly name: TName;\n}", "source": null, "typeParameters": [ "TName extends string = string" ] }, "platejs:PLUGINS": { "aliases": [], "documentation": "First-party Plate capability names. Not a persisted AST identity catalog.", "entrypoint": "platejs", "kind": "const", "name": "PLUGINS", "runtime": true, "signature": "PLUGINS: {\n readonly affinity: 'affinity';\n readonly aiChat: 'aiChat';\n readonly audio: 'audio';\n readonly backgroundColor: 'backgroundColor';\n readonly blockPlaceholder: 'blockPlaceholder';\n readonly blockquote: 'blockquote';\n readonly bold: 'bold';\n readonly callout: 'callout';\n readonly code: 'code';\n readonly codeBlock: 'codeBlock';\n readonly codeSyntax: 'codeSyntax';\n readonly color: 'color';\n readonly column: 'column';\n readonly columnGroup: 'columnGroup';\n readonly copilot: 'copilot';\n readonly date: 'date';\n readonly debug: 'debug';\n readonly dnd: 'dnd';\n readonly dom: 'dom';\n readonly elementState: 'elementState';\n readonly equation: 'equation';\n readonly excalidraw: 'excalidraw';\n readonly exitBreak: 'exitBreak';\n readonly file: 'file';\n readonly fixedToolbar: 'fixedToolbar';\n readonly floatingToolbar: 'floatingToolbar';\n readonly fontFamily: 'fontFamily';\n readonly fontSize: 'fontSize';\n readonly footnote: 'footnote';\n readonly footnoteDefinition: 'footnoteDefinition';\n readonly formatPainter: 'formatPainter';\n readonly formatting: 'formatting';\n readonly heading: 'heading';\n readonly highlight: 'highlight';\n readonly history: 'history';\n readonly horizontalRule: 'horizontalRule';\n readonly html: 'html';\n readonly image: 'image';\n readonly indent: 'indent';\n readonly inlineEquation: 'inlineEquation';\n readonly inputRules: 'inputRules';\n readonly italic: 'italic';\n readonly kbd: 'kbd';\n readonly lineHeight: 'lineHeight';\n readonly link: 'link';\n readonly list: 'list';\n readonly markdown: 'markdown';\n readonly mediaEmbed: 'mediaEmbed';\n readonly mention: 'mention';\n readonly navigationFeedback: 'navigationFeedback';\n readonly override: 'override';\n readonly paragraph: 'paragraph';\n readonly script: 'script';\n readonly singleBlock: 'singleBlock';\n readonly singleLine: 'singleLine';\n readonly strikethrough: 'strikethrough';\n readonly suggestion: 'suggestion';\n readonly tabbable: 'tabbable';\n readonly table: 'table';\n readonly tableCell: 'tableCell';\n readonly tableRow: 'tableRow';\n readonly textAlign: 'textAlign';\n readonly textIndent: 'textIndent';\n readonly toc: 'toc';\n readonly details: 'details';\n readonly detailsSummary: 'detailsSummary';\n readonly trailingBlock: 'trailingBlock';\n readonly underline: 'underline';\n readonly upload: 'upload';\n readonly video: 'video';\n readonly wordPaste: 'wordPaste';\n readonly yjs: 'yjs';\n}", "source": null, "typeParameters": [] }, "platejs:PluginSchema": { "aliases": [], "documentation": "A frozen schema contribution or a pure configured contribution factory.", "entrypoint": "platejs", "kind": "type", "name": "PluginSchema", "runtime": false, "signature": "type PluginSchema = ((context: PluginSchemaContext) => PluginSchemaDeclaration) | PluginSchemaDeclaration;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:PluginSchemaContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSchemaContext", "runtime": false, "signature": "type PluginSchemaContext = Readonly<{\n initialState: Readonly>;\n name: C['name'];\n plugins: PluginSchemaReferences;\n targetElementTypes: readonly string[];\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:PluginSchemaDeclaration": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSchemaDeclaration", "runtime": false, "signature": "type PluginSchemaDeclaration = PluginSchemaContentRoots | PluginElementSchemaDeclaration | PluginSchemaProperties | PluginSchemaText;", "source": null, "typeParameters": [] }, "platejs:PluginSchemaElement": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSchemaElement", "runtime": false, "signature": "type PluginSchemaElement = SchemaElement & Readonly<{\n /** Whether this element is legal in Plate normal block content. */\n blockContent?: boolean;\n /** Default persisted discriminator before closed-application overrides. */\n type?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:PluginSchemaMark": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSchemaMark", "runtime": false, "signature": "type PluginSchemaMark = PropertyValueDescriptor | Readonly;", "source": null, "typeParameters": [] }, "platejs:PluginSchemaReferences": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSchemaReferences", "runtime": false, "signature": "type PluginSchemaReferences = Readonly<{\n /** Plate normal-flow block content, excluding nested structural elements. */\n blockContent: (options?: PluginBlockContentOptions) => SchemaContent;\n}>;", "source": null, "typeParameters": [] }, "platejs:PluginSelector": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSelector", "runtime": false, "signature": "type PluginSelector = (state: Readonly, ...args: TArgs) => TResult;", "source": null, "typeParameters": [ "TState extends object = object", "TArgs extends unknown[] = unknown[]", "TResult = unknown" ] }, "platejs:PluginSelectorArgs": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSelectorArgs", "runtime": false, "signature": "type PluginSelectorArgs = T extends ((state: infer _TState, ...args: infer TArgs) => unknown) ? TArgs : never;", "source": null, "typeParameters": [ "T" ] }, "platejs:PluginSelectorMethods": { "aliases": [], "documentation": "Public selector call shape without the implementation-only state input.", "entrypoint": "platejs", "kind": "type", "name": "PluginSelectorMethods", "runtime": false, "signature": "type PluginSelectorMethods = { [TKey in keyof TSelectors]: PluginSelectorMethod; };", "source": null, "typeParameters": [ "TSelectors extends object" ] }, "platejs:PluginSelectorReturn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSelectorReturn", "runtime": false, "signature": "type PluginSelectorReturn = T extends ((state: infer _TState, ...args: never[]) => infer TResult) ? TResult : never;", "source": null, "typeParameters": [ "T" ] }, "platejs:PluginSelectors": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSelectors", "runtime": false, "signature": "type PluginSelectors = Record>;", "source": null, "typeParameters": [ "TState extends object = object" ] }, "platejs:PluginsFromOptions": { "aliases": [], "documentation": "Plugin tuple inferred from a `createEditor` options object.", "entrypoint": "platejs", "kind": "type", "name": "PluginsFromOptions", "runtime": false, "signature": "type PluginsFromOptions = TOptions extends {\n plugins: infer TPlugins extends readonly unknown[];\n} ? TPlugins : readonly [];", "source": null, "typeParameters": [ "TOptions" ] }, "platejs:PluginShortcutInput": { "aliases": [], "documentation": "Validate inferred shortcut object keys against callable plugin commands.\nUnknown names require a custom handler; ambiguous names require an explicit\nroute, except plugin/editor API collisions which require a custom handler.\nFields outside the shortcut shape are rejected, because inference would\notherwise accept them as known properties.", "entrypoint": "platejs", "kind": "type", "name": "PluginShortcutInput", "runtime": false, "signature": "type PluginShortcutInput, TShortcut = EditorShortcut> = TShortcuts & { [K in keyof TShortcuts]: K extends string ? Extract | (Exclude extends never ? never : PluginShortcutForKey & UnknownShortcutFields, TShortcut>) : never; };", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition", "TShortcuts extends Record", "TShortcut = EditorShortcut" ] }, "platejs:PluginSlot": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSlot", "runtime": false, "signature": "type PluginSlot = Readonly<{\n key: TKey;\n of: (input: TInput) => PluginSlotValue;\n}>;", "source": null, "typeParameters": [ "TKey extends string" ] }, "platejs:PluginSlotLike": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSlotLike", "runtime": false, "signature": "type PluginSlotLike = Readonly<{\n key: string;\n of: (input: PluginInput) => PluginReference;\n}>;", "source": null, "typeParameters": [] }, "platejs:PluginSlotValue": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginSlotValue", "runtime": false, "signature": "type PluginSlotValue = PluginDependencyContractReference;\n installed: EditorResolvedInstalledPlugins>[number];\n}>> & PluginReference & EditorSchemaPluginProvider<() => SchemaPluginsOf> & {\n name: `slot:${TKey}`;\n};", "source": null, "typeParameters": [ "TKey extends string", "TInput extends PluginInput" ] }, "platejs:PluginsOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginsOf", "runtime": false, "signature": "type PluginsOf = E extends BaseEditor ? TPlugins : readonly [];", "source": null, "typeParameters": [ "E" ] }, "platejs:PluginState": { "aliases": [], "documentation": "Installed editor state visible while a plugin registers editor behavior.", "entrypoint": "platejs", "kind": "type", "name": "PluginState", "runtime": false, "signature": "type PluginState

          = PluginEditorStateView, InstalledRuntimePluginDefinitions

          >;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs:PluginStore": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginStore", "runtime": false, "signature": "type PluginStore = {\n /** Read the complete current plugin state. */\n get(): Readonly>;\n /** Read one state field or evaluate one named selector. */\n get>(key: K, ...args: IsBroadPluginDefinition$1 extends true ? unknown[] : K extends keyof InferSelectors ? PluginSelectorArgs[K]> : []): PluginStoreValue;\n /** Replace fields or update the current plugin state through a draft. */\n set(value: Partial> | ((state: Draft>) => void)): void;\n /**\n * Subscribe to raw state changes. A listener that throws goes to the editor's\n * `lifecycleErrorSink`, and the other listeners still run. The throw fails\n * neither the write nor an update around it.\n */\n subscribe: (listener: (state: InferPluginStoreState, previousState: InferPluginStoreState) => void) => () => void;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = AnyBasePluginDefinition" ] }, "platejs:PluginTransaction": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginTransaction", "runtime": false, "signature": "type PluginTransaction

          = true extends IsBroadPluginDefinition

          ? Omit, InstalledPluginDefinition

          >, 'plugin'> & Readonly<{\n plugin: TransactionPluginPortal;\n}> : PluginTransactionForInstalledDefinitions, InstalledPluginDefinition

          >;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:PluginTypeProvider": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "class", "name": "PluginTypeProvider", "runtime": false, "signature": "declare class PluginTypeProvider {\n protected readonly pluginTypes: TProvider;\n}", "source": null, "typeParameters": [ "TProvider extends PluginTypeLambda" ] }, "platejs:PluginTypes": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginTypes", "runtime": false, "signature": "type PluginTypes = {\n api?: Record;\n read?: EditorReadMethodTree;\n update?: Record;\n};", "source": null, "typeParameters": [] }, "platejs:PluginUpdate": { "aliases": [], "documentation": "One plugin's update methods and their policy form, transaction-only controls included.", "entrypoint": "platejs", "kind": "type", "name": "PluginUpdate", "runtime": false, "signature": "type PluginUpdate

          = PluginUpdateMethods & ((policy: EditorUpdatePolicy) => PluginUpdateMethods);", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition", "S = P" ] }, "platejs:PluginUpdateFactory": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginUpdateFactory", "runtime": false, "signature": "type PluginUpdateFactory = Editor, TResult = unknown> = BivariantMethod<[context: PluginUpdateFactoryContext], TResult>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor", "TResult = unknown" ] }, "platejs:PluginUpdateFactoryContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PluginUpdateFactoryContext", "runtime": false, "signature": "type PluginUpdateFactoryContext = Editor> = Readonly<{\n context: EditorUpdateContext;\n editor: TEditor;\n tx: EditorUpdateTransaction, PluginsOf>;\n}>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs:Point": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "Point", "runtime": false, "signature": "type Point = BasePoint;", "source": null, "typeParameters": [] }, "platejs:PointApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "PointApi", "runtime": true, "signature": "PointApi: Readonly", "source": null, "typeParameters": [] }, "platejs:PointEntry": { "aliases": [], "documentation": "`PointEntry` objects are returned when iterating over `Point` objects that\nbelong to a range.", "entrypoint": "platejs", "kind": "type", "name": "PointEntry", "runtime": false, "signature": "type PointEntry = readonly [Point, 'anchor' | 'focus'];", "source": null, "typeParameters": [] }, "platejs:PointInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PointInterface", "runtime": false, "signature": "interface PointInterface {\n /**\n * Compare a point to another, returning an integer indicating whether the\n * point was before, at, or after the other.\n */\n compare: (point: Point, another: Point) => -1 | 0 | 1;\n /**\n * Check if a point is after another.\n */\n isAfter: (point: Point, another: Point) => boolean;\n /**\n * Check if a point is before another.\n */\n isBefore: (point: Point, another: Point) => boolean;\n /**\n * Check if a point is exactly equal to another.\n */\n equals: (point: Point, another: Point) => boolean;\n /**\n * Check if a value implements the `Point` interface.\n */\n isPoint: (value: unknown) => value is Point;\n}", "source": null, "typeParameters": [] }, "platejs:ProjectedRangeSegment": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ProjectedRangeSegment", "runtime": false, "signature": "type ProjectedRangeSegment = Readonly<{\n path: Path;\n key: NodeKey;\n start: number;\n end: number;\n}>;", "source": null, "typeParameters": [] }, "platejs:property": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "property", "runtime": true, "signature": "property: PropertyBuilderApi", "source": null, "typeParameters": [] }, "platejs:PropertyBooleanDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PropertyBooleanDescriptor", "runtime": false, "signature": "interface PropertyBooleanDescriptor | undefined = undefined> extends PropertyValueDescriptor {}", "source": null, "typeParameters": [ "TOptions extends PropertyValueOptions | undefined = undefined" ] }, "platejs:PropertyBuilderApi": { "aliases": [], "documentation": "Shared JSON property value builders.", "entrypoint": "platejs", "kind": "interface", "name": "PropertyBuilderApi", "runtime": false, "signature": "interface PropertyBuilderApi {\n readonly boolean: = {}>(options?: PropertyValueOptions & TOptions) => PropertyBooleanDescriptor;\n readonly enum: typeof defineEnum;\n readonly json: typeof defineJson;\n readonly number: = {}>(options?: PropertyValueOptions & TOptions) => PropertyNumberDescriptor;\n readonly set: > = {}>(item: TItemDescriptor, options?: PropertySetOptions> & TOptions) => PropertySetDescriptor;\n readonly string: = {}>(options?: PropertyValueOptions & TOptions) => PropertyStringDescriptor;\n}", "source": null, "typeParameters": [] }, "platejs:PropertyEnumDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PropertyEnumDescriptor", "runtime": false, "signature": "interface PropertyEnumDescriptor | undefined = undefined> extends PropertyValueDescriptor {\n readonly values: TValues;\n}", "source": null, "typeParameters": [ "TValues extends readonly string[] = readonly string[]", "TOptions extends PropertyValueOptions | undefined = undefined" ] }, "platejs:PropertyJsonDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PropertyJsonDescriptor", "runtime": false, "signature": "interface PropertyJsonDescriptor | undefined = undefined> extends PropertyValueDescriptor {}", "source": null, "typeParameters": [ "TValue = EditorJsonValue", "TOptions extends PropertyValueOptions | undefined = undefined" ] }, "platejs:PropertyJsonOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PropertyJsonOptions", "runtime": false, "signature": "type PropertyJsonOptions = PropertyValueOptions;", "source": null, "typeParameters": [ "TValue = EditorJsonValue" ] }, "platejs:PropertyNumberDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PropertyNumberDescriptor", "runtime": false, "signature": "interface PropertyNumberDescriptor | undefined = undefined> extends PropertyValueDescriptor {}", "source": null, "typeParameters": [ "TOptions extends PropertyValueOptions | undefined = undefined" ] }, "platejs:PropertyOptionsOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PropertyOptionsOf", "runtime": false, "signature": "type PropertyOptionsOf = TDescriptor extends Readonly<{\n '~schema.options'?: infer TOptions;\n}> ? TOptions : never;", "source": null, "typeParameters": [ "TDescriptor" ] }, "platejs:PropertySetDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PropertySetDescriptor", "runtime": false, "signature": "interface PropertySetDescriptor> | undefined = undefined> extends PropertyValueDescriptor>, 'set', TOptions> {\n readonly item: TItemDescriptor;\n}", "source": null, "typeParameters": [ "TItemDescriptor extends PropertyValueDescriptor = PropertyValueDescriptor", "TOptions extends PropertySetOptions> | undefined = undefined" ] }, "platejs:PropertySetOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PropertySetOptions", "runtime": false, "signature": "type PropertySetOptions = PropertyValueOptions;", "source": null, "typeParameters": [ "TItem" ] }, "platejs:PropertyStringDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "PropertyStringDescriptor", "runtime": false, "signature": "interface PropertyStringDescriptor | undefined = undefined> extends PropertyValueDescriptor {}", "source": null, "typeParameters": [ "TOptions extends PropertyValueOptions | undefined = undefined" ] }, "platejs:PropertyValidation": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PropertyValidation", "runtime": false, "signature": "type PropertyValidation = Readonly<{\n validate?: never;\n validationVersion?: never;\n}> | Readonly<{\n /** Narrow an untrusted JSON value to the declared property type. */\n validate: (value: unknown) => value is TValue;\n /** Bump whenever validation behavior changes. */\n validationVersion: number;\n}>;", "source": null, "typeParameters": [ "TValue" ] }, "platejs:PropertyValueDescriptor": { "aliases": [], "documentation": "One immutable JSON value law shared by text and element properties.", "entrypoint": "platejs", "kind": "interface", "name": "PropertyValueDescriptor", "runtime": false, "signature": "interface PropertyValueDescriptor | undefined = PropertyValueOptions | undefined> {\n /** Type-only carrier for exact property-option inference. */\n readonly '~schema.options'?: TOptions;\n /** Type-only carrier for exact property-value inference. */\n readonly '~schema.value'?: TValue;\n readonly default?: TValue;\n readonly generate?: () => TValue;\n readonly kind: TKind;\n readonly omitDefault: [PropertyValueOptions | undefined] extends [TOptions] ? boolean : TOptions extends {\n omitDefault: true;\n } ? true : false;\n readonly required: [PropertyValueOptions | undefined] extends [TOptions] ? boolean : TOptions extends {\n required: true;\n } ? true : false;\n /** Runtime validator; excluded from structural schema identity. */\n readonly validate?: (value: unknown) => value is TValue;\n /** Structural identity for `validate`; required whenever it is present. */\n readonly validationVersion?: number;\n}", "source": null, "typeParameters": [ "TValue = unknown", "TKind extends PropertyValueKind = PropertyValueKind", "TOptions extends PropertyValueOptions | undefined = PropertyValueOptions | undefined" ] }, "platejs:PropertyValueKind": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PropertyValueKind", "runtime": false, "signature": "type PropertyValueKind = 'boolean' | 'enum' | 'json' | 'number' | 'set' | 'string';", "source": null, "typeParameters": [] }, "platejs:PropertyValueOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PropertyValueOf", "runtime": false, "signature": "type PropertyValueOf = TDescriptor extends Readonly<{\n '~schema.value'?: infer TValue;\n}> ? TValue : never;", "source": null, "typeParameters": [ "TDescriptor" ] }, "platejs:PropertyValueOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "PropertyValueOptions", "runtime": false, "signature": "type PropertyValueOptions = PropertyValueBaseOptions & PropertyValidation;", "source": null, "typeParameters": [ "TValue" ] }, "platejs:Range": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "Range", "runtime": false, "signature": "type Range = BaseRange;", "source": null, "typeParameters": [] }, "platejs:RangeAnchorAssociation": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RangeAnchorAssociation", "runtime": false, "signature": "type RangeAnchorAssociation = AnchorAssociation | 'inward' | 'outward';", "source": null, "typeParameters": [] }, "platejs:RangeApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "RangeApi", "runtime": true, "signature": "RangeApi: Readonly", "source": null, "typeParameters": [] }, "platejs:RangeDirection": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RangeDirection", "runtime": false, "signature": "type RangeDirection = TextDirection | 'outward' | 'inward';", "source": null, "typeParameters": [] }, "platejs:RangeEdgesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "RangeEdgesOptions", "runtime": false, "signature": "interface RangeEdgesOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:RangeInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "RangeInterface", "runtime": false, "signature": "interface RangeInterface {\n /**\n * Get the start and end points of a range, in the order in which they appear\n * in the document.\n */\n edges: (range: Range, options?: RangeEdgesOptions) => readonly [Point, Point];\n /**\n * Get the end point of a range.\n */\n end: (range: Range) => Point;\n /**\n * Check if a range is exactly equal to another.\n */\n equals: (range: Range | null, another: Range | null) => boolean;\n /**\n * Check if a range includes a path, a point or part of another range.\n */\n includes: (range: Range, target: Location) => boolean;\n /**\n * Check if a range includes another range.\n */\n surrounds: (range: Range, target: Range) => boolean;\n /**\n * Get the intersection of a range with another.\n */\n intersection: (range: Range, another: Range) => Range | null;\n /**\n * Check if a range is backward, meaning that its anchor point appears in the\n * document _after_ its focus point.\n */\n isBackward: (range: Range) => boolean;\n /**\n * Check if a range is collapsed, meaning that both its anchor and focus\n * points refer to the exact same position in the document.\n */\n isCollapsed: (range: Range) => boolean;\n /**\n * Check if a range is expanded.\n *\n * This is the opposite of [[RangeApi.isCollapsed]] and is provided for legibility.\n */\n isExpanded: (range: Range) => boolean;\n /**\n * Check if a range is forward.\n *\n * This is the opposite of [[RangeApi.isBackward]] and is provided for legibility.\n */\n isForward: (range: Range) => boolean;\n /**\n * Check if a value implements the [[Range]] interface.\n */\n isRange: (value: unknown) => value is Range;\n /**\n * Iterate through all of the point entries in a range.\n */\n points: (range: Range) => Generator;\n /**\n * Get the start point of a range.\n */\n start: (range: Range) => Point;\n}", "source": null, "typeParameters": [] }, "platejs:RangeMode": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RangeMode", "runtime": false, "signature": "type RangeMode = 'highest' | 'lowest';", "source": null, "typeParameters": [] }, "platejs:readEditorSchemaContract": { "aliases": [], "documentation": "Strictly recognize a generated schema contract before runtime use.", "entrypoint": "platejs", "kind": "const", "name": "readEditorSchemaContract", "runtime": true, "signature": "readEditorSchemaContract: (value: unknown) => EditorSchemaContract | undefined", "source": null, "typeParameters": [] }, "platejs:readEditorSelection": { "aliases": [ "getSelection" ], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "readEditorSelection", "runtime": true, "signature": "getSelection: (editor: AnyEditor) => Selection", "source": null, "typeParameters": [] }, "platejs:RemoveMarkCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RemoveMarkCommand", "runtime": false, "signature": "type RemoveMarkCommand = {\n key: string;\n};", "source": null, "typeParameters": [] }, "platejs:RemoveNodesCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RemoveNodesCommand", "runtime": false, "signature": "type RemoveNodesCommand = {\n options?: CommandTargetOptions;\n};", "source": null, "typeParameters": [] }, "platejs:RenderElementFn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RenderElementFn", "runtime": false, "signature": "type RenderElementFn = (props: RenderElementProps) => any;", "source": null, "typeParameters": [] }, "platejs:RenderElementProps": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RenderElementProps", "runtime": false, "signature": "type RenderElementProps = {\n attributes: {\n [key: string]: unknown;\n 'data-editor-node': 'element';\n ref?: (element: HTMLElement | null) => void;\n className?: string;\n 'data-editor-inline'?: true;\n 'data-editor-void'?: true;\n dir?: 'auto' | 'ltr' | 'rtl';\n style?: any;\n };\n children: any;\n element: N;\n /** Pre-computed path for static rendering (avoids expensive findPath traversal). */\n path?: Path;\n /** Element-owned primary and named content renderers. */\n slots: RenderElementSlots;\n};", "source": null, "typeParameters": [ "N extends Element = Element" ] }, "platejs:RenderElementSlots": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RenderElementSlots", "runtime": false, "signature": "type RenderElementSlots = {\n children: (options?: any) => any;\n contentBoundary: (props: any) => any;\n contentRoot: (slot: ElementContentRootSlot, options?: any) => any;\n};", "source": null, "typeParameters": [ "N extends Element = Element" ] }, "platejs:RenderLeafFn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RenderLeafFn", "runtime": false, "signature": "type RenderLeafFn = (props: RenderLeafProps) => any;", "source": null, "typeParameters": [] }, "platejs:RenderLeafProps": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RenderLeafProps", "runtime": false, "signature": "type RenderLeafProps = {\n attributes: {\n [key: string]: unknown;\n className?: string;\n 'data-editor-leaf'?: true;\n style?: any;\n };\n children: any;\n leaf: Omit;\n /** Stable path for the live text node. */\n path?: Path;\n text: Omit;\n /** Position of this rendered segment when Decorations split the text node. */\n leafPosition?: LeafPosition;\n};", "source": null, "typeParameters": [ "N extends Text$1 = Text$1", "L extends Text$1 = N" ] }, "platejs:RenderStaticNodeWrapper": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RenderStaticNodeWrapper", "runtime": false, "signature": "type RenderStaticNodeWrapper = {\n bivarianceHack(props: RenderStaticNodeWrapperProps): RenderStaticNodeWrapperFunction;\n}['bivarianceHack'];", "source": null, "typeParameters": [ "TSource extends RenderStaticNodeWrapperSource = any" ] }, "platejs:RenderStaticNodeWrapperFunction": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RenderStaticNodeWrapperFunction", "runtime": false, "signature": "type RenderStaticNodeWrapperFunction = {\n bivarianceHack(hocProps: RenderStaticNodeWrapperProps): any;\n}['bivarianceHack'] | null | undefined;", "source": null, "typeParameters": [ "TSource extends RenderStaticNodeWrapperSource = any" ] }, "platejs:RenderStaticNodeWrapperProps": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RenderStaticNodeWrapperProps", "runtime": false, "signature": "type RenderStaticNodeWrapperProps = RenderStaticNodeWrapperDefinition extends (infer C extends AnyBasePluginDefinition) ? BaseRenderNodeProps & RenderElementProps<0 extends 1 & TSource ? Element : ElementWith>> & {\n path: Path;\n} : never;", "source": null, "typeParameters": [ "TSource extends RenderStaticNodeWrapperSource = any" ] }, "platejs:RenderTextFn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RenderTextFn", "runtime": false, "signature": "type RenderTextFn = (props: RenderTextProps) => any;", "source": null, "typeParameters": [] }, "platejs:RenderTextHostProps": { "aliases": [], "documentation": "One call for a whole text, which owns the text's identity.", "entrypoint": "platejs", "kind": "type", "name": "RenderTextHostProps", "runtime": false, "signature": "type RenderTextHostProps = {\n /** The text node being rendered. */\n text: N;\n /** Pre-computed path for static rendering. */\n path?: Path;\n /** The children (leaves) rendered within this text node. */\n children: any;\n /**\n * HTML attributes to be spread onto the rendered container element. Includes\n * `data-editor-node=\"text\"` and `ref`.\n */\n attributes: {\n [key: string]: unknown;\n 'data-editor-node': 'text';\n ref?: ((element: HTMLSpanElement | null) => void) | {\n current: HTMLSpanElement | null;\n } | null;\n className?: string;\n style?: any;\n };\n piece?: undefined;\n};", "source": null, "typeParameters": [ "N extends Text$1 = Text$1" ] }, "platejs:RenderTextPieceProps": { "aliases": [], "documentation": "One call for one piece of a paged text: a measured run of the text on a\ndrawn page, the lines of a page not drawn yet, or a whole text that no layout\nmeasures. One line can hold several runs of a text.", "entrypoint": "platejs", "kind": "type", "name": "RenderTextPieceProps", "runtime": false, "signature": "type RenderTextPieceProps = {\n /** The whole text node the piece belongs to. */\n text: N;\n /** The leaves of this piece alone. */\n children: any;\n /**\n * HTML attributes to be spread onto the rendered element. Includes\n * `data-editor-text-piece` and the attributes plugins add, never the text's\n * identity or `ref`.\n */\n attributes: {\n [key: string]: unknown;\n 'data-editor-node'?: never;\n 'data-editor-node-key'?: never;\n 'data-editor-path'?: never;\n 'data-editor-text-piece': true;\n className?: string;\n ref?: never;\n style?: any;\n };\n path?: never;\n /** The piece's position among the text's pieces. */\n piece: Readonly<{\n index: number;\n }>;\n};", "source": null, "typeParameters": [ "N extends Text$1 = Text$1" ] }, "platejs:RenderTextProps": { "aliases": [], "documentation": "Props of a text renderer. Outside a paged view each text gets one call with\nits host attributes. In a paged view each piece of a text gets its own call\nwith `piece`, so narrow on `piece` before reading `ref` or the text's\nidentity.", "entrypoint": "platejs", "kind": "type", "name": "RenderTextProps", "runtime": false, "signature": "type RenderTextProps = RenderTextHostProps | RenderTextPieceProps;", "source": null, "typeParameters": [ "N extends Text$1 = Text$1" ] }, "platejs:ReplaceSliceCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ReplaceSliceCommand", "runtime": false, "signature": "type ReplaceSliceCommand = {\n options?: CommandTargetOptions;\n slice: ContentSlice$1;\n};", "source": null, "typeParameters": [] }, "platejs:ResolvedInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ResolvedInputRule", "runtime": false, "signature": "type ResolvedInputRule = StoredInputRule & {\n id: string;\n plugin: AnyBasePlugin;\n priority: number;\n ruleIndex: number;\n pluginIndex: number;\n};", "source": null, "typeParameters": [] }, "platejs:ResolvedInputRulesMeta": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ResolvedInputRulesMeta", "runtime": false, "signature": "type ResolvedInputRulesMeta = Readonly<{\n insertBreak: ReadonlyArray>;\n insertData: ReadonlyArray>;\n insertText: Readonly<{\n all: ReadonlyArray>;\n byTrigger: Readonly>>>;\n }>;\n plugins: Readonly>>;\n}>;", "source": null, "typeParameters": [] }, "platejs:restoreEditorSchemaContract": { "aliases": [], "documentation": "Restore a generated structural contract and bind current live validators.", "entrypoint": "platejs", "kind": "const", "name": "restoreEditorSchemaContract", "runtime": true, "signature": "restoreEditorSchemaContract: (input: unknown, records: readonly EditorSchemaContributionRecord[], revision?: number) => CompiledEditorSchema", "source": null, "typeParameters": [] }, "platejs:RootKey": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RootKey", "runtime": false, "signature": "type RootKey = string;", "source": null, "typeParameters": [] }, "platejs:RuleDecision": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "RuleDecision", "runtime": false, "signature": "type RuleDecision = TAction | StructuralRuleResolver;", "source": null, "typeParameters": [ "TAction", "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:schema": { "aliases": [], "documentation": "Placement, key, grammar, and root declaration builders.", "entrypoint": "platejs", "kind": "const", "name": "schema", "runtime": true, "signature": "schema: SchemaDefinitionApi", "source": null, "typeParameters": [] }, "platejs:SchemaBuiltInGroupName": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaBuiltInGroupName", "runtime": false, "signature": "type SchemaBuiltInGroupName = 'all' | 'block' | 'element' | 'inline' | 'text' | 'textBlock';", "source": null, "typeParameters": [] }, "platejs:SchemaContent": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaContent", "runtime": false, "signature": "type SchemaContent = Readonly<{\n allowed: TAllowed;\n prefix?: readonly SchemaContentPrefixSlot[];\n} & ([TOptions] extends [undefined] ? SchemaContentOptions : TOptions) & ([SchemaContentRule] extends [TAllowed] ? {} : SchemaContentRuleWitness)>;", "source": null, "typeParameters": [ "TAllowed extends SchemaContentRule = SchemaContentRule", "TOptions extends SchemaContentOptions | undefined = undefined" ] }, "platejs:SchemaContentDefault": { "aliases": [], "documentation": "The child content creates when it needs one: an empty text, or a `type`\nelement with optional `properties`, such as a heading's required `level`.", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentDefault", "runtime": false, "signature": "type SchemaContentDefault = 'text' | Readonly<{\n properties?: Readonly>;\n type: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaContentInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentInput", "runtime": false, "signature": "type SchemaContentInput = SchemaContent | SchemaContentRule;", "source": null, "typeParameters": [] }, "platejs:SchemaContentOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentOptions", "runtime": false, "signature": "type SchemaContentOptions = Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaContentPrefixSlot": { "aliases": [], "documentation": "One required child at a fixed position before ordinary content.", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentPrefixSlot", "runtime": false, "signature": "type SchemaContentPrefixSlot = Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaContentRoot": { "aliases": [], "documentation": "One element-owned named-root grammar and its ownership law.", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentRoot", "runtime": false, "signature": "type SchemaContentRoot = Readonly<{\n content: TContent;\n ownership: TOwnership;\n /** Needs `ownership: 'exclusive'` and a void owner. */\n structure?: SchemaContentRootStructure;\n}>;", "source": null, "typeParameters": [ "TContent extends SchemaContent = SchemaContent", "TOwnership extends SchemaContentRootOwnership = SchemaContentRootOwnership" ] }, "platejs:SchemaContentRootContribution": { "aliases": [], "documentation": "One content-root slot projected onto matching element types.", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentRootContribution", "runtime": false, "signature": "type SchemaContentRootContribution = Readonly;", "source": null, "typeParameters": [ "TSlot extends string = string", "TRoot extends SchemaContentRoot = SchemaContentRoot", "TTarget extends SchemaElementTarget = SchemaElementTarget" ] }, "platejs:SchemaContentRootInput": { "aliases": [], "documentation": "Shared roots may use their grammar directly; ownership defaults to shared.", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentRootInput", "runtime": false, "signature": "type SchemaContentRootInput = SchemaContent | SchemaContentRoot;", "source": null, "typeParameters": [] }, "platejs:SchemaContentRootOwnership": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentRootOwnership", "runtime": false, "signature": "type SchemaContentRootOwnership = 'exclusive' | 'shared';", "source": null, "typeParameters": [] }, "platejs:SchemaContentRootSlotsFor": { "aliases": [], "documentation": "Required `childRoots` slots inferred for one schema element type.", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentRootSlotsFor", "runtime": false, "signature": "type SchemaContentRootSlotsFor> = SchemaOwnedContentRootSlots | SchemaTargetedContentRootSlot;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes" ] }, "platejs:SchemaContentRootStructure": { "aliases": [], "documentation": "A content root whose top-level blocks are members of a set: a text selection\nstays in one member, and range removal never crosses two. Members keep their\nstored order.", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentRootStructure", "runtime": false, "signature": "type SchemaContentRootStructure = Readonly<{\n kind: 'set';\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaContentRule": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaContentRule", "runtime": false, "signature": "type SchemaContentRule = Readonly<{\n kind: 'all';\n rules: readonly SchemaContentRule[];\n}> | Readonly<{\n kind: 'any';\n rules: readonly SchemaContentRule[];\n}> | Readonly<{\n group: string;\n kind: 'group';\n}> | Readonly<{\n kind: 'not';\n rule: SchemaContentRule;\n}> | Readonly<{\n kind: 'open';\n}> | Readonly<{\n kind: 'text';\n}> | Readonly<{\n kind: 'type';\n type: string;\n}> | Readonly<{\n kind: 'types';\n types: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaDescendant": { "aliases": [], "documentation": "Any descendant accepted by a closed schema definition.", "entrypoint": "platejs", "kind": "type", "name": "SchemaDescendant", "runtime": false, "signature": "type SchemaDescendant = string extends SchemaElementTypes ? BaseElement | BaseText : SchemaElementFor | SchemaText;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs:SchemaElement": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaElement", "runtime": false, "signature": "type SchemaElement = Readonly;", "source": null, "typeParameters": [ "TInput extends SchemaElementInput = SchemaElementInput" ] }, "platejs:SchemaElementConstructionPropertiesFor": { "aliases": [], "documentation": "Element properties accepted before schema defaults are materialized.", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementConstructionPropertiesFor", "runtime": false, "signature": "type SchemaElementConstructionPropertiesFor> = string extends SchemaElementTypes ? Readonly> : SchemaConstructionPropertiesFromEntries>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes" ] }, "platejs:SchemaElementFor": { "aliases": [], "documentation": "One element variant inferred from a frozen schema definition.\n\nIts discriminator and properties are exact. Its descendants stay broad;\nruntime schema owns parent/child grammar and recursive validation.", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementFor", "runtime": false, "signature": "type SchemaElementFor = SchemaElementTypes> = string extends SchemaElementTypes ? BaseElement : TType extends SchemaElementTypes ? Readonly<{\n '~schema.node'?: SchemaNodeTypeProviderFor;\n}> & SchemaNodeElementFor : never;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes = SchemaElementTypes" ] }, "platejs:SchemaElementHandle": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementHandle", "runtime": false, "signature": "type SchemaElementHandle : string> = Readonly<{\n kind: 'schema-element';\n schema: TSchema;\n type: TType;\n}>;", "source": null, "typeParameters": [ "TSchema extends object = EditorSchemaSource", "TType extends string = TSchema extends EditorSchemaSource ? SchemaElementTypes : string" ] }, "platejs:SchemaElementInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementInput", "runtime": false, "signature": "type SchemaElementInput = Readonly<{\n atom?: boolean;\n content?: SchemaContent;\n /** Projected named-root grammars keyed by the element's `childRoots` slot. */\n contentRoots?: Readonly>;\n /** Explicit product groups. Structural groups are compiler-derived. */\n groups?: readonly string[];\n inline?: boolean;\n /** Grid and grid cell roles are always isolating, and refuse `false`. */\n isolating?: boolean;\n markableVoid?: boolean;\n object?: boolean;\n /**\n * Declares the text block a structure of its own, such as a code block:\n * `tx.break.exit` leaves it before any container around it. Text blocks\n * only; voids and objects always own their exit.\n */\n ownsExit?: boolean;\n properties?: SchemaElementProperties;\n readOnly?: boolean;\n selectable?: boolean;\n slice?: SchemaElementSlicePolicy;\n structure?: SchemaElementStructure;\n void?: 'block' | 'inline' | 'markable-inline';\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaElementProperties": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementProperties", "runtime": false, "signature": "type SchemaElementProperties = Readonly>;", "source": null, "typeParameters": [] }, "platejs:SchemaElementPropertiesFor": { "aliases": [], "documentation": "Optional JSON property values accepted for one schema element type.", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementPropertiesFor", "runtime": false, "signature": "type SchemaElementPropertiesFor> = string extends SchemaElementTypes ? Readonly> : SchemaPropertiesFromEntries>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes" ] }, "platejs:SchemaElementProperty": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementProperty", "runtime": false, "signature": "type SchemaElementProperty = SchemaPropertyReferencesOf> = Readonly<{\n copy: SchemaPropertyCopyPolicy;\n key: TKey;\n landing: SchemaPropertyLandingPolicy;\n placement: 'element';\n references?: TReferences;\n role: SchemaPropertyRole;\n split: SchemaPropertySplitPolicy;\n target: TTarget;\n typeChange: SchemaPropertyTypeChangePolicy;\n unique?: true;\n value: TDescriptor;\n}>;", "source": null, "typeParameters": [ "TKey extends SchemaPropertyKey = SchemaPropertyKey", "TDescriptor extends PropertyValueDescriptor = PropertyValueDescriptor", "TTarget extends SchemaTarget = SchemaTarget", "TReferences extends SchemaPropertyReferencesOf = SchemaPropertyReferencesOf" ] }, "platejs:SchemaElementPropertyDefinition": { "aliases": [], "documentation": "Element-property law before a keyed owner assigns persisted identity.", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementPropertyDefinition", "runtime": false, "signature": "type SchemaElementPropertyDefinition = SchemaPropertyReferencesOf> = Omit, 'key'>;", "source": null, "typeParameters": [ "TDescriptor extends PropertyValueDescriptor = PropertyValueDescriptor", "TTarget extends SchemaTarget = SchemaTarget", "TReferences extends SchemaPropertyReferencesOf = SchemaPropertyReferencesOf" ] }, "platejs:SchemaElementPropertyKeys": { "aliases": [], "documentation": "Element property keys accepted for one schema element type.", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementPropertyKeys", "runtime": false, "signature": "type SchemaElementPropertyKeys> = string extends SchemaElementTypes ? string : SchemaEntryKey>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes" ] }, "platejs:SchemaElementPropertyOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementPropertyOptions", "runtime": false, "signature": "type SchemaElementPropertyOptions = Readonly<{\n copy?: SchemaPropertyCopyPolicy;\n /** Defaults to `preserve`. */\n landing?: SchemaPropertyLandingPolicy;\n references?: SchemaPropertyReferences;\n role?: SchemaPropertyRole;\n /** Defaults to `drop` for a generated value, and `preserve` otherwise. */\n split?: SchemaPropertySplitPolicy;\n target: SchemaTarget;\n typeChange?: SchemaPropertyTypeChangePolicy;\n /**\n * No two elements store one value of this property. A commit or a load that\n * stores a value another element holds gives one of them a fresh value from\n * the generator, so a write that stores a held value lands with a new one:\n * read the value back from the landed node. A peer's concurrent repair can\n * change it again. Requires a generator that never repeats a value, an\n * exact key, a value other than a set, the `metadata` role, a target that\n * holds wherever its types stand, `landing: 'preserve'` and\n * `typeChange: 'preserve-if-allowed'`. Where the target holds on a type that\n * is not a void, it holds on every type that can take that type's place, so\n * a retype keeps the value. A void may hold it alone: a retype between a\n * type that holds it and one that does not replaces the element. Editing\n * drops the value and undo brings it back; Suggesting records a deletion and\n * an insertion, so a rejection keeps the element and its value. Where the\n * two cannot stand side by side, such as in a slot at its maximum or under\n * one exclusive content root, Suggesting refuses the retype and changes\n * nothing. A format tag that a writer without this rule saved for such a\n * retype holds no value, so rejecting a tag that dropped the value returns\n * `invalid`. Only a holder of a declared type keeps its value this way; an\n * undeclared type that `unknown: 'preserve'` keeps does not. Sets `copy` and\n * `split` to `drop`. The key takes no other element declaration, since every\n * holder's fresh value comes from this one's generator.\n * Suggesting writes the value in place, with no suggestion, except that a\n * suggested split that drops the value parks it in the split's history,\n * where no element holds it until someone decides.\n */\n unique?: true;\n}>;", "source": null, "typeParameters": [ "TValue = unknown" ] }, "platejs:SchemaElementPropertyValue": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementPropertyValue", "runtime": false, "signature": "type SchemaElementPropertyValue, TKey extends SchemaElementPropertyKeys> = SchemaEntryValue, TKey>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes", "TKey extends SchemaElementPropertyKeys" ] }, "platejs:SchemaElementShapeFor": { "aliases": [], "documentation": "One schema-owned element shape before it is placed in an installed editor.\nA descriptor owns its discriminator and properties; runtime schema owns its\nlegal parent/child relationships.", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementShapeFor", "runtime": false, "signature": "type SchemaElementShapeFor = SchemaElementTypes> = string extends SchemaElementTypes ? BaseElement : TType extends SchemaElementTypes ? Readonly<{\n '~schema.node'?: SchemaNodeTypeProviderFor;\n}> & SchemaNodeElementFor : never;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes = SchemaElementTypes" ] }, "platejs:SchemaElementSlicePolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementSlicePolicy", "runtime": false, "signature": "type SchemaElementSlicePolicy = Readonly<{\n endMatter?: boolean;\n preserveContext?: boolean;\n replaceWhenCovered?: boolean;\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaElementStructure": { "aliases": [], "documentation": "Declarative logical structure read by document comparison and range removal.", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementStructure", "runtime": false, "signature": "type SchemaElementStructure = Readonly<{\n kind: 'grid';\n /** Cell column-span property. Only valid for the `cell` role. */\n columnSpan?: string;\n role: 'cell' | 'grid' | 'row';\n /** Cell row-span property. Only valid for the `cell` role. */\n rowSpan?: string;\n}> | Readonly<{\n /** Element property containing the logical nesting depth. */\n depth: string;\n kind: 'list';\n /** Optional element property identifying one logical list. */\n membership?: string;\n}> | Readonly<{\n kind: 'outline';\n /** Element property containing the outline level. */\n level: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaElementTarget": { "aliases": [], "documentation": "Element-type-only target used by structural schema contributions.", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementTarget", "runtime": false, "signature": "type SchemaElementTarget = Readonly<{\n kind: 'and';\n targets: readonly SchemaElementTarget[];\n}> | Readonly<{\n group: string;\n kind: 'group';\n}> | Readonly<{\n kind: 'not';\n target: SchemaElementTarget;\n}> | Readonly<{\n kind: 'or';\n targets: readonly SchemaElementTarget[];\n}> | Readonly<{\n kind: 'type';\n type: string;\n}> | SchemaTypesTarget;", "source": null, "typeParameters": [] }, "platejs:SchemaElementTypes": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaElementTypes", "runtime": false, "signature": "type SchemaElementTypes = Extract['elements']>, string>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs:SchemaGroup": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaGroup", "runtime": false, "signature": "type SchemaGroup = Readonly;", "source": null, "typeParameters": [ "TOptions extends SchemaGroupOptions = SchemaGroupOptions" ] }, "platejs:SchemaGroupNames": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaGroupNames", "runtime": false, "signature": "type SchemaGroupNames = SchemaBuiltInGroupName | Extract['groups']>, string>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs:SchemaGroupOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaGroupOptions", "runtime": false, "signature": "type SchemaGroupOptions = Readonly<{\n extends?: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaKeyPrefix": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaKeyPrefix", "runtime": false, "signature": "type SchemaKeyPrefix = Readonly<{\n kind: 'prefix';\n prefix: TPrefix;\n}>;", "source": null, "typeParameters": [ "TPrefix extends string = string" ] }, "platejs:SchemaPluginsOf": { "aliases": [], "documentation": "Complete schema vocabulary composed from every installed contribution.", "entrypoint": "platejs", "kind": "type", "name": "SchemaPluginsOf", "runtime": false, "signature": "type SchemaPluginsOf = SchemaComposedPlugin;", "source": null, "typeParameters": [ "TInput" ] }, "platejs:SchemaProperty": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaProperty", "runtime": false, "signature": "type SchemaProperty = SchemaElementProperty | SchemaTextProperty;", "source": null, "typeParameters": [] }, "platejs:SchemaPropertyCopyPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyCopyPolicy", "runtime": false, "signature": "type SchemaPropertyCopyPolicy = 'drop' | 'preserve';", "source": null, "typeParameters": [] }, "platejs:SchemaPropertyDefinition": { "aliases": [], "documentation": "Property law accepted by keyed schema-owner maps.", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyDefinition", "runtime": false, "signature": "type SchemaPropertyDefinition = SchemaElementPropertyDefinition | SchemaTextPropertyDefinition;", "source": null, "typeParameters": [] }, "platejs:SchemaPropertyExclusiveGroup": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyExclusiveGroup", "runtime": false, "signature": "type SchemaPropertyExclusiveGroup = Readonly<{\n id: TId;\n kind: 'exclusive';\n}>;", "source": null, "typeParameters": [ "TId extends string = string" ] }, "platejs:SchemaPropertyHandle": { "aliases": [], "documentation": "One exact authored or compiled property identity.", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyHandle", "runtime": false, "signature": "type SchemaPropertyHandle = Readonly<{\n id: string;\n key: TKey;\n kind: 'schema-property';\n placement: TPlacement;\n /**\n * Covariant value witness; absent from runtime values.\n *\n * @internal\n */\n readonly [schemaPropertyHandleValue]?: TValue;\n}>;", "source": null, "typeParameters": [ "TKey extends SchemaPropertyKey = SchemaPropertyKey", "TValue = unknown", "TPlacement extends 'element' | 'text' = 'element' | 'text'" ] }, "platejs:SchemaPropertyHandleValue": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyHandleValue", "runtime": false, "signature": "type SchemaPropertyHandleValue = THandle extends SchemaPropertyHandle ? TValue : never;", "source": null, "typeParameters": [ "THandle" ] }, "platejs:SchemaPropertyIds": { "aliases": [], "documentation": "Stable compiled property-ID patterns. Hash suffixes remain runtime-derived.", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyIds", "runtime": false, "signature": "type SchemaPropertyIds = SchemaAllPropertyEntry extends (infer TEntry) ? TEntry extends {\n key: infer TKey extends SchemaPropertyKey;\n placement: infer TPlacement extends 'element' | 'text';\n} ? `${TPlacement}:${SchemaPropertyLabel}@${string}` : never : never;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs:SchemaPropertyKey": { "aliases": [], "documentation": "Exact keys are strings; namespaces use `schema.key.prefix(...)`.", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyKey", "runtime": false, "signature": "type SchemaPropertyKey = SchemaKeyPrefix | string;", "source": null, "typeParameters": [] }, "platejs:SchemaPropertyLandingPolicy": { "aliases": [], "documentation": "Whether where content lands decides an element property. `rebase`: a text\nmove may change it, such as a depth. `adopt`: a text move may change it,\nand a block copy or move may take it from where it lands, such as a list.", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyLandingPolicy", "runtime": false, "signature": "type SchemaPropertyLandingPolicy = 'adopt' | 'preserve' | 'rebase';", "source": null, "typeParameters": [] }, "platejs:SchemaPropertyReferences": { "aliases": [], "documentation": "How an element property names elements by the values of a unique element\nproperty. The property must have an exact key, target element types alone,\nhave no default value and not be unique itself, and `key` must be the key\nof a unique string element property. No content slot or content default\nmay fix either property. The compiler refuses any other declaration.", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyReferences", "runtime": false, "signature": "type SchemaPropertyReferences = Readonly<{\n /** The unique element property whose values this property names. */\n key: string;\n /**\n * The value with each name it holds replaced by `renamed(name)` where that\n * is defined. `renamed` returns the new value of a holder the same copy\n * carried, and `undefined` for any other name.\n */\n map: (value: TValue, renamed: (name: string) => string | undefined) => TValue;\n}>;", "source": null, "typeParameters": [ "TValue" ] }, "platejs:SchemaPropertyRole": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyRole", "runtime": false, "signature": "type SchemaPropertyRole = 'content' | 'metadata';", "source": null, "typeParameters": [] }, "platejs:SchemaPropertySplitPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertySplitPolicy", "runtime": false, "signature": "type SchemaPropertySplitPolicy = 'drop' | 'preserve';", "source": null, "typeParameters": [] }, "platejs:SchemaPropertyTypeChangePolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaPropertyTypeChangePolicy", "runtime": false, "signature": "type SchemaPropertyTypeChangePolicy = 'drop' | 'preserve-if-allowed';", "source": null, "typeParameters": [] }, "platejs:SchemaRecordSet": { "aliases": [], "documentation": "One set of keyed records the document keeps beside its children.", "entrypoint": "platejs", "kind": "type", "name": "SchemaRecordSet", "runtime": false, "signature": "type SchemaRecordSet = Readonly<{\n /**\n * `retain` leaves this set's puts and drops out of undo and redo, so a\n * record another change still points at outlives the undo of the commit\n * that wrote it.\n */\n history?: 'retain';\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaRootNames": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaRootNames", "runtime": false, "signature": "type SchemaRootNames = Extract['roots']>, string>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs:SchemaTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaTarget", "runtime": false, "signature": "type SchemaTarget = Readonly<{\n kind: 'and';\n targets: readonly SchemaTarget[];\n}> | Readonly<{\n group: string;\n kind: 'group';\n}> | Readonly<{\n kind: 'not';\n target: SchemaTarget;\n}> | Readonly<{\n kind: 'or';\n targets: readonly SchemaTarget[];\n}> | Readonly<{\n kind: 'parent';\n target: SchemaTarget;\n}> | Readonly<{\n kind: 'root';\n root: string | null;\n}> | Readonly<{\n kind: 'type';\n type: string;\n}> | SchemaTypesTarget;", "source": null, "typeParameters": [] }, "platejs:SchemaText": { "aliases": [], "documentation": "One text leaf inferred from a frozen schema definition.", "entrypoint": "platejs", "kind": "type", "name": "SchemaText", "runtime": false, "signature": "type SchemaText = string extends SchemaElementTypes ? BaseText : Readonly<{\n text: string;\n}> & SchemaTextProperties;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs:SchemaTextBlockOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaTextBlockOptions", "runtime": false, "signature": "type SchemaTextBlockOptions = Omit;", "source": null, "typeParameters": [] }, "platejs:SchemaTextProperties": { "aliases": [], "documentation": "Optional JSON property values accepted on schema text leaves.", "entrypoint": "platejs", "kind": "type", "name": "SchemaTextProperties", "runtime": false, "signature": "type SchemaTextProperties = string extends SchemaElementTypes ? Readonly> : SchemaPropertiesFromEntries>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs:SchemaTextProperty": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaTextProperty", "runtime": false, "signature": "type SchemaTextProperty = Readonly<{\n copy: SchemaPropertyCopyPolicy;\n exclusive?: readonly SchemaPropertyExclusiveGroup[];\n inclusive: boolean;\n key: TKey;\n placement: 'text';\n role: SchemaPropertyRole;\n split: SchemaPropertySplitPolicy;\n target?: TTarget;\n typeChange: SchemaPropertyTypeChangePolicy;\n value: TDescriptor;\n}>;", "source": null, "typeParameters": [ "TKey extends SchemaPropertyKey = SchemaPropertyKey", "TDescriptor extends PropertyValueDescriptor = PropertyValueDescriptor", "TTarget extends SchemaTarget | undefined = SchemaTarget | undefined" ] }, "platejs:SchemaTextPropertyDefinition": { "aliases": [], "documentation": "Text-property law before a keyed owner assigns persisted identity.", "entrypoint": "platejs", "kind": "type", "name": "SchemaTextPropertyDefinition", "runtime": false, "signature": "type SchemaTextPropertyDefinition = Omit, 'key'>;", "source": null, "typeParameters": [ "TDescriptor extends PropertyValueDescriptor = PropertyValueDescriptor", "TTarget extends SchemaTarget | undefined = SchemaTarget | undefined" ] }, "platejs:SchemaTextPropertyKeys": { "aliases": [], "documentation": "Exact and prefix-pattern text property keys declared by a schema.", "entrypoint": "platejs", "kind": "type", "name": "SchemaTextPropertyKeys", "runtime": false, "signature": "type SchemaTextPropertyKeys = string extends SchemaElementTypes ? string : SchemaEntryKey>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs:SchemaTextPropertyOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaTextPropertyOptions", "runtime": false, "signature": "type SchemaTextPropertyOptions = Readonly<{\n copy?: SchemaPropertyCopyPolicy;\n exclusive?: readonly SchemaPropertyExclusiveGroup[];\n inclusive?: boolean;\n role?: SchemaPropertyRole;\n split?: SchemaPropertySplitPolicy;\n target?: SchemaTarget;\n typeChange?: SchemaPropertyTypeChangePolicy;\n /** Only an element property can be unique. */\n unique?: never;\n}>;", "source": null, "typeParameters": [] }, "platejs:SchemaTypesTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SchemaTypesTarget", "runtime": false, "signature": "type SchemaTypesTarget = Readonly<{\n kind: 'types';\n types: TTypes;\n}>;", "source": null, "typeParameters": [ "TTypes extends readonly string[] = readonly string[]" ] }, "platejs:SchemaValue": { "aliases": [], "documentation": "Finite installed element vocabulary inferred from one complete schema.\nRuntime schema validates primary and named-root grammar.", "entrypoint": "platejs", "kind": "type", "name": "SchemaValue", "runtime": false, "signature": "type SchemaValue = ReadonlyArray ? BaseElement : [SchemaElementTypes] extends [never] ? BaseElement : SchemaElementFor | (SchemaDefinitionOf['unknown'] extends 'preserve' ? PreservedSchemaElement : never)> & SchemaValueBrand>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaPlugin" ] }, "platejs:SchemaValueFromPlugins": { "aliases": [], "documentation": "Default document value derived from the composed installed schema.", "entrypoint": "platejs", "kind": "type", "name": "SchemaValueFromPlugins", "runtime": false, "signature": "type SchemaValueFromPlugins = SchemaComposedPlugin extends (infer TSchema) ? TSchema extends EditorSchemaPlugin ? SchemaValue : never : never;", "source": null, "typeParameters": [ "TInput" ] }, "platejs:screenReaderAnnouncementEffect": { "aliases": [], "documentation": "Local, ephemeral screen-reader text emitted by an application command.\n\nApplications own localization and wording. React hosts consume the effect;\nheadless editors retain it only on the commit that emitted it.", "entrypoint": "platejs", "kind": "const", "name": "screenReaderAnnouncementEffect", "runtime": true, "signature": "screenReaderAnnouncementEffect: EditorEffectType", "source": null, "typeParameters": [] }, "platejs:ScriptRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "ScriptRules", "runtime": true, "signature": "ScriptRules: {\n markdown: ({ value, ...options }: MarkdownMarkRuleOptions & {\n value: ScriptValue;\n }) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs:ScriptValue": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ScriptValue", "runtime": false, "signature": "type ScriptValue = (typeof scriptValues)[number];", "source": null, "typeParameters": [] }, "platejs:ScrollIntoViewTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ScrollIntoViewTarget", "runtime": false, "signature": "type ScrollIntoViewTarget = Path | Point$1;", "source": null, "typeParameters": [] }, "platejs:ScrollMode": { "aliases": [], "documentation": "Mode for picking a target when multiple enabled changes are present.", "entrypoint": "platejs", "kind": "type", "name": "ScrollMode", "runtime": false, "signature": "type ScrollMode = 'first' | 'last';", "source": null, "typeParameters": [] }, "platejs:SelectCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SelectCommand", "runtime": false, "signature": "type SelectCommand = {\n target: EditorSelection | Location;\n};", "source": null, "typeParameters": [] }, "platejs:Selection": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "Selection", "runtime": false, "signature": "type Selection = TSelection | null;", "source": null, "typeParameters": [ "TSelection extends SelectionValue = SelectionValue" ] }, "platejs:SelectionApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "SelectionApi", "runtime": true, "signature": "SelectionApi: Readonly<{\n equals(left: Selection, right: Selection): boolean;\n isNode(value: unknown): value is NodeSelection;\n isSelection(value: unknown): value is SelectionValue;\n isText(value: unknown): value is TextSelection;\n nodes(paths: readonly [Path, ...Path[]], options: NodeSelectionOptions): NodeSelection;\n root(selection: Range | Selection): NamedRootKey | undefined;\n text(range: Range, options?: Omit): TextSelection;\n}>", "source": null, "typeParameters": [] }, "platejs:SelectionAssociation": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SelectionAssociation", "runtime": false, "signature": "type SelectionAssociation = 'backward' | 'forward';", "source": null, "typeParameters": [] }, "platejs:SelectionCollapseOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "SelectionCollapseOptions", "runtime": false, "signature": "interface SelectionCollapseOptions {\n edge?: SelectionEdge;\n}", "source": null, "typeParameters": [] }, "platejs:SelectionEdge": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SelectionEdge", "runtime": false, "signature": "type SelectionEdge = 'anchor' | 'focus' | 'start' | 'end';", "source": null, "typeParameters": [] }, "platejs:SelectionInputRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SelectionInputRuleContext", "runtime": false, "signature": "type SelectionInputRuleContext = {\n editor: InputRuleEditor;\n getBlockEntry: () => NodeEntry | undefined;\n getBlockStartRange: () => Range | undefined;\n getBlockStartText: () => string | undefined;\n getBlockTextBeforeSelection: () => string;\n getCharAfter: () => string | undefined;\n getCharBefore: () => string | undefined;\n isCollapsed: boolean;\n plugin: AnyBasePlugin;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:SelectionMode": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SelectionMode", "runtime": false, "signature": "type SelectionMode = 'all' | 'highest' | 'lowest';", "source": null, "typeParameters": [] }, "platejs:SelectionMoveOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "SelectionMoveOptions", "runtime": false, "signature": "interface SelectionMoveOptions {\n distance?: number;\n unit?: MoveUnit;\n reverse?: boolean;\n edge?: SelectionEdge;\n}", "source": null, "typeParameters": [] }, "platejs:SelectionMutationMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "SelectionMutationMethods", "runtime": false, "signature": "interface SelectionMutationMethods {\n /**\n * Collapse the selection.\n */\n collapse: (editor: Editor, options?: SelectionCollapseOptions) => void;\n /**\n * Unset the selection.\n */\n deselect: (editor: Editor) => void;\n /**\n * Move the selection's point forward or backward.\n */\n move: (editor: Editor, options?: SelectionMoveOptions) => void;\n /**\n * Set the selection to a new value.\n */\n select: (editor: Editor, target: EditorSelection | Location) => void;\n /**\n * Set new properties on one of the selection's points.\n */\n setPoint: (editor: Editor, props: Partial, options?: SelectionSetPointOptions) => void;\n /**\n * Set new properties on the selection.\n */\n setSelection: (editor: Editor, props: Partial) => void;\n}", "source": null, "typeParameters": [] }, "platejs:SelectionRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SelectionRules", "runtime": false, "signature": "type SelectionRules = {\n /**\n * Defines the selection behavior at the boundaries of nodes.\n *\n * - `directional`: Selection affinity is determined by the direction of cursor\n * movement. Maintains inward or outward affinity based on approach.\n * - `outward`: Forces outward affinity. Typing at the edge of a mark will not\n * apply the mark to new text.\n * - `hard`: Creates a 'hard' edge that requires two key presses to move across.\n * Uses offset-based navigation.\n * - `default`: Uses the editor's default behavior.\n */\n affinity?: 'default' | 'directional' | 'hard' | 'outward';\n};", "source": null, "typeParameters": [] }, "platejs:SelectionSetPointOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "SelectionSetPointOptions", "runtime": false, "signature": "interface SelectionSetPointOptions {\n edge?: SelectionEdge;\n}", "source": null, "typeParameters": [] }, "platejs:SelectionValue": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SelectionValue", "runtime": false, "signature": "type SelectionValue = NodeSelection | TextSelection;", "source": null, "typeParameters": [] }, "platejs:SerializedEditorEffect": { "aliases": [], "documentation": "JSON envelope for one typed editor effect.", "entrypoint": "platejs", "kind": "type", "name": "SerializedEditorEffect", "runtime": false, "signature": "type SerializedEditorEffect = SerializedEditorValue & Readonly<{\n key: string;\n}>;", "source": null, "typeParameters": [ "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs:SerializedEditorSelection": { "aliases": [], "documentation": "JSON envelope for one installed editor selection kind.", "entrypoint": "platejs", "kind": "type", "name": "SerializedEditorSelection", "runtime": false, "signature": "type SerializedEditorSelection = SerializedEditorValue & Readonly<{\n kind: string;\n}>;", "source": null, "typeParameters": [ "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs:SerializedEditorValue": { "aliases": [], "documentation": "JSON envelope produced by versioned editor value persistence.", "entrypoint": "platejs", "kind": "type", "name": "SerializedEditorValue", "runtime": false, "signature": "type SerializedEditorValue = Readonly<{\n value: TEncoded;\n version: number;\n}>;", "source": null, "typeParameters": [ "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs:serializePlainText": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "function", "name": "serializePlainText", "runtime": true, "signature": "declare function serializePlainText(editor: Editor, options?: PlainTextEditorOptions): PlainTextSerializeResult;", "source": null, "typeParameters": [] }, "platejs:setDebugValueScrubber": { "aliases": [], "documentation": "Override the debug value scrubber used by diagnostic formatting.", "entrypoint": "platejs", "kind": "const", "name": "setDebugValueScrubber", "runtime": true, "signature": "setDebugValueScrubber: (scrubber: DebugValueScrubber | null | undefined) => void", "source": null, "typeParameters": [] }, "platejs:setEditorReadOnly": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "setEditorReadOnly", "runtime": true, "signature": "setEditorReadOnly: (editor: AnyPluginEditor, readOnly: boolean) => void", "source": null, "typeParameters": [] }, "platejs:setEditorViewing": { "aliases": [], "documentation": "Put the editor root that shows this view in Viewing, or take it out. Every\nview of that editor root, nested ones included, turns read-only at once,\nwhile another editor root of the same editor keeps its own Mode. A lock\nfrom `setEditorReadOnly` stays on its view and the views nested in it.\nThrows for an editor that no editor root shows, such as the one\n`createEditor` returns; pass a mounted view instead.", "entrypoint": "platejs", "kind": "const", "name": "setEditorViewing", "runtime": true, "signature": "setEditorViewing: (editor: AnyPluginEditor, viewing: boolean) => void", "source": null, "typeParameters": [] }, "platejs:SetNodesCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SetNodesCommand", "runtime": false, "signature": "type SetNodesCommand = {\n options?: CommandTargetOptions;\n props: Partial;\n};", "source": null, "typeParameters": [] }, "platejs:SetSelectionCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SetSelectionCommand", "runtime": false, "signature": "type SetSelectionCommand = {\n props: Partial;\n};", "source": null, "typeParameters": [] }, "platejs:SingleBlockPlugin": { "aliases": [], "documentation": "Forces editor to only have one block.", "entrypoint": "platejs", "kind": "const", "name": "SingleBlockPlugin", "runtime": true, "signature": "SingleBlockPlugin: BasePlugin & Readonly<{\n name: \"singleBlock\";\n}> & Readonly>>", "source": null, "typeParameters": [] }, "platejs:SingleLinePlugin": { "aliases": [], "documentation": "Forces editor to only have one line.", "entrypoint": "platejs", "kind": "const", "name": "SingleLinePlugin", "runtime": true, "signature": "SingleLinePlugin: BasePlugin & Readonly<{\n name: \"singleLine\";\n}> & Readonly>>", "source": null, "typeParameters": [] }, "platejs:SliceLanding": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SliceLanding", "runtime": false, "signature": "type SliceLanding = Readonly<{\n /** What the paste fits as ordinary content, cut to the same length limit. */\n slice: ContentSlice$1;\n /**\n * Content that replaces an `empty` target whole. The editor checks it and\n * falls back to `slice` when it does not fit. A middleware that rewrites\n * `slice` rewrites or drops this too.\n */\n replaceEmpty?: Readonly<{\n /** Target properties the replacement's head never keeps. */\n omitTargetProperties?: readonly string[];\n slice: ContentSlice$1;\n }>;\n}>;", "source": null, "typeParameters": [] }, "platejs:SliceLandingInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SliceLandingInput", "runtime": false, "signature": "type SliceLandingInput = Readonly<{\n /**\n * `copy` for a paste, a node-selection replace, a copied text drop and a\n * block duplicate; `move` for a text drag that moves, where only properties\n * declared `landing: 'rebase'` or `'adopt'` may change.\n */\n intent: 'copy' | 'move';\n /** The command's slice as handlers left it, before the length limit. */\n source: ContentSlice$1;\n /** What survives the length limit, crediting the text the paste replaces. */\n slice: ContentSlice$1;\n target: SliceLandingTarget;\n}>;", "source": null, "typeParameters": [] }, "platejs:SliceLandingTarget": { "aliases": [], "documentation": "Where a paste or a block duplicate lands. `empty` is a collapsed caret in an\nempty block that a whole-block paste may replace. `context` holds the lowest\nblock at a paste's start, the first selected block's start for a paste that\nreplaces selected blocks whole, or `null` when no block is found there.\n`beside` is a block duplicate. `root` is the named root the slice lands in,\nabsent for the main document.", "entrypoint": "platejs", "kind": "type", "name": "SliceLandingTarget", "runtime": false, "signature": "type SliceLandingTarget = Readonly<{\n block: NodeEntry;\n kind: 'empty';\n root?: string;\n}> | Readonly<{\n block: NodeEntry | null;\n kind: 'context';\n root?: string;\n}> |\n/**\n * The slice holds closed copies of whole blocks, which land as the next\n * siblings of the last block copied, in `root`. `source` is the whole copy\n * and `slice` what survives the length limit, as for a paste. No target\n * block is fitted, so a middleware refreshes only what a copy must not share\n * with its source.\n */\nReadonly<{\n kind: 'beside';\n root?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:SnapshotIndex": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SnapshotIndex", "runtime": false, "signature": "type SnapshotIndex = Readonly<{\n /** Materialize the lazy index and return stable, frozen node-key/path pairs. */\n entries: () => ReadonlyArray;\n /** Return the node key at a snapshot path, or `null` when absent. */\n keyAt: (path: Path) => NodeKey | null;\n /** Return the snapshot path for a node key, or `null` when absent. */\n pathOf: (nodeKey: NodeKey) => Path | null;\n}>;", "source": null, "typeParameters": [] }, "platejs:SnapshotInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "SnapshotInput", "runtime": false, "signature": "type SnapshotInput = PersistedDocumentInput | Readonly<{\n children: V | readonly Descendant[];\n meta?: Readonly>;\n /** Omitted, the editor's records stay as they are. */\n records?: EditorDocumentRecords;\n roots?: Readonly>;\n selection?: SnapshotSelectionInput;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:Span": { "aliases": [], "documentation": "The `Span` interface is a low-level way to refer to locations in nodes\nwithout using `Point` which requires leaf text nodes to be present.", "entrypoint": "platejs", "kind": "type", "name": "Span", "runtime": false, "signature": "type Span = readonly [Path, Path];", "source": null, "typeParameters": [] }, "platejs:SpanApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "SpanApi", "runtime": true, "signature": "SpanApi: Readonly", "source": null, "typeParameters": [] }, "platejs:SpanInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "SpanInterface", "runtime": false, "signature": "interface SpanInterface {\n /**\n * Check if a value implements the `Span` interface.\n */\n isSpan: (value: unknown) => value is Span;\n}", "source": null, "typeParameters": [] }, "platejs:StateFieldCollabPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "StateFieldCollabPolicy", "runtime": false, "signature": "type StateFieldCollabPolicy = 'local' | 'shared';", "source": null, "typeParameters": [] }, "platejs:StateFieldDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "StateFieldDescriptor", "runtime": false, "signature": "type StateFieldDescriptor = Readonly<{\n collab?: StateFieldCollabPolicy;\n /** Suppresses transitions whose stored values are semantically equal. */\n compare?: (left: TValue, right: TValue) => boolean;\n history?: StateFieldHistoryPolicy;\n initial?: StateFieldInitial;\n key: string;\n persist?: EditorValuePersistence;\n reduce?: (value: TValue, effect: EditorEffect) => TValue;\n}>;", "source": null, "typeParameters": [ "TValue = unknown", "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs:StateFieldHistoryPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "StateFieldHistoryPolicy", "runtime": false, "signature": "type StateFieldHistoryPolicy = 'push' | 'skip';", "source": null, "typeParameters": [] }, "platejs:StateFieldInitial": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "StateFieldInitial", "runtime": false, "signature": "type StateFieldInitial = TValue | (() => TValue);", "source": null, "typeParameters": [ "TValue" ] }, "platejs:StateFieldValueInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "StateFieldValueInput", "runtime": false, "signature": "type StateFieldValueInput = TValue | ((previous: TValue) => TValue);", "source": null, "typeParameters": [ "TValue" ] }, "platejs:StaticRenderLeafProps": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "StaticRenderLeafProps", "runtime": false, "signature": "type StaticRenderLeafProps = {\n attributes: {\n [key: string]: unknown;\n className?: string;\n 'data-editor-leaf'?: true;\n style?: any;\n };\n children: any;\n leaf: L;\n /** Pre-computed path for static rendering. */\n path?: Path;\n text: N;\n leafPosition?: LeafPosition;\n};", "source": null, "typeParameters": [ "N extends Text$1 = Text$1", "L extends Text$1 = N" ] }, "platejs:StrikethroughRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "StrikethroughRules", "runtime": true, "signature": "StrikethroughRules: {\n markdown: (options?: MarkdownMarkRuleOptions) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs:StructuralRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "StructuralRuleContext", "runtime": false, "signature": "type StructuralRuleContext = {\n editor: StructuralRuleEditor;\n node: Element;\n path: Path;\n plugin: PluginReference;\n} & PluginBaseContext;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:StructuralRuleEditor": { "aliases": [], "documentation": "Read-only editor capabilities available while resolving a structural rule.", "entrypoint": "platejs", "kind": "type", "name": "StructuralRuleEditor", "runtime": false, "signature": "type StructuralRuleEditor = Omit & {\n plugin(plugin: P): StructuralRulePluginPortal

          ;\n};", "source": null, "typeParameters": [] }, "platejs:target": { "aliases": [], "documentation": "Frozen serializable property-placement target builders.", "entrypoint": "platejs", "kind": "const", "name": "target", "runtime": true, "signature": "target: Readonly<{\n and: (...targets: TTargets) => Readonly<{\n kind: \"and\";\n targets: TTargets;\n }>;\n group: typeof groupTarget;\n element: typeof elementTarget;\n elements: typeof elementTargets;\n not: (innerTarget: TTarget) => {\n kind: 'not';\n target: TTarget;\n };\n or: (...targets: TTargets) => Readonly<{\n kind: \"or\";\n targets: TTargets;\n }>;\n parent: (innerTarget2: TTarget) => {\n kind: 'parent';\n target: TTarget;\n };\n root: typeof rootTarget;\n type: typeof typeTarget;\n types: typeof typesTarget;\n}>", "source": null, "typeParameters": [] }, "platejs:TargetFreshnessRequest": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TargetFreshnessRequest", "runtime": false, "signature": "type TargetFreshnessRequest = {\n fallback: Selection;\n reason: 'implicit-target';\n};", "source": null, "typeParameters": [] }, "platejs:TaskListRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "TaskListRules", "runtime": true, "signature": "TaskListRules: {\n markdown: ({ checked, enabled, priority }?: MarkdownListRuleOptions & {\n checked?: boolean;\n }) => InsertTextInputRule & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>>, readonly []>>;\n}", "source": null, "typeParameters": [] }, "platejs:Text": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "Text", "runtime": false, "signature": "type Text = BaseText;", "source": null, "typeParameters": [] }, "platejs:TextAlignDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextAlignDefinition", "runtime": false, "signature": "type TextAlignDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:TextApi": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "TextApi", "runtime": true, "signature": "TextApi: Readonly", "source": null, "typeParameters": [] }, "platejs:TextDeleteOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "TextDeleteOptions", "runtime": false, "signature": "interface TextDeleteOptions {\n /** Location to delete from. Defaults to the transaction target. */\n at?: Location;\n /** Number of units to delete. Defaults to one unit. */\n distance?: number;\n /** Unit used for collapsed deletion. Defaults to a single character. */\n unit?: TextUnit;\n /** Delete before the target instead of after it. */\n reverse?: boolean;\n /** Keep hanging range edges instead of un-hanging before deletion. */\n hanging?: boolean;\n /** Allow deletion inside void elements. */\n voids?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:TextDirection": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextDirection", "runtime": false, "signature": "type TextDirection = 'forward' | 'backward';", "source": null, "typeParameters": [] }, "platejs:TextEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextEntry", "runtime": false, "signature": "type TextEntry = NodeEntry>;", "source": null, "typeParameters": [ "N = Node" ] }, "platejs:TextEntryIn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextEntryIn", "runtime": false, "signature": "type TextEntryIn = NodeEntry>;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs:TextEntryOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextEntryOf", "runtime": false, "signature": "type TextEntryOf = NodeEntry>;", "source": null, "typeParameters": [ "E" ] }, "platejs:TextEqualsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "TextEqualsOptions", "runtime": false, "signature": "interface TextEqualsOptions {\n loose?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:TextIn": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextIn", "runtime": false, "signature": "type TextIn = TextOf;", "source": null, "typeParameters": [ "V extends readonly unknown[]" ] }, "platejs:TextIndentDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextIndentDefinition", "runtime": false, "signature": "type TextIndentDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:TextIndentPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextIndentPluginState", "runtime": false, "signature": "type TextIndentPluginState = {\n offset: number;\n unit: string;\n};", "source": null, "typeParameters": [] }, "platejs:TextInsertFragmentOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "TextInsertFragmentOptions", "runtime": false, "signature": "interface TextInsertFragmentOptions {\n /** Location to insert at. Defaults to the transaction target. */\n at?: Location;\n /** Keep hanging range edges instead of un-hanging before insertion. */\n hanging?: boolean;\n /** Allow insertion into void elements. */\n voids?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:TextInsertTextOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "TextInsertTextOptions", "runtime": false, "signature": "interface TextInsertTextOptions {\n /** Location to insert at. Defaults to the transaction target. */\n at?: Location;\n /** Apply pending editor marks to implicit text insertion. */\n marks?: boolean;\n /** Allow insertion into void elements. */\n voids?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs:TextInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "TextInterface", "runtime": false, "signature": "interface TextInterface {\n /**\n * Check if two text nodes are equal.\n *\n * When loose is set, the text is not compared. This is\n * used to check whether sibling text nodes can be merged.\n */\n equals: (text: Text, another: Text, options?: TextEqualsOptions) => boolean;\n /**\n * Check if a value implements the `Text` interface.\n */\n isText: (value: unknown) => value is N;\n /**\n * Check if a value is a list of `Text` objects.\n */\n isTextList: (value: unknown) => value is readonly N[];\n /**\n * Check if some props are a partial of Text.\n */\n isTextProps: (props: unknown) => props is Partial;\n /**\n * Check if an text matches set of properties.\n *\n * Note: this is for matching custom properties, and it does not ensure that\n * the `text` property are two nodes equal.\n */\n matches: (text: N, props: Partial) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs:TextMutationMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "TextMutationMethods", "runtime": false, "signature": "interface TextMutationMethods {\n /**\n * Delete content at a location, or at the transaction target when omitted.\n */\n delete: (editor: Editor, options?: TextDeleteOptions) => void;\n /**\n * Insert text at a location, or at the transaction target when omitted.\n */\n insertText: (editor: Editor, text: string, options?: TextInsertTextOptions) => void;\n /**\n * Remove a string of text at a point or the current selection anchor.\n */\n removeText: (editor: Editor, text: string, options?: TextRemoveTextOptions) => void;\n}", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs:TextOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextOf", "runtime": false, "signature": "type TextOf = N extends unknown ? TextOfVariant : never;", "source": null, "typeParameters": [ "N" ] }, "platejs:TextRemoveTextOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "TextRemoveTextOptions", "runtime": false, "signature": "interface TextRemoveTextOptions {\n at?: {\n path: Path;\n offset: number;\n };\n}", "source": null, "typeParameters": [] }, "platejs:TextSelection": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextSelection", "runtime": false, "signature": "type TextSelection = Range & Readonly<{\n /** Side of the focus point that survives edits at the same position. */\n affinity?: SelectionAssociation;\n kind: 'text';\n /** Explicit properties for the next insertion at this collapsed selection. */\n marks?: Readonly>;\n}>;", "source": null, "typeParameters": [] }, "platejs:TextStaticProps": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextStaticProps", "runtime": false, "signature": "type TextStaticProps = ((props: BaseRenderNodeProps & RenderTextProps) => AnyObject | undefined) | AnyObject;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:TextSubstitutionInputRuleConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextSubstitutionInputRuleConfig", "runtime": false, "signature": "type TextSubstitutionInputRuleConfig = BaseInputRule & {\n patterns: TextSubstitutionPattern[];\n};", "source": null, "typeParameters": [] }, "platejs:TextSubstitutionMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextSubstitutionMatch", "runtime": false, "signature": "type TextSubstitutionMatch = {\n end: string;\n pattern: TextSubstitutionPattern;\n points: {\n afterStartMatchPoint: Point$1 | undefined;\n beforeEndMatchPoint: Point$1;\n beforeStartMatchPoint: Point$1 | undefined;\n };\n};", "source": null, "typeParameters": [] }, "platejs:TextSubstitutionPattern": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextSubstitutionPattern", "runtime": false, "signature": "type TextSubstitutionPattern = {\n format: readonly [string, string] | string;\n match: readonly string[] | string;\n trigger?: readonly string[] | string;\n};", "source": null, "typeParameters": [] }, "platejs:TextUnit": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextUnit", "runtime": false, "signature": "type TextUnit = 'character' | 'word' | 'line' | 'block';", "source": null, "typeParameters": [] }, "platejs:TextUnitAdjustment": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TextUnitAdjustment", "runtime": false, "signature": "type TextUnitAdjustment = TextUnit | 'offset';", "source": null, "typeParameters": [] }, "platejs:TextWith": { "aliases": [], "documentation": "Text leaf narrowed to schema properties contributed by one or more owners.\nThe second generic marks exact authored local IDs known to be present.", "entrypoint": "platejs", "kind": "type", "name": "TextWith", "runtime": false, "signature": "type TextWith> = never> = Text$1 & SchemaPropertyShape, TRequired>;", "source": null, "typeParameters": [ "TSource extends SchemaPropertySource", "TRequired extends SchemaPropertyRequiredLocalId> = never" ] }, "platejs:ToggleBlockCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ToggleBlockCommand", "runtime": false, "signature": "type ToggleBlockCommand = {\n options?: EditorToggleBlockOptions;\n props: Partial> & {\n type: string;\n };\n};", "source": null, "typeParameters": [] }, "platejs:ToggleHeadingOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ToggleHeadingOptions", "runtime": false, "signature": "type ToggleHeadingOptions = {\n level: HeadingLevel;\n};", "source": null, "typeParameters": [] }, "platejs:ToggleListOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ToggleListOptions", "runtime": false, "signature": "type ToggleListOptions = {\n at?: Location | NodeSelection;\n /** Start for the first target, applied only while that item opens numbering at its level. */\n listStart?: number;\n listStyle?: ListStyle | (string & {});\n type: ListType;\n};", "source": null, "typeParameters": [] }, "platejs:ToggleMarkCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ToggleMarkCommand", "runtime": false, "signature": "type ToggleMarkCommand = {\n key: string;\n options?: EditorToggleMarkOptions;\n value: unknown;\n};", "source": null, "typeParameters": [] }, "platejs:TopLevelRuntimeRange": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TopLevelRuntimeRange", "runtime": false, "signature": "type TopLevelRuntimeRange = readonly [number, number];", "source": null, "typeParameters": [] }, "platejs:TrailingBlockDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TrailingBlockDefinition", "runtime": false, "signature": "type TrailingBlockDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:TrailingBlockPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "TrailingBlockPlugin", "runtime": true, "signature": "TrailingBlockPlugin: BasePlugin & Readonly<{\n name: \"trailingBlock\";\n}> & Readonly> & Readonly<{\n initialState: {\n readonly level: number;\n readonly match: NodeMatch | null;\n readonly type: string;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs:TrailingBlockPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TrailingBlockPluginState", "runtime": false, "signature": "type TrailingBlockPluginState = {\n /** Level where the trailing node should be, the first level being 0. */\n level: number;\n /** Match the last node before inserting the trailing block. */\n match: NodeMatch | null;\n /** Type of the trailing block */\n type: string;\n};", "source": null, "typeParameters": [] }, "platejs:TransactionSpec": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "TransactionSpec", "runtime": false, "signature": "interface TransactionSpec {\n /**\n * Opaque proof that this spec was built by the owning editor.\n *\n * @internal\n */\n readonly [TRANSACTION_SPEC_TYPE]: true;\n readonly annotations: ReadonlyArray>;\n readonly changes: DocumentChange;\n readonly effects: readonly EditorEffect[];\n readonly kind: 'transaction';\n readonly selection?: Readonly<{\n /** Named selection root. Omitted for the primary document. */\n root?: NamedRootKey;\n value: Selection;\n }>;\n readonly tags: readonly EditorUpdateTag[];\n}", "source": null, "typeParameters": [ "TRoot extends RootKey = RootKey" ] }, "platejs:transfer": { "aliases": [], "documentation": "The drag-and-drop and keyboard move action; React editors install it.", "entrypoint": "platejs", "kind": "const", "name": "transfer", "runtime": true, "signature": "transfer: () => TransferPlugin", "source": null, "typeParameters": [] }, "platejs:TransferAdoptInput": { "aliases": [], "documentation": "A block copy or move at its final edge, before placement and vetoes judge\nit.", "entrypoint": "platejs", "kind": "type", "name": "TransferAdoptInput", "runtime": false, "signature": "type TransferAdoptInput = TransferLandingInput & Readonly<{\n payload: Extract;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferApi": { "aliases": [], "documentation": "The `editor.api.transfer` group.", "entrypoint": "platejs", "kind": "type", "name": "TransferApi", "runtime": false, "signature": "type TransferApi = Readonly<{\n /** Copy blocks or text to a target edge or point. */\n copy: (input: TransferInput) => TransferOutcome;\n /**\n * Move blocks or text inside one document, or copy when the source is\n * read-only or another editor.\n */\n move: (input: TransferInput) => TransferOutcome;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferCheck": { "aliases": [], "documentation": "A transfer's admission without building it, for hover feedback.", "entrypoint": "platejs", "kind": "type", "name": "TransferCheck", "runtime": false, "signature": "type TransferCheck = Readonly<{\n admitted: true;\n to: TransferLandingTarget;\n}> | Readonly<{\n admitted: false;\n reason: TransferRefusalReason;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransferDefinition", "runtime": false, "signature": "type TransferDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs:TransferDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransferDiagnostic", "runtime": false, "signature": "type TransferDiagnostic = Readonly<{\n impact: 'lossless' | 'lossy';\n message: string;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferEdge": { "aliases": [], "documentation": "A position beside one block, addressed by its key.", "entrypoint": "platejs", "kind": "type", "name": "TransferEdge", "runtime": false, "signature": "type TransferEdge = Readonly<{\n edge: 'after' | 'before';\n key: NodeKey;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransferInput", "runtime": false, "signature": "type TransferInput = Readonly<{\n /** Screen-reader text the commit carries when the transfer lands. */\n announce?: string;\n /** Source view. Defaults to the editor that runs the transfer. */\n from?: AnyEditor;\n /**\n * Block payload in `from`, addressed by key. Defaults to the selected\n * blocks, or the blocks containing the selection.\n */\n nodes?: readonly NodeKey[];\n /** Text payload in `from`, instead of `nodes`. */\n range?: Range;\n to: TransferTarget;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferIntent": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransferIntent", "runtime": false, "signature": "type TransferIntent = 'copy' | 'move';", "source": null, "typeParameters": [] }, "platejs:TransferLandingInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransferLandingInput", "runtime": false, "signature": "type TransferLandingInput = Readonly<{\n edge: 'after' | 'before';\n /** Source view. */\n from: AnyEditor;\n intent: TransferIntent;\n payload: TransferPayload;\n relation: TransferRelation;\n target: NodeEntry;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferLandingTarget": { "aliases": [], "documentation": "A resolved landing: beside a block, at its side, or at a text point.", "entrypoint": "platejs", "kind": "type", "name": "TransferLandingTarget", "runtime": false, "signature": "type TransferLandingTarget = TransferEdge | TransferSide | Readonly<{\n point: Point;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferOutcome": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransferOutcome", "runtime": false, "signature": "type TransferOutcome = Readonly<{\n at: NodeSelection | Range;\n status: 'moved';\n}> | Readonly<{\n at: NodeSelection | Range;\n diagnostics: readonly TransferDiagnostic[];\n reason: 'identity' | 'independent' | 'intent' | 'read-only-source';\n status: 'copied';\n}> | Readonly<{\n reason: TransferRefusalReason;\n status: 'refused';\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferPatch": { "aliases": [], "documentation": "Properties a block copy or move adopts at `at`, a path inside the payload\nwhose first index picks one of its nodes.", "entrypoint": "platejs", "kind": "type", "name": "TransferPatch", "runtime": false, "signature": "type TransferPatch = Readonly<{\n at: Path;\n properties: TransferPatchProperties;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferPatchProperties": { "aliases": [], "documentation": "Only properties declared `landing: 'adopt'`; `undefined` unsets one. A move\npatch may not set `null`.", "entrypoint": "platejs", "kind": "type", "name": "TransferPatchProperties", "runtime": false, "signature": "type TransferPatchProperties = Readonly & {\n childRoots?: never;\n children?: never;\n text?: never;\n type?: never;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferPayload": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransferPayload", "runtime": false, "signature": "type TransferPayload = Readonly<{\n kind: 'nodes';\n nodes: readonly Descendant[];\n /** Parent keys in the source; comparable to target keys only within one document. */\n parentKeys: ReadonlyArray;\n}> | Readonly<{\n kind: 'text';\n}> | Readonly<{\n kind: 'files';\n types: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferPlugin": { "aliases": [], "documentation": "Moves and copies blocks and text through one admission law.", "entrypoint": "platejs", "kind": "const", "name": "TransferPlugin", "runtime": true, "signature": "TransferPlugin: TransferPluginDescriptor", "source": null, "typeParameters": [] }, "platejs:TransferRead": { "aliases": [], "documentation": "The `editor.read.transfer` group.", "entrypoint": "platejs", "kind": "type", "name": "TransferRead", "runtime": false, "signature": "type TransferRead = Readonly<{\n /**\n * Whether a move would be admitted, without running it: the dry run the\n * drop indicator paints from. A refusal at commit time, such as a lossy\n * landing, is not predicted.\n */\n check: (input: TransferInput) => TransferCheck;\n /**\n * The blocks a transfer carries, after feature expansion such as list\n * families, without nested duplicates, in document order. With `node`, a\n * handle's blocks: the node selection when it holds the node, else the node\n * alone. Without it, a keyboard move's blocks: the selected blocks, else the\n * blocks holding the selection.\n */\n nodes: (options?: Readonly<{\n node?: NodeTarget;\n }>) => readonly NodeKey[];\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferRefusalReason": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransferRefusalReason", "runtime": false, "signature": "type TransferRefusalReason = 'inside-source' | 'lossy' | 'no-op' | 'policy' | 'read-only-target' | 'schema' | 'source-missing';", "source": null, "typeParameters": [] }, "platejs:TransferRelation": { "aliases": [], "documentation": "How the source and target documents relate. `document` is one document\nacross its views and roots; `identity` is one runtime seen through a\ndifferent document override, projection or authoring intent;\n`independent` is another editor.", "entrypoint": "platejs", "kind": "type", "name": "TransferRelation", "runtime": false, "signature": "type TransferRelation = 'document' | 'identity' | 'independent';", "source": null, "typeParameters": [] }, "platejs:TransferSide": { "aliases": [], "documentation": "The inline start or end side of a block, where a dropped block lands beside\nit. A `transfer.side` read decides what the landing builds; without one the\ntransfer refuses.", "entrypoint": "platejs", "kind": "type", "name": "TransferSide", "runtime": false, "signature": "type TransferSide = Readonly<{\n key: NodeKey;\n side: 'end' | 'start';\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferSideInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransferSideInput", "runtime": false, "signature": "type TransferSideInput = Readonly<{\n /** Source view. */\n from: AnyEditor;\n intent: TransferIntent;\n payload: TransferPayload;\n relation: TransferRelation;\n side: 'end' | 'start';\n target: NodeEntry;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferSourceInput": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransferSourceInput", "runtime": false, "signature": "type TransferSourceInput = Readonly<{\n selection: NodeSelection;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferTarget": { "aliases": [], "documentation": "Where a transfer lands. `previous` and `next` step the payload past the\nnearest sibling edge the landing policy admits, and keep the selection.", "entrypoint": "platejs", "kind": "type", "name": "TransferTarget", "runtime": false, "signature": "type TransferTarget = TransferLandingTarget | 'next' | 'previous';", "source": null, "typeParameters": [] }, "platejs:transferVeto": { "aliases": [], "documentation": "Contribute a veto that refuses a landing on its final edge.", "entrypoint": "platejs", "kind": "const", "name": "transferVeto", "runtime": true, "signature": "transferVeto: Readonly<{\n id: string;\n of: (value: TransferVeto) => PluginContribution;\n}>", "source": null, "typeParameters": [] }, "platejs:TransferVeto": { "aliases": [], "documentation": "A veto refuses a landing on the final edge in `view`, the target view;\nevery contributed veto runs.", "entrypoint": "platejs", "kind": "type", "name": "TransferVeto", "runtime": false, "signature": "type TransferVeto = (input: TransferVetoInput, view: AnyEditor) => boolean;", "source": null, "typeParameters": [] }, "platejs:TransferVetoInput": { "aliases": [], "documentation": "A veto's input. For a side landing, `edge` and `target` place the shell and\n`wrap` is set: the payload lands inside the shell, deeper than the edge, and\na wrap that takes the target's place also runs every veto with the target as\nthe payload.", "entrypoint": "platejs", "kind": "type", "name": "TransferVetoInput", "runtime": false, "signature": "type TransferVetoInput = TransferLandingInput & Readonly<{\n wrap?: TransferWrap;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransferWrap": { "aliases": [], "documentation": "What a side landing builds: `shell`, an element with empty slots, and the\nslot at `payload`, a path inside it, for the dropped blocks. With `target`,\nthe shell takes the target's place and the target moves into the slot at\n`target`. Otherwise the shell lands at `edge` of the target's ancestor\n`ancestor` levels up, 0 being the target itself.", "entrypoint": "platejs", "kind": "type", "name": "TransferWrap", "runtime": false, "signature": "type TransferWrap = Readonly<{\n payload: Path;\n shell: Element;\n target: Path;\n}> | Readonly<{\n ancestor: number;\n edge: 'after' | 'before';\n payload: Path;\n shell: Element;\n}>;", "source": null, "typeParameters": [] }, "platejs:TransformInputRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransformInputRuleContext", "runtime": false, "signature": "type TransformInputRuleContext = {\n decline: () => InputRuleDecline;\n tx: InputRuleTransaction;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs:TransformOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "TransformOptions", "runtime": false, "signature": "type TransformOptions = BaseTransformOptions & BasePluginContext;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:TxDeclaredMethod": { "aliases": [], "documentation": "A plugin update method declared with `txLocate`, `txSelection` or\n`txStored`.", "entrypoint": "platejs", "kind": "type", "name": "TxDeclaredMethod", "runtime": false, "signature": "type TxDeclaredMethod unknown> = TMethod & {\n readonly [TX_DECLARED_METHOD]: true;\n};", "source": null, "typeParameters": [ "TMethod extends (...args: never[]) => unknown" ] }, "platejs:txLocate": { "aliases": [], "documentation": "Declare where a plugin update method's arguments land. The method runs in\nthe root of the targets `locate` places. While a command document is\nregistered, `locate` also maps them into the document editing commands\ndecide on, or returns null when they have no place there, so the method\ndoes nothing. `false` says the arguments hold no location. A call that\npasses a function runs in the caller's root, and `locate` runs only to map\nits arguments into the command document. A method called with arguments\nthat has no declaration throws.", "entrypoint": "platejs", "kind": "const", "name": "txLocate", "runtime": true, "signature": "txLocate: unknown>(locate: NoInfer>> | false, method: TMethod) => TxDeclaredMethod", "source": null, "typeParameters": [] }, "platejs:TxMethodDeclarations": { "aliases": [], "documentation": "Refuses a plugin's update methods when one takes arguments without\n`txLocate`, `txSelection` or `txOnly`, because calling such a method with\narguments throws. Intersect it with the update factory's return type.", "entrypoint": "platejs", "kind": "type", "name": "TxMethodDeclarations", "runtime": false, "signature": "type TxMethodDeclarations = [UndeclaredTxMethodPaths] extends [never] ? unknown : Readonly} takes arguments, so declare it with txLocate, txSelection or txOnly`, true>>;", "source": null, "typeParameters": [ "TUpdate" ] }, "platejs:txOnly": { "aliases": [], "documentation": "Mark a plugin method that only has meaning inside an existing update. It\nstays on `tx`. A direct call through `editor.update.` or a plugin\nportal refuses it, and every member of a marked group.", "entrypoint": "platejs", "kind": "const", "name": "txOnly", "runtime": true, "signature": "txOnly: any>(method: TMethod) => TxOnlyMethod", "source": null, "typeParameters": [] }, "platejs:TxOnlyMethod": { "aliases": [], "documentation": "A method available on a transaction but omitted from direct updates.", "entrypoint": "platejs", "kind": "type", "name": "TxOnlyMethod", "runtime": false, "signature": "type TxOnlyMethod any> = TMethod & {\n readonly [TX_ONLY_METHOD]: true;\n};", "source": null, "typeParameters": [ "TMethod extends (...args: any[]) => any" ] }, "platejs:txSelection": { "aliases": [], "documentation": "Declare a plugin update method that only moves the selection, as caret\nmovement does: it runs in the caller's root on the stored document, and\nthrows if it changes content.", "entrypoint": "platejs", "kind": "const", "name": "txSelection", "runtime": true, "signature": "txSelection: unknown>(method: TMethod) => TxDeclaredMethod", "source": null, "typeParameters": [] }, "platejs:UnderlineRules": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "const", "name": "UnderlineRules", "runtime": true, "signature": "UnderlineRules: {\n markdown: (options?: MarkdownMarkRuleOptions) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs:UnknownObject": { "aliases": [], "documentation": "Dynamic object whose values must be narrowed before use.", "entrypoint": "platejs", "kind": "type", "name": "UnknownObject", "runtime": false, "signature": "type UnknownObject = Record;", "source": null, "typeParameters": [] }, "platejs:UnwrapLinkOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "UnwrapLinkOptions", "runtime": false, "signature": "type UnwrapLinkOptions = {\n at?: Location;\n mode?: MaximizeMode;\n split?: boolean;\n voids?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs:UpsertLinkOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "UpsertLinkOptions", "runtime": false, "signature": "type UpsertLinkOptions = {\n insertNodesOptions?: TextInsertFragmentOptions;\n} & CreateLinkNodeOptions;", "source": null, "typeParameters": [] }, "platejs:Value": { "aliases": [], "documentation": "The `Editor` interface exposes the runtime API of an editor. Document\nstate is read through editor methods and mutated through `editor.update`.", "entrypoint": "platejs", "kind": "type", "name": "Value", "runtime": false, "signature": "type Value = readonly Element[];", "source": null, "typeParameters": [] }, "platejs:valueCodecs": { "aliases": [], "documentation": "Strict codecs for primitive JSON state values.", "entrypoint": "platejs", "kind": "const", "name": "valueCodecs", "runtime": true, "signature": "valueCodecs: Readonly<{\n boolean: Readonly<{\n decode(value: unknown): value is true;\n encode: (value: boolean) => boolean;\n }>;\n number: Readonly<{\n decode(value: unknown): number;\n encode: (value: number) => number;\n }>;\n string: Readonly<{\n decode(value: unknown): string;\n encode: (value: string) => string;\n }>;\n}>", "source": null, "typeParameters": [] }, "platejs:ValueOf": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "ValueOf", "runtime": false, "signature": "type ValueOf = E extends EditorValueTypeProvider ? ReturnType extends (infer TProvidedValue) ? IsAny extends true ? Value : TProvidedValue extends Value ? TProvidedValue : Value : Value : E extends BaseEditor ? IsAny extends true ? Value : V extends Value ? V : Value : Value;", "source": null, "typeParameters": [ "E" ] }, "platejs:WithAnyName": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "WithAnyName", "runtime": false, "signature": "type WithAnyName = IsAny$2 extends true ? C : string extends C['name'] ? C : Omit & {\n name: string;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs:WithRequiredName": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "type", "name": "WithRequiredName", "runtime": false, "signature": "type WithRequiredName

          = (P extends {\n name: string;\n} ? P : never) | {\n name: string;\n};", "source": null, "typeParameters": [ "P = {}" ] }, "platejs:WrapLinkOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs", "kind": "interface", "name": "WrapLinkOptions", "runtime": false, "signature": "interface WrapLinkOptions {\n url: string;\n at?: Location;\n mode?: MaximizeMode;\n split?: boolean;\n target?: string;\n voids?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/ai:AIChatRequestContext": { "aliases": [], "documentation": "Self-contained editor snapshot for one AI chat request.", "entrypoint": "platejs/ai", "kind": "type", "name": "AIChatRequestContext", "runtime": false, "signature": "type AIChatRequestContext = Readonly<{\n /** The blocks the request covers, without review marks. */\n children: Value;\n nodeSelection: AIChatRequestNodeSelection | null;\n refs: AIChatRequestRefs;\n selection: Range | null;\n toolName?: AIToolName;\n}>;", "source": null, "typeParameters": [] }, "platejs/ai:AIChatRequestNodeRef": { "aliases": [], "documentation": "Request-local reference into `AIChatRequestContext.children`.", "entrypoint": "platejs/ai", "kind": "type", "name": "AIChatRequestNodeRef", "runtime": false, "signature": "type AIChatRequestNodeRef = Readonly<{\n path: Path;\n ref: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/ai:AIChatRequestNodeSelection": { "aliases": [], "documentation": "Exact directional membership alongside the representative request range.", "entrypoint": "platejs/ai", "kind": "type", "name": "AIChatRequestNodeSelection", "runtime": false, "signature": "type AIChatRequestNodeSelection = Readonly<{\n anchorPath: Path;\n focusPath: Path;\n mode: NodeSelectionMode;\n paths: readonly [Path, ...Path[]];\n}>;", "source": null, "typeParameters": [] }, "platejs/ai:AIChatRequestRefs": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai", "kind": "type", "name": "AIChatRequestRefs", "runtime": false, "signature": "type AIChatRequestRefs = Readonly<{\n blocks: readonly AIChatRequestNodeRef[];\n tableCells: readonly AIChatRequestNodeRef[];\n}>;", "source": null, "typeParameters": [] }, "platejs/ai:AIToolName": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai", "kind": "type", "name": "AIToolName", "runtime": false, "signature": "type AIToolName = 'comment' | 'edit' | 'generate' | null;", "source": null, "typeParameters": [] }, "platejs/ai:resolveAIChatRequestContext": { "aliases": [], "documentation": "Restore the model selection and its semantic selected-content state.", "entrypoint": "platejs/ai", "kind": "const", "name": "resolveAIChatRequestContext", "runtime": true, "signature": "resolveAIChatRequestContext: (context: Pick) => {\n isSelecting: boolean;\n selection: Selection;\n}", "source": null, "typeParameters": [] }, "platejs/ai/react:AIChatAdapter": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "AIChatAdapter", "runtime": false, "signature": "type AIChatAdapter = {\n clear: () => void;\n error?: Error;\n messages: UIMessage[];\n regenerate: (options?: ChatRequestOptions) => Promise;\n sendMessage: (text: string, options?: ChatRequestOptions) => Promise;\n status: ChatStatus;\n stop: () => Promise | void;\n};", "source": null, "typeParameters": [] }, "platejs/ai/react:AIChatDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "AIChatDefinition", "runtime": false, "signature": "type AIChatDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/ai/react:AIChatNodeSnapshot": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "AIChatNodeSnapshot", "runtime": false, "signature": "type AIChatNodeSnapshot = {\n isSelectionAnchor?: true;\n isSelectionFocus?: true;\n node: Element;\n nodeKey: NodeKey;\n};", "source": null, "typeParameters": [] }, "platejs/ai/react:AIChatPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "const", "name": "AIChatPlugin", "runtime": true, "signature": "AIChatPlugin: InternalPluginAuthorExtension void;\n readonly error?: Error;\n readonly messages: readonly UIMessage[];\n readonly regenerate: (options?: ChatRequestOptions) => Promise;\n readonly sendMessage: (text: string, options?: ChatRequestOptions) => Promise;\n readonly status: ChatStatus;\n readonly stop: () => Promise | void;\n } | null;\n readonly chatNodeMode: NodeSelectionMode | null;\n readonly chatNodes: readonly {\n readonly isSelectionAnchor?: true;\n readonly isSelectionFocus?: true;\n readonly node: {\n readonly [x: string]: unknown;\n readonly children: readonly ( /*elided*/ any | {\n readonly [x: string]: unknown;\n readonly text: string;\n })[];\n readonly type: string;\n };\n readonly nodeKey: NodeKey;\n }[];\n readonly chatSelection: Range | null;\n readonly mode: AIMode;\n readonly open: boolean;\n readonly previewValue: readonly {\n readonly [x: string]: unknown;\n readonly children: readonly (any | {\n readonly [x: string]: unknown;\n readonly text: string;\n })[];\n readonly type: string;\n }[];\n readonly streaming: boolean;\n readonly toolName: AIToolName;\n readonly trigger: readonly string[] | RegExp | string;\n readonly triggerPreviousCharPattern: RegExp;\n readonly triggerQuery: ((editor: Editor) => boolean) | null;\n };\n readonly dependencies: readonly [PluginReference$1<\"markdown\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly>> & Readonly>> & Pick;\n readonly dataTransferFormats: true;\n readonly initialState: {\n readonly plainMarks: readonly string[] | null;\n readonly remarkPlugins: readonly (MarkdownSyncPlugin | readonly [MarkdownSyncPlugin, ...unknown[]])[];\n readonly remarkStringifyOptions: {\n readonly bulletOther?: '*' | '+' | '-' | null | undefined;\n readonly bulletOrdered?: '.' | ')' | null | undefined;\n readonly bullet?: '*' | '+' | '-' | null | undefined;\n readonly closeAtx?: boolean | null | undefined;\n readonly emphasis?: '*' | '_' | null | undefined;\n readonly fences?: boolean | null | undefined;\n readonly fence?: '`' | '~' | null | undefined;\n readonly handlers?: {\n readonly blockquote?: Handle | undefined;\n readonly break?: Handle | undefined;\n readonly code?: Handle | undefined;\n readonly definition?: Handle | undefined;\n readonly delete?: Handle | undefined;\n readonly emphasis?: Handle | undefined;\n readonly footnoteDefinition?: Handle | undefined;\n readonly footnoteReference?: Handle | undefined;\n readonly heading?: Handle | undefined;\n readonly html?: Handle | undefined;\n readonly image?: Handle | undefined;\n readonly imageReference?: Handle | undefined;\n readonly inlineCode?: Handle | undefined;\n readonly inlineMath?: Handle | undefined;\n readonly link?: Handle | undefined;\n readonly linkReference?: Handle | undefined;\n readonly list?: Handle | undefined;\n readonly listItem?: Handle | undefined;\n readonly math?: Handle | undefined;\n readonly mdxFlowExpression?: Handle | undefined;\n readonly mdxJsxFlowElement?: Handle | undefined;\n readonly mdxJsxTextElement?: Handle | undefined;\n readonly mdxTextExpression?: Handle | undefined;\n readonly mdxjsEsm?: Handle | undefined;\n readonly paragraph?: Handle | undefined;\n readonly root?: Handle | undefined;\n readonly strong?: Handle | undefined;\n readonly table?: Handle | undefined;\n readonly tableCell?: Handle | undefined;\n readonly tableRow?: Handle | undefined;\n readonly text?: Handle | undefined;\n readonly thematicBreak?: Handle | undefined;\n readonly yaml?: Handle | undefined;\n } | null | undefined;\n readonly incrementListMarker?: boolean | null | undefined;\n readonly join?: readonly Join[] | null | undefined;\n readonly listItemIndent?: 'mixed' | 'one' | 'tab' | null | undefined;\n readonly quote?: '\"' | \"'\" | null | undefined;\n readonly resourceLink?: boolean | null | undefined;\n readonly ruleRepetition?: number | null | undefined;\n readonly ruleSpaces?: boolean | null | undefined;\n readonly rule?: '*' | '-' | '_' | null | undefined;\n readonly setext?: boolean | null | undefined;\n readonly strong?: '*' | '_' | null | undefined;\n readonly tightDefinitions?: boolean | null | undefined;\n readonly unsafe?: readonly Unsafe[] | null | undefined;\n } | null;\n };\n readonly validate: true;\n }>> & Readonly>, \"~schema.plugins\">, PluginReference$1<\"authored\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly void;\n subscribeChanges: (listener: (delta: AuthoredChangesDelta) => void) => () => void;\n subscribeRefusals: (listener: (refusal: AuthoredRefusal) => void) => () => void;\n }>> & Readonly AuthoredView;\n change: (id: string) => AuthoredChange | null;\n changes: (query?: AuthoredQuery) => AuthoredPage;\n details: (id: string) => AuthoredChangeDetails | null;\n groups: (query: Readonly<{\n at: Location | NodeKey;\n }>) => readonly AuthoredChangeGroup[];\n groupOf: (changeId: string) => AuthoredChangeGroup | null;\n outcome: (id: string) => AuthoredOutcome | null;\n reviewOf: (node: unknown) => AuthoredReview;\n }>> & Readonly AuthoredResult>;\n withdraw: TxDeclaredMethod<(changes: readonly AuthoredChange[]) => AuthoredResult>;\n propose: TxOnlyMethod<(options?: {\n changeId?: string;\n }) => string>;\n }>> & Readonly<{\n dependencies: readonly [Readonly & Readonly<{\n name: \"authored-records\";\n }>>>, \"enabled\" | \"name\">> & PluginDependency];\n }>> & Pick & Readonly<{\n name: \"authored\";\n }> & Readonly<{\n dependencies: readonly [BasePluginDependencyReferenceFor & Readonly<{\n name: \"authored-records\";\n }>>>];\n }> & Readonly>>, Readonly<{}> & Readonly<{\n name: \"authored\";\n }> & Readonly<{\n dependencies: readonly [BasePluginDependencyReferenceFor & Readonly<{\n name: \"authored-records\";\n }>>>];\n }> & Readonly>, AuthoredPlugin>, \"~schema.plugins\">, PluginReference$1<\"history\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly> & Readonly> & Readonly History) & {\n hasRedo: () => boolean;\n hasUndo: () => boolean;\n pending: () => (\"redo\" | \"undo\") | null;\n } & {\n hasRedo: () => boolean;\n hasUndo: () => boolean;\n pending: () => (\"redo\" | \"undo\") | null;\n }>> & Readonly> & Readonly>> & Pick> & PluginTypeProvider, \"~schema.plugins\">];\n}>>, Readonly<{\n readonly name: \"aiChat\";\n readonly initialState: {\n readonly _blockKey: NodeKey | null;\n readonly _blockRefs: {\n readonly [x: string]: {\n readonly key: NodeKey;\n };\n };\n readonly _changeId: string | null;\n readonly _requestId: string | null;\n readonly _tableCellRefs: {\n readonly [x: string]: {\n readonly key: NodeKey;\n };\n };\n readonly authorId: string | null;\n readonly chat: {\n readonly clear: () => void;\n readonly error?: Error;\n readonly messages: readonly UIMessage[];\n readonly regenerate: (options?: ChatRequestOptions) => Promise;\n readonly sendMessage: (text: string, options?: ChatRequestOptions) => Promise;\n readonly status: ChatStatus;\n readonly stop: () => Promise | void;\n } | null;\n readonly chatNodeMode: NodeSelectionMode | null;\n readonly chatNodes: readonly {\n readonly isSelectionAnchor?: true;\n readonly isSelectionFocus?: true;\n readonly node: {\n readonly [x: string]: unknown;\n readonly children: readonly (any | {\n readonly [x: string]: unknown;\n readonly text: string;\n })[];\n readonly type: string;\n };\n readonly nodeKey: NodeKey;\n }[];\n readonly chatSelection: Range | null;\n readonly mode: AIMode;\n readonly open: boolean;\n readonly previewValue: readonly {\n readonly [x: string]: unknown;\n readonly children: readonly (any | {\n readonly [x: string]: unknown;\n readonly text: string;\n })[];\n readonly type: string;\n }[];\n readonly streaming: boolean;\n readonly toolName: AIToolName;\n readonly trigger: readonly string[] | RegExp | string;\n readonly triggerPreviousCharPattern: RegExp;\n readonly triggerQuery: ((editor: Editor) => boolean) | null;\n };\n readonly dependencies: readonly [PluginReference$1<\"markdown\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly>> & Readonly>> & Pick;\n readonly dataTransferFormats: true;\n readonly initialState: {\n readonly plainMarks: readonly string[] | null;\n readonly remarkPlugins: readonly (MarkdownSyncPlugin | readonly [MarkdownSyncPlugin, ...unknown[]])[];\n readonly remarkStringifyOptions: {\n readonly bulletOther?: '*' | '+' | '-' | null | undefined;\n readonly bulletOrdered?: '.' | ')' | null | undefined;\n readonly bullet?: '*' | '+' | '-' | null | undefined;\n readonly closeAtx?: boolean | null | undefined;\n readonly emphasis?: '*' | '_' | null | undefined;\n readonly fences?: boolean | null | undefined;\n readonly fence?: '`' | '~' | null | undefined;\n readonly handlers?: {\n readonly blockquote?: Handle | undefined;\n readonly break?: Handle | undefined;\n readonly code?: Handle | undefined;\n readonly definition?: Handle | undefined;\n readonly delete?: Handle | undefined;\n readonly emphasis?: Handle | undefined;\n readonly footnoteDefinition?: Handle | undefined;\n readonly footnoteReference?: Handle | undefined;\n readonly heading?: Handle | undefined;\n readonly html?: Handle | undefined;\n readonly image?: Handle | undefined;\n readonly imageReference?: Handle | undefined;\n readonly inlineCode?: Handle | undefined;\n readonly inlineMath?: Handle | undefined;\n readonly link?: Handle | undefined;\n readonly linkReference?: Handle | undefined;\n readonly list?: Handle | undefined;\n readonly listItem?: Handle | undefined;\n readonly math?: Handle | undefined;\n readonly mdxFlowExpression?: Handle | undefined;\n readonly mdxJsxFlowElement?: Handle | undefined;\n readonly mdxJsxTextElement?: Handle | undefined;\n readonly mdxTextExpression?: Handle | undefined;\n readonly mdxjsEsm?: Handle | undefined;\n readonly paragraph?: Handle | undefined;\n readonly root?: Handle | undefined;\n readonly strong?: Handle | undefined;\n readonly table?: Handle | undefined;\n readonly tableCell?: Handle | undefined;\n readonly tableRow?: Handle | undefined;\n readonly text?: Handle | undefined;\n readonly thematicBreak?: Handle | undefined;\n readonly yaml?: Handle | undefined;\n } | null | undefined;\n readonly incrementListMarker?: boolean | null | undefined;\n readonly join?: readonly Join[] | null | undefined;\n readonly listItemIndent?: 'mixed' | 'one' | 'tab' | null | undefined;\n readonly quote?: '\"' | \"'\" | null | undefined;\n readonly resourceLink?: boolean | null | undefined;\n readonly ruleRepetition?: number | null | undefined;\n readonly ruleSpaces?: boolean | null | undefined;\n readonly rule?: '*' | '-' | '_' | null | undefined;\n readonly setext?: boolean | null | undefined;\n readonly strong?: '*' | '_' | null | undefined;\n readonly tightDefinitions?: boolean | null | undefined;\n readonly unsafe?: readonly Unsafe[] | null | undefined;\n } | null;\n };\n readonly validate: true;\n }>> & Readonly>, \"~schema.plugins\">, PluginReference$1<\"authored\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly void;\n subscribeChanges: (listener: (delta: AuthoredChangesDelta) => void) => () => void;\n subscribeRefusals: (listener: (refusal: AuthoredRefusal) => void) => () => void;\n }>> & Readonly AuthoredView;\n change: (id: string) => AuthoredChange | null;\n changes: (query?: AuthoredQuery) => AuthoredPage;\n details: (id: string) => AuthoredChangeDetails | null;\n groups: (query: Readonly<{\n at: Location | NodeKey;\n }>) => readonly AuthoredChangeGroup[];\n groupOf: (changeId: string) => AuthoredChangeGroup | null;\n outcome: (id: string) => AuthoredOutcome | null;\n reviewOf: (node: unknown) => AuthoredReview;\n }>> & Readonly AuthoredResult>;\n withdraw: TxDeclaredMethod<(changes: readonly AuthoredChange[]) => AuthoredResult>;\n propose: TxOnlyMethod<(options?: {\n changeId?: string;\n }) => string>;\n }>> & Readonly<{\n dependencies: readonly [Readonly & Readonly<{\n name: \"authored-records\";\n }>>>, \"enabled\" | \"name\">> & PluginDependency];\n }>> & Pick & Readonly<{\n name: \"authored\";\n }> & Readonly<{\n dependencies: readonly [BasePluginDependencyReferenceFor & Readonly<{\n name: \"authored-records\";\n }>>>];\n }> & Readonly>>, Readonly<{}> & Readonly<{\n name: \"authored\";\n }> & Readonly<{\n dependencies: readonly [BasePluginDependencyReferenceFor & Readonly<{\n name: \"authored-records\";\n }>>>];\n }> & Readonly>, AuthoredPlugin>, \"~schema.plugins\">, PluginReference$1<\"history\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly> & Readonly> & Readonly History) & {\n hasRedo: () => boolean;\n hasUndo: () => boolean;\n pending: () => (\"redo\" | \"undo\") | null;\n } & {\n hasRedo: () => boolean;\n hasUndo: () => boolean;\n pending: () => (\"redo\" | \"undo\") | null;\n }>> & Readonly> & Readonly>> & Pick> & PluginTypeProvider, \"~schema.plugins\">];\n}>, \"activate\" | \"api\" | \"commands\" | \"effectTypes\" | \"on\" | \"read\" | \"selectors\", {}, {\n /**\n * Commit the final draft in one history batch. Refuses a partial or\n * invalid draft and a target that no longer exists.\n */\n readonly accept: () => AuthoredResult | null | undefined;\n /** Close the session, cancel its request, and discard any unapplied draft. */\n readonly hide: ({ focus }?: {\n focus?: boolean;\n }) => AuthoredResult | null;\n readonly insertBelow: ({ format }?: {\n format?: 'all' | 'none' | 'single';\n }) => void;\n /** Cancel the request, discard its draft, and request a new response. */\n readonly reload: () => AuthoredResult | null | undefined;\n readonly replaceSelection: ({ format }?: {\n format?: 'all' | 'none' | 'single';\n }) => void;\n /** Cancel the request and discard its draft without publishing it. */\n readonly reset: () => AuthoredResult | null;\n /**\n * Publish accumulated output to its request-owned review presentation.\n * A `final` parse (the default) is strict; a response Markdown cannot\n * represent clears the draft.\n */\n readonly setPreview: (content: string, { final, requestId }?: {\n final?: boolean;\n requestId?: string | null;\n }) => boolean | undefined;\n /** Publish a complete cell response in the current table draft. */\n readonly setTablePreview: ({ content, ref }: TableCellUpdate, { requestId }?: {\n requestId?: string | null;\n }) => void;\n readonly show: () => AuthoredResult | null;\n /** Stop the request and publish its current response as the final draft. */\n readonly stop: () => void;\n readonly submit: (input: string, { mode, options, prompt, toolName: requestedToolName }?: {\n mode?: AIMode;\n options?: ChatRequestOptions;\n prompt?: EditorPrompt;\n toolName?: AIToolName;\n }) => AuthoredResult | null | undefined;\n}, {\n readonly commentRange: (comment: TComment) => {\n anchor: BasePoint;\n focus: BasePoint;\n } | undefined;\n readonly insertStart: () => {\n path: Path;\n startBlock: BaseElement | undefined;\n startInEmptyParagraph: boolean;\n };\n readonly markdown: (args_0: {\n type: MarkdownType;\n }) => string;\n readonly node: (options?: Omit, 'type'> & {\n streaming?: boolean;\n }) => NodeEntry | undefined;\n readonly prompt: (args_0: {\n prompt?: EditorPrompt;\n }) => string;\n readonly resolvePlaceholders: (text: string, { prompt }?: {\n prompt?: string;\n }) => string;\n}, {\n readonly lastAssistantMessage: (state: Readonly<{\n readonly _blockKey: NodeKey | null;\n readonly _blockRefs: {\n readonly [x: string]: {\n readonly key: NodeKey;\n };\n };\n readonly _changeId: string | null;\n readonly _requestId: string | null;\n readonly _tableCellRefs: {\n readonly [x: string]: {\n readonly key: NodeKey;\n };\n };\n readonly authorId: string | null;\n readonly chat: {\n readonly clear: () => void;\n readonly error?: Error;\n readonly messages: readonly UIMessage[];\n readonly regenerate: (options?: ChatRequestOptions) => Promise;\n readonly sendMessage: (text: string, options?: ChatRequestOptions) => Promise;\n readonly status: ChatStatus;\n readonly stop: () => Promise | void;\n } | null;\n readonly chatNodeMode: NodeSelectionMode | null;\n readonly chatNodes: readonly {\n readonly isSelectionAnchor?: true;\n readonly isSelectionFocus?: true;\n readonly node: {\n readonly [x: string]: unknown;\n readonly children: readonly ( /*elided*/ any | {\n readonly [x: string]: unknown;\n readonly text: string;\n })[];\n readonly type: string;\n };\n readonly nodeKey: NodeKey;\n }[];\n readonly chatSelection: Range | null;\n readonly mode: AIMode;\n readonly open: boolean;\n readonly previewValue: readonly {\n readonly [x: string]: unknown;\n readonly children: readonly (any | {\n readonly [x: string]: unknown;\n readonly text: string;\n })[];\n readonly type: string;\n }[];\n readonly streaming: boolean;\n readonly toolName: AIToolName;\n readonly trigger: readonly string[] | RegExp | string;\n readonly triggerPreviousCharPattern: RegExp;\n readonly triggerQuery: ((editor: Editor) => boolean) | null;\n }>) => UIMessage | undefined;\n}, {}, readonly [], boolean, readonly []>", "source": null, "typeParameters": [] }, "platejs/ai/react:AIChatPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "AIChatPluginState", "runtime": false, "signature": "type AIChatPluginState = {\n _blockKey: NodeKey | null;\n _blockRefs: Record>;\n _changeId: string | null;\n _requestId: string | null;\n _tableCellRefs: Record>;\n /**\n * Author of every document write the AI makes, such as `'ai'`: its\n * suggestions, the output it inserts or replaces, and its withdrawals and\n * acceptances of its own suggestions, so reviewers see them under its name.\n * `null`, the default, writes them as the editor's user.\n */\n authorId: string | null;\n chat: AIChatAdapter | null;\n chatNodeMode: NodeSelectionMode | null;\n chatNodes: AIChatNodeSnapshot[];\n chatSelection: Range | null;\n mode: AIMode;\n open: boolean;\n previewValue: Value;\n streaming: boolean;\n toolName: AIToolName;\n /** Text that opens AI Space, or a pattern tested against the typed text. */\n trigger: readonly string[] | RegExp | string;\n triggerPreviousCharPattern: RegExp;\n /** Return false to keep a typed trigger as plain text. */\n triggerQuery: ((editor: Editor) => boolean) | null;\n};", "source": null, "typeParameters": [] }, "platejs/ai/react:AIMode": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "AIMode", "runtime": false, "signature": "type AIMode = 'chat' | 'insert';", "source": null, "typeParameters": [] }, "platejs/ai/react:CopilotCompleteOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "CopilotCompleteOptions", "runtime": false, "signature": "type CopilotCompleteOptions = Omit;", "source": null, "typeParameters": [] }, "platejs/ai/react:CopilotDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "CopilotDefinition", "runtime": false, "signature": "type CopilotDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/ai/react:CopilotPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "const", "name": "CopilotPlugin", "runtime": true, "signature": "CopilotPlugin: InternalPluginAuthorExtension;\n }) => boolean;\n readonly completeOptions: {\n readonly api: string;\n readonly body?: {\n readonly [x: string]: unknown;\n } | undefined;\n readonly credentials?: RequestCredentials;\n readonly fetch?: typeof fetch;\n readonly headers?: Headers | readonly (readonly [string, string])[] | {\n readonly [x: string]: string;\n } | undefined;\n readonly onError?: (error: Error) => void;\n readonly onFinish?: (prompt: string, completion: string) => void;\n readonly onResponse?: (response: Response) => Promise | void;\n } | null;\n readonly completion: string | null;\n readonly debounceDelay: number;\n readonly error: Error | null;\n readonly getNextWord: (options: {\n text: string;\n }) => {\n firstWord: string;\n remainingText: string;\n };\n readonly getPrompt: (options: {\n editor: MarkdownEditor;\n }) => string;\n readonly isLoading: boolean;\n readonly renderGhostText: (() => React.ReactNode) | null;\n readonly shouldAbort: boolean;\n readonly suggestionNodeKey: NodeKey | null;\n readonly suggestionText: string | null;\n readonly triggerQuery: (options: {\n editor: MarkdownEditor;\n }) => boolean;\n };\n readonly update: {\n accept: () => false | undefined;\n acceptNextWord: () => false | undefined;\n reject: () => false | undefined;\n setBlockSuggestion: TxDeclaredMethod<({ key, text }: {\n text: string;\n key?: NodeKey | null;\n }) => void>;\n setSuggestion: TxDeclaredMethod<(next: CopilotSuggestionState) => void>;\n };\n readonly dependencies: readonly [PluginReference$1<\"markdown\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly>> & Readonly>> & Pick;\n readonly dataTransferFormats: true;\n readonly initialState: {\n readonly plainMarks: readonly string[] | null;\n readonly remarkPlugins: readonly (MarkdownSyncPlugin | readonly [MarkdownSyncPlugin, ...unknown[]])[];\n readonly remarkStringifyOptions: {\n readonly bulletOther?: '*' | '+' | '-' | null | undefined;\n readonly bulletOrdered?: '.' | ')' | null | undefined;\n readonly bullet?: '*' | '+' | '-' | null | undefined;\n readonly closeAtx?: boolean | null | undefined;\n readonly emphasis?: '*' | '_' | null | undefined;\n readonly fences?: boolean | null | undefined;\n readonly fence?: '`' | '~' | null | undefined;\n readonly handlers?: {\n readonly blockquote?: Handle | undefined;\n readonly break?: Handle | undefined;\n readonly code?: Handle | undefined;\n readonly definition?: Handle | undefined;\n readonly delete?: Handle | undefined;\n readonly emphasis?: Handle | undefined;\n readonly footnoteDefinition?: Handle | undefined;\n readonly footnoteReference?: Handle | undefined;\n readonly heading?: Handle | undefined;\n readonly html?: Handle | undefined;\n readonly image?: Handle | undefined;\n readonly imageReference?: Handle | undefined;\n readonly inlineCode?: Handle | undefined;\n readonly inlineMath?: Handle | undefined;\n readonly link?: Handle | undefined;\n readonly linkReference?: Handle | undefined;\n readonly list?: Handle | undefined;\n readonly listItem?: Handle | undefined;\n readonly math?: Handle | undefined;\n readonly mdxFlowExpression?: Handle | undefined;\n readonly mdxJsxFlowElement?: Handle | undefined;\n readonly mdxJsxTextElement?: Handle | undefined;\n readonly mdxTextExpression?: Handle | undefined;\n readonly mdxjsEsm?: Handle | undefined;\n readonly paragraph?: Handle | undefined;\n readonly root?: Handle | undefined;\n readonly strong?: Handle | undefined;\n readonly table?: Handle | undefined;\n readonly tableCell?: Handle | undefined;\n readonly tableRow?: Handle | undefined;\n readonly text?: Handle | undefined;\n readonly thematicBreak?: Handle | undefined;\n readonly yaml?: Handle | undefined;\n } | null | undefined;\n readonly incrementListMarker?: boolean | null | undefined;\n readonly join?: readonly Join[] | null | undefined;\n readonly listItemIndent?: 'mixed' | 'one' | 'tab' | null | undefined;\n readonly quote?: '\"' | \"'\" | null | undefined;\n readonly resourceLink?: boolean | null | undefined;\n readonly ruleRepetition?: number | null | undefined;\n readonly ruleSpaces?: boolean | null | undefined;\n readonly rule?: '*' | '-' | '_' | null | undefined;\n readonly setext?: boolean | null | undefined;\n readonly strong?: '*' | '_' | null | undefined;\n readonly tightDefinitions?: boolean | null | undefined;\n readonly unsafe?: readonly Unsafe[] | null | undefined;\n } | null;\n };\n readonly validate: true;\n }>> & Readonly>, \"~schema.plugins\">];\n readonly editOnly: true;\n readonly effectTypes: true;\n readonly stateFields: true;\n}>>, Readonly<{\n readonly name: \"copilot\";\n readonly initialState: {\n readonly abortController: AbortController | null;\n readonly autoTriggerQuery: (options: {\n editor: MarkdownEditor;\n }) => boolean;\n readonly completeOptions: {\n readonly api: string;\n readonly body?: {\n readonly [x: string]: unknown;\n } | undefined;\n readonly credentials?: RequestCredentials;\n readonly fetch?: typeof fetch;\n readonly headers?: Headers | readonly (readonly [string, string])[] | {\n readonly [x: string]: string;\n } | undefined;\n readonly onError?: (error: Error) => void;\n readonly onFinish?: (prompt: string, completion: string) => void;\n readonly onResponse?: (response: Response) => Promise | void;\n } | null;\n readonly completion: string | null;\n readonly debounceDelay: number;\n readonly error: Error | null;\n readonly getNextWord: (options: {\n text: string;\n }) => {\n firstWord: string;\n remainingText: string;\n };\n readonly getPrompt: (options: {\n editor: MarkdownEditor;\n }) => string;\n readonly isLoading: boolean;\n readonly renderGhostText: (() => React.ReactNode) | null;\n readonly shouldAbort: boolean;\n readonly suggestionNodeKey: NodeKey | null;\n readonly suggestionText: string | null;\n readonly triggerQuery: (options: {\n editor: MarkdownEditor;\n }) => boolean;\n };\n readonly update: {\n accept: () => false | undefined;\n acceptNextWord: () => false | undefined;\n reject: () => false | undefined;\n setBlockSuggestion: TxDeclaredMethod<({ key, text }: {\n text: string;\n key?: NodeKey | null;\n }) => void>;\n setSuggestion: TxDeclaredMethod<(next: CopilotSuggestionState) => void>;\n };\n readonly dependencies: readonly [PluginReference$1<\"markdown\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly>> & Readonly>> & Pick;\n readonly dataTransferFormats: true;\n readonly initialState: {\n readonly plainMarks: readonly string[] | null;\n readonly remarkPlugins: readonly (MarkdownSyncPlugin | readonly [MarkdownSyncPlugin, ...unknown[]])[];\n readonly remarkStringifyOptions: {\n readonly bulletOther?: '*' | '+' | '-' | null | undefined;\n readonly bulletOrdered?: '.' | ')' | null | undefined;\n readonly bullet?: '*' | '+' | '-' | null | undefined;\n readonly closeAtx?: boolean | null | undefined;\n readonly emphasis?: '*' | '_' | null | undefined;\n readonly fences?: boolean | null | undefined;\n readonly fence?: '`' | '~' | null | undefined;\n readonly handlers?: {\n readonly blockquote?: Handle | undefined;\n readonly break?: Handle | undefined;\n readonly code?: Handle | undefined;\n readonly definition?: Handle | undefined;\n readonly delete?: Handle | undefined;\n readonly emphasis?: Handle | undefined;\n readonly footnoteDefinition?: Handle | undefined;\n readonly footnoteReference?: Handle | undefined;\n readonly heading?: Handle | undefined;\n readonly html?: Handle | undefined;\n readonly image?: Handle | undefined;\n readonly imageReference?: Handle | undefined;\n readonly inlineCode?: Handle | undefined;\n readonly inlineMath?: Handle | undefined;\n readonly link?: Handle | undefined;\n readonly linkReference?: Handle | undefined;\n readonly list?: Handle | undefined;\n readonly listItem?: Handle | undefined;\n readonly math?: Handle | undefined;\n readonly mdxFlowExpression?: Handle | undefined;\n readonly mdxJsxFlowElement?: Handle | undefined;\n readonly mdxJsxTextElement?: Handle | undefined;\n readonly mdxTextExpression?: Handle | undefined;\n readonly mdxjsEsm?: Handle | undefined;\n readonly paragraph?: Handle | undefined;\n readonly root?: Handle | undefined;\n readonly strong?: Handle | undefined;\n readonly table?: Handle | undefined;\n readonly tableCell?: Handle | undefined;\n readonly tableRow?: Handle | undefined;\n readonly text?: Handle | undefined;\n readonly thematicBreak?: Handle | undefined;\n readonly yaml?: Handle | undefined;\n } | null | undefined;\n readonly incrementListMarker?: boolean | null | undefined;\n readonly join?: readonly Join[] | null | undefined;\n readonly listItemIndent?: 'mixed' | 'one' | 'tab' | null | undefined;\n readonly quote?: '\"' | \"'\" | null | undefined;\n readonly resourceLink?: boolean | null | undefined;\n readonly ruleRepetition?: number | null | undefined;\n readonly ruleSpaces?: boolean | null | undefined;\n readonly rule?: '*' | '-' | '_' | null | undefined;\n readonly setext?: boolean | null | undefined;\n readonly strong?: '*' | '_' | null | undefined;\n readonly tightDefinitions?: boolean | null | undefined;\n readonly unsafe?: readonly Unsafe[] | null | undefined;\n } | null;\n };\n readonly validate: true;\n }>> & Readonly>, \"~schema.plugins\">];\n readonly editOnly: true;\n readonly effectTypes: true;\n readonly stateFields: true;\n}>, \"api\" | \"slots\", {}, {\n readonly stop: () => void;\n readonly triggerSuggestion: () => Promise | undefined;\n}, {}, {}, {}, readonly [], boolean, readonly []>, Readonly<{\n readonly name: \"copilot\";\n readonly dependencies: readonly [PluginReference$1<\"markdown\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly>> & Readonly>> & Pick;\n readonly dataTransferFormats: true;\n readonly initialState: {\n readonly plainMarks: readonly string[] | null;\n readonly remarkPlugins: readonly (MarkdownSyncPlugin | readonly [MarkdownSyncPlugin, ...unknown[]])[];\n readonly remarkStringifyOptions: {\n readonly bulletOther?: '*' | '+' | '-' | null | undefined;\n readonly bulletOrdered?: '.' | ')' | null | undefined;\n readonly bullet?: '*' | '+' | '-' | null | undefined;\n readonly closeAtx?: boolean | null | undefined;\n readonly emphasis?: '*' | '_' | null | undefined;\n readonly fences?: boolean | null | undefined;\n readonly fence?: '`' | '~' | null | undefined;\n readonly handlers?: {\n readonly blockquote?: Handle | undefined;\n readonly break?: Handle | undefined;\n readonly code?: Handle | undefined;\n readonly definition?: Handle | undefined;\n readonly delete?: Handle | undefined;\n readonly emphasis?: Handle | undefined;\n readonly footnoteDefinition?: Handle | undefined;\n readonly footnoteReference?: Handle | undefined;\n readonly heading?: Handle | undefined;\n readonly html?: Handle | undefined;\n readonly image?: Handle | undefined;\n readonly imageReference?: Handle | undefined;\n readonly inlineCode?: Handle | undefined;\n readonly inlineMath?: Handle | undefined;\n readonly link?: Handle | undefined;\n readonly linkReference?: Handle | undefined;\n readonly list?: Handle | undefined;\n readonly listItem?: Handle | undefined;\n readonly math?: Handle | undefined;\n readonly mdxFlowExpression?: Handle | undefined;\n readonly mdxJsxFlowElement?: Handle | undefined;\n readonly mdxJsxTextElement?: Handle | undefined;\n readonly mdxTextExpression?: Handle | undefined;\n readonly mdxjsEsm?: Handle | undefined;\n readonly paragraph?: Handle | undefined;\n readonly root?: Handle | undefined;\n readonly strong?: Handle | undefined;\n readonly table?: Handle | undefined;\n readonly tableCell?: Handle | undefined;\n readonly tableRow?: Handle | undefined;\n readonly text?: Handle | undefined;\n readonly thematicBreak?: Handle | undefined;\n readonly yaml?: Handle | undefined;\n } | null | undefined;\n readonly incrementListMarker?: boolean | null | undefined;\n readonly join?: readonly Join[] | null | undefined;\n readonly listItemIndent?: 'mixed' | 'one' | 'tab' | null | undefined;\n readonly quote?: '\"' | \"'\" | null | undefined;\n readonly resourceLink?: boolean | null | undefined;\n readonly ruleRepetition?: number | null | undefined;\n readonly ruleSpaces?: boolean | null | undefined;\n readonly rule?: '*' | '-' | '_' | null | undefined;\n readonly setext?: boolean | null | undefined;\n readonly strong?: '*' | '_' | null | undefined;\n readonly tightDefinitions?: boolean | null | undefined;\n readonly unsafe?: readonly Unsafe[] | null | undefined;\n } | null;\n };\n readonly validate: true;\n }>> & Readonly>, \"~schema.plugins\">];\n readonly api: {\n readonly stop: () => void;\n readonly triggerSuggestion: () => Promise | undefined;\n };\n readonly editOnly: true;\n readonly effectTypes: true;\n readonly initialState: {\n readonly abortController: AbortController | null;\n readonly autoTriggerQuery: (options: {\n editor: MarkdownEditor;\n }) => boolean;\n readonly completeOptions: {\n readonly api: string;\n readonly body?: {\n readonly [x: string]: unknown;\n } | undefined;\n readonly credentials?: RequestCredentials;\n readonly fetch?: typeof fetch;\n readonly headers?: Headers | readonly (readonly [string, string])[] | {\n readonly [x: string]: string;\n } | undefined;\n readonly onError?: (error: Error) => void;\n readonly onFinish?: (prompt: string, completion: string) => void;\n readonly onResponse?: (response: Response) => Promise | void;\n } | null;\n readonly completion: string | null;\n readonly debounceDelay: number;\n readonly error: Error | null;\n readonly getNextWord: (options: {\n text: string;\n }) => {\n firstWord: string;\n remainingText: string;\n };\n readonly getPrompt: (options: {\n editor: MarkdownEditor;\n }) => string;\n readonly isLoading: boolean;\n readonly renderGhostText: (() => React.ReactNode) | null;\n readonly shouldAbort: boolean;\n readonly suggestionNodeKey: NodeKey | null;\n readonly suggestionText: string | null;\n readonly triggerQuery: (options: {\n editor: MarkdownEditor;\n }) => boolean;\n };\n readonly slots: true;\n readonly stateFields: true;\n readonly update: {\n accept: () => false | undefined;\n acceptNextWord: () => false | undefined;\n reject: () => false | undefined;\n setBlockSuggestion: TxDeclaredMethod<({ key, text }: {\n text: string;\n key?: NodeKey | null;\n }) => void>;\n setSuggestion: TxDeclaredMethod<(next: CopilotSuggestionState) => void>;\n };\n}>, \"commands\" | \"on\" | \"selectors\" | \"shortcuts\" | \"slots\", {}, {}, {}, {\n readonly isSuggested: (state: Readonly<{\n readonly abortController: AbortController | null;\n readonly autoTriggerQuery: (options: {\n editor: MarkdownEditor;\n }) => boolean;\n readonly completeOptions: {\n readonly api: string;\n readonly body?: {\n readonly [x: string]: unknown;\n } | undefined;\n readonly credentials?: RequestCredentials;\n readonly fetch?: typeof fetch;\n readonly headers?: Headers | readonly (readonly [string, string])[] | {\n readonly [x: string]: string;\n } | undefined;\n readonly onError?: (error: Error) => void;\n readonly onFinish?: (prompt: string, completion: string) => void;\n readonly onResponse?: (response: Response) => Promise | void;\n } | null;\n readonly completion: string | null;\n readonly debounceDelay: number;\n readonly error: Error | null;\n readonly getNextWord: (options: {\n text: string;\n }) => {\n firstWord: string;\n remainingText: string;\n };\n readonly getPrompt: (options: {\n editor: MarkdownEditor;\n }) => string;\n readonly isLoading: boolean;\n readonly renderGhostText: (() => React.ReactNode) | null;\n readonly shouldAbort: boolean;\n readonly suggestionNodeKey: NodeKey | null;\n readonly suggestionText: string | null;\n readonly triggerQuery: (options: {\n editor: MarkdownEditor;\n }) => boolean;\n }>, key: NodeKey) => boolean;\n}, {}, readonly [], boolean, readonly []>", "source": null, "typeParameters": [] }, "platejs/ai/react:CopilotPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "CopilotPluginState", "runtime": false, "signature": "type CopilotPluginState = {\n abortController: AbortController | null;\n autoTriggerQuery: (options: {\n editor: MarkdownEditor;\n }) => boolean;\n completeOptions: CopilotCompleteOptions | null;\n completion: string | null;\n debounceDelay: number;\n error: Error | null;\n getNextWord: (options: {\n text: string;\n }) => {\n firstWord: string;\n remainingText: string;\n };\n getPrompt: (options: {\n editor: MarkdownEditor;\n }) => string;\n isLoading: boolean;\n renderGhostText: (() => React.ReactNode) | null;\n shouldAbort: boolean;\n suggestionNodeKey: NodeKey | null;\n suggestionText: string | null;\n triggerQuery: (options: {\n editor: MarkdownEditor;\n }) => boolean;\n};", "source": null, "typeParameters": [] }, "platejs/ai/react:EditorPrompt": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "EditorPrompt", "runtime": false, "signature": "type EditorPrompt = ((params: EditorPromptParams) => string) | {\n default: string;\n nodeSelecting?: string;\n selecting?: string;\n} | string;", "source": null, "typeParameters": [] }, "platejs/ai/react:EditorPromptParams": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "EditorPromptParams", "runtime": false, "signature": "type EditorPromptParams = {\n editor: Editor;\n /** Whether the current selection contains exact selected nodes. */\n isNodeSelecting: boolean;\n /** Whether the representative selection range is expanded. */\n isSelecting: boolean;\n};", "source": null, "typeParameters": [] }, "platejs/ai/react:getAIChatCommandEditor": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "const", "name": "getAIChatCommandEditor", "runtime": true, "signature": "getAIChatCommandEditor: (editor: Editor) => InternalReactEditorWithInstalledPlugins>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, readonly PluginReference[]>", "source": null, "typeParameters": [] }, "platejs/ai/react:TableCellUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs/ai/react", "kind": "type", "name": "TableCellUpdate", "runtime": false, "signature": "type TableCellUpdate = {\n content: string;\n ref: string;\n};", "source": null, "typeParameters": [] }, "platejs/ai/react:useAIChat": { "aliases": [], "documentation": "Binds one AI chat session to an editor's writable views.\nShare a transport between views of the same editor. Replacing it or detaching\nthe last view cancels the request. Check the data callback's signal after await.", "entrypoint": "platejs/ai/react", "kind": "function", "name": "useAIChat", "runtime": true, "signature": "declare function useAIChat({ editableRef, transport, onData }: {\n editableRef: React$1.RefObject;\n transport: ChatTransport;\n onData?: (part: DataUIPart>, signal: AbortSignal) => void;\n}): void;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredChange": { "aliases": [], "documentation": "One pending change, read from the review marks it left in the document.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredChange", "runtime": false, "signature": "type AuthoredChange = Readonly<{\n authorId: string;\n createdAt: number;\n id: string;\n kind: AuthoredChangeKind;\n /**\n * Where the change's marks sit in the stored document, read on any view:\n * a preview shows the document another way, so they can name other\n * content there.\n */\n ranges: readonly Range[];\n /**\n * Differs whenever the change's marks differ, and with them what each kind\n * covers. An insertion, deletion or format change covers the content it\n * marks. A join, split, wrap or unwrap covers its element's own fields and\n * the order and shapes of the elements inside it, never their text, so\n * typing inside it keeps the revision. A join or a block split also covers\n * its index at each level inside its top-level block, so a block landing\n * among or leaving from the blocks before it, or before one of its\n * ancestors there, changes the revision. The index counts blocks, so\n * reordering, replacing or retyping the blocks before it keeps the\n * revision, although the block a decision merges its line into can change.\n * No other revision covers where the change sits, so an edit before it\n * keeps it. Each top-level block the change marks adds its own part, so\n * swapping two of those blocks keeps the revision too.\n */\n revision: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredChangeDetails": { "aliases": [], "documentation": "A change's parts, with ranges, points and paths in the stored document.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredChangeDetails", "runtime": false, "signature": "type AuthoredChangeDetails = Readonly<{\n change: AuthoredChange;\n parts: readonly AuthoredChangePart[];\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredChangeGroup": { "aliases": [], "documentation": "Adjacent pending changes by one author that one card shows, such as a\ndeletion and the insertion that replaces it. Its id is its oldest change by\n`createdAt`, then id, so every peer and reload names it alike; the id\nmoves when the card splits or merges, or when that change leaves it.\n`revision` changes when a change joins or leaves the card or a member's\nrevision changes.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredChangeGroup", "runtime": false, "signature": "type AuthoredChangeGroup = Readonly<{\n authorId: string;\n changeCount: number;\n createdAt: number;\n id: string;\n revision: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredChangeKind", "runtime": false, "signature": "type AuthoredChangeKind = 'delete' | 'format' | 'insert' | 'mixed' | 'structure';", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredChangePart": { "aliases": [], "documentation": "One semantic part of a change, derived only when its details are read.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredChangePart", "runtime": false, "signature": "type AuthoredChangePart = Readonly<{\n action: 'delete' | 'insert' | 'replace';\n after: ContentSlice | null;\n before: ContentSlice | null;\n kind: 'content';\n range: Range;\n}> | Readonly<{\n action: 'join' | 'split';\n at: Point;\n kind: 'boundary';\n}> | Readonly<{\n action: 'unwrap' | 'wrap';\n kind: 'enclosure';\n path: Path;\n type: string;\n}> | Readonly<{\n after: Readonly>;\n before: Readonly>;\n kind: 'properties';\n nodeKind: 'element' | 'text';\n path: Path;\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredChangesDelta": { "aliases": [], "documentation": "What one commit changed in the review, shared by every listener of a view.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredChangesDelta", "runtime": false, "signature": "type AuthoredChangesDelta = Readonly<{\n /**\n * Top-level blocks of the view whose read of changes or cards may differ:\n * each one a change reached or left, including one the commit did not\n * write and one a change was moved wholly out of, and each one holding a\n * change whose card id changed. Under a preview they are the blocks it\n * shows.\n */\n blocks: readonly NodeKey[];\n /** Pending changes that began or whose revision changed. */\n changed: readonly string[];\n /** Cards whose summary changed, that began or that ended, by id. */\n groups: readonly string[];\n /** Changes no longer pending. */\n removed: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredComparisonImportResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredComparisonImportResult", "runtime": false, "signature": "type AuthoredComparisonImportResult = Readonly<{\n ids: readonly string[];\n mappings: ReadonlyArray>;\n status: 'applied' | 'unchanged';\n}> | Readonly<{\n reason: 'authored-frontier' | 'document' | 'schema';\n status: 'stale';\n}> | Readonly<{\n reason: 'ambiguous-selection' | 'dependency';\n status: 'blocked';\n}> | Readonly<{\n reason: 'comparison' | 'selection';\n status: 'invalid';\n}> | Readonly<{\n reason: 'actor' | 'plugin';\n status: 'unavailable';\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredDecision": { "aliases": [], "documentation": "The changes or cards to decide, as they were read. A card decides every\nchange it holds now, and reads as stale once its id or revision moved.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredDecision", "runtime": false, "signature": "type AuthoredDecision = Readonly<{\n action: 'accept' | 'reject';\n changes: readonly AuthoredChange[];\n}> | Readonly<{\n action: 'accept' | 'reject';\n groups: readonly AuthoredChangeGroup[];\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredDocumentProjection": { "aliases": [], "documentation": "", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredDocumentProjection", "runtime": false, "signature": "type AuthoredDocumentProjection = Readonly<{\n diagnostics: readonly AuthoredProjectionDiagnostic[];\n document: EditorDocumentValue;\n ok: true;\n /** Pending changes the projection decided. */\n pending: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredFormatProjection": { "aliases": [], "documentation": "`proposed` accepts every pending change; `accepted` rejects every one.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredFormatProjection", "runtime": false, "signature": "type AuthoredFormatProjection = 'accepted' | 'proposed';", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredMark": { "aliases": [], "documentation": "", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredMark", "runtime": false, "signature": "type AuthoredMark = (MarkBase & Readonly<{\n cut?: undefined;\n follows?: undefined;\n /**\n * The join's identity within its incarnation, minted once when the\n * recorder writes the join. A `joined` claim keeps it. Absent only on a\n * join stored before keys.\n */\n key?: string;\n kind: 'join' | 'joined';\n}> & NoGave) | (MarkBase & NoGave & Readonly<{\n cut?: undefined;\n follows?: undefined;\n key?: undefined;\n kind: Exclude;\n}>) | (MarkBase & Follows & NoGave & Readonly<{\n kind: 'insert';\n}>) | (MarkBase & Follows & Readonly<{\n /**\n * On a block split, what the split gave its new line: for each key a\n * join compares, and `type`, whose value the split did not copy from\n * the line it split, the value the new line holds, the default its\n * place fills in, or its removal. A split saved before splits recorded\n * this has none, and so does a split an Editing change records or one\n * whose line the recorder cannot pair with a line the document held\n * before the step. A key the split copied gets an entry too when the\n * line it split holds that key exactly as that line's own pending split\n * gave it. The entry's `from` names that split's incarnation, because\n * that split's verdict decides whether the copy stands for the line\n * before.\n */\n gave?: SplitGave;\n kind: 'split';\n}>) | (CutTag & NoGave) | (FormatTag & NoGave);", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredOptions", "runtime": false, "signature": "type AuthoredOptions = Readonly<{\n /**\n * Author of a recorded write or a withdrawal when the view it runs through\n * names no `authorId`. A function runs once per write with that view, or\n * the editor when the write runs on it. Suggesting requires one.\n */\n authorId: string | ((editor: AnyEditor) => string | null | undefined);\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredOutcome": { "aliases": [], "documentation": "How a change id stands in the review, as `read.authored.outcome` returns it.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredOutcome", "runtime": false, "signature": "type AuthoredOutcome = 'accepted' | 'contested' | 'pending' | 'rejected';", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredPage": { "aliases": [], "documentation": "", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredPage", "runtime": false, "signature": "type AuthoredPage = Readonly<{\n cursor: string | null;\n items: readonly AuthoredChange[];\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredPlaceError": { "aliases": [], "documentation": "A review read on a preview named a point or a range, which a preview does\nnot read: it reads the changes of a node by its key or path.", "entrypoint": "platejs/authored", "kind": "class", "name": "AuthoredPlaceError", "runtime": true, "signature": "declare class AuthoredPlaceError extends Error {\n name: string;\n constructor();\n}", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredPlugin": { "aliases": [], "documentation": "Suggestions attributed to the author the writing view names with\n`createEditorView(editor, { authorId })`, else to the editor's user, or to\nthe local user when the editor has no `userId`.", "entrypoint": "platejs/authored", "kind": "const", "name": "AuthoredPlugin", "runtime": true, "signature": "AuthoredPlugin: InternalBasePluginRuntimeExtension, AuthoredPlugin$1>", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredProjectionDiagnostic": { "aliases": [], "documentation": "`authored-lossy-projection` reports pending changes a projection decided.\n`authored-uncorrected` names a container whose children a decision\nremoved, merged, unwrapped or pulled apart: the pure resolver runs no\nplugin corrections, so values derived from those children, such as column\nwidths, are not recomputed.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredProjectionDiagnostic", "runtime": false, "signature": "type AuthoredProjectionDiagnostic = Readonly<{\n code: 'authored-lossy-projection';\n message: string;\n severity: 'warning';\n}> | Readonly<{\n code: 'authored-uncorrected';\n message: string;\n path: readonly number[];\n severity: 'warning';\n type: string | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredProjectionRefusal": { "aliases": [], "documentation": "A projection that built nothing. `authored-generated-values`: the schema\ngenerates a property value no spare block can hold, so deciding pending\nchanges would mint values that differ between the accepted and proposed\ndocuments. `authored-uncovered`: the projection builds an element that\nneeds a generated value, and the document stores no spare block for it.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredProjectionRefusal", "runtime": false, "signature": "type AuthoredProjectionRefusal = Readonly<{\n diagnostics: readonly [Readonly<{\n code: 'authored-generated-values' | 'authored-uncovered';\n message: string;\n severity: 'error';\n }>];\n ok: false;\n pending: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredQuery": { "aliases": [], "documentation": "", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredQuery", "runtime": false, "signature": "type AuthoredQuery = Readonly<{\n /**\n * Only changes touching this place of the document the view shows. With\n * no preview that is the stored document. On a preview it is a node's key\n * or path of the shown document, such as a block or one of its texts,\n * which reads the changes on the stored content the node shows, with what\n * the preview hides inside it and the changes on each element around it\n * that the preview takes away. Content the preview hides between two texts\n * of a block reads on the block, never on either text. A key the preview\n * lacks reads nothing, and a point or a range throws `AuthoredPlaceError`.\n */\n at?: Location | NodeKey;\n authorId?: string;\n cursor?: string;\n /** Only the changes of the card holding this change. */\n group?: string;\n limit?: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredRefusal": { "aliases": [], "documentation": "Why the authored plugin refused a change whole, so nothing of it applied,\nor refused a view switch.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredRefusal", "runtime": false, "signature": "type AuthoredRefusal = Readonly<{\n /**\n * `veto`: the change touches elements a feature's review marks cannot hold\n * yet, named in `reasons`. `generated-values`: the schema generates a\n * property value a suggestion cannot store, such as one whose target reads\n * its parent, so recording, accepting and rejecting could each build a\n * different one. `unrepresentable`: the review marks cannot hold the change,\n * such as deleting a named root or writing inside the root of a block\n * whose deletion is pending. Only `unrepresentable` refuses an Editing\n * write, such as Enter in a pending join's second half with moved lines\n * between its halves.\n */\n code: 'generated-values' | 'unrepresentable' | 'veto';\n message: string;\n /**\n * Each veto reason the change met, such as `'table'`, or the\n * {@link UnrepresentableReason} an unrepresentable edit met.\n */\n reasons: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredResult": { "aliases": [], "documentation": "`stale` names changes whose marks changed or went since they were read;\n`blocked` names the changes the decision must take with it; `invalid` means\nthe schema refuses the decided document.", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredResult", "runtime": false, "signature": "type AuthoredResult = Readonly<{\n ids: readonly string[];\n status: 'applied' | 'invalid' | 'stale' | 'unchanged';\n}> | Readonly<{\n ids: readonly string[];\n status: 'blocked';\n with: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredReview": { "aliases": [], "documentation": "", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredReview", "runtime": false, "signature": "type AuthoredReview = Readonly<{\n /**\n * The accepted value of each property a pending suggestion formats, with\n * `undefined` where the accepted document has no such property.\n */\n accepted: Readonly>;\n /**\n * Text an accepted deletion removed on another peer before this one typed\n * beside it; the editor removes it right after the commit that brought it.\n */\n hidden: boolean;\n /**\n * Its pending changes: its own and the insertions it sits inside, without\n * what a decision settled.\n */\n marks: readonly AuthoredMark[];\n}>;", "source": null, "typeParameters": [] }, "platejs/authored:AuthoredView": { "aliases": [], "documentation": "", "entrypoint": "platejs/authored", "kind": "type", "name": "AuthoredView", "runtime": false, "signature": "type AuthoredView = NonNullable;", "source": null, "typeParameters": [] }, "platejs/authored:projectAuthoredDocument": { "aliases": [], "documentation": "Read a stored document with every pending change accepted (`proposed`) or\nrejected (`accepted`). An editor's schema completes containers a decision\nempties and takes a removed table, row or cell whole; without one, the pure\nresolver leaves containers as the decision did and decides grid parts like\nany other element.\nWith pending changes under a schema that generates a property value a\nsuggestion cannot store, it builds nothing and reports why.", "entrypoint": "platejs/authored", "kind": "function", "name": "projectAuthoredDocument", "runtime": true, "signature": "declare function projectAuthoredDocument(document: EditorDocumentValue, options: Readonly<{\n projection: AuthoredFormatProjection;\n}>): AuthoredDocumentProjection;", "source": null, "typeParameters": [] }, "platejs/authored:projectAuthoredRange": { "aliases": [], "documentation": "Map a range of a stored document onto one of its projections, or null when\nthe projection keeps none of its content.", "entrypoint": "platejs/authored", "kind": "const", "name": "projectAuthoredRange", "runtime": true, "signature": "projectAuthoredRange: (document: EditorDocumentValue, projected: EditorDocumentValue, range: Range) => Range | null", "source": null, "typeParameters": [] }, "platejs/authored:proposeAuthoredComparison": { "aliases": [], "documentation": "Publish the selected groups of a validated fixed-revision comparison as one\nnative proposal. Returns `unchanged`, writing nothing, when accepting the\nimporter's own pending changes that the selection's document no longer marks,\nand keeping every other pending change, already gives that document.\nOtherwise returns `applied` only when accepting the proposal alone gives the\nselection's document and rejecting it alone gives the document it started\nfrom, with every other suggestion left pending. When it cannot, it writes\nnothing and returns `blocked`. Review can still hold the proposal's decision\nuntil a pending change it waits on is decided. An error that escapes the\nupdate after the proposal commits propagates.", "entrypoint": "platejs/authored", "kind": "const", "name": "proposeAuthoredComparison", "runtime": true, "signature": "proposeAuthoredComparison: (editor: AnyEditor, input: Readonly<{\n comparison: TwoWayComparison;\n groupIds?: readonly string[];\n}>) => AuthoredComparisonImportResult", "source": null, "typeParameters": [] }, "platejs/board:BaseBoardArrowPlugin": { "aliases": [], "documentation": "An arrow on a board, holding a text label. Each end is stored on the arrow,\nbound to a shape of the same board or free at a board point.", "entrypoint": "platejs/board", "kind": "const", "name": "BaseBoardArrowPlugin", "runtime": true, "signature": "BaseBoardArrowPlugin: BasePlugin>;\n key: \"dash\";\n localId: \"dash\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"dashed\" | \"dotted\" | \"solid\";\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n key: \"end\";\n localId: \"end\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n x: number;\n y: number;\n }> | Readonly<{\n anchor: BoardArrowAnchor;\n shape: string;\n x: number;\n y: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n key: \"start\";\n localId: \"start\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n x: number;\n y: number;\n }> | Readonly<{\n anchor: BoardArrowAnchor;\n shape: string;\n x: number;\n y: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"strokeWidth\";\n localId: \"strokeWidth\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: {\n readonly dash: PropertyEnumDescriptor>;\n readonly opacity: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n readonly strokeColor: PropertyStringDescriptor>;\n readonly strokeWidth: PropertyEnumDescriptor>;\n readonly textSize: PropertyEnumDescriptor>;\n readonly end: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n readonly start: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardArrow\";\n readonly formats: true;\n readonly update: {\n /**\n * Add an arrow above every shape of its board and return its id, with\n * the styles given and the default of each other style. The arrow joins\n * the board its bound ends name; `board` names it when both ends are\n * free. Each bound end saves the point it draws at. Return\n * undefined when an end names a missing shape, an arrow or a shape of\n * another board.\n */\n readonly insert: TxDeclaredMethod<({ children, end, start, ...styles }: Readonly<{\n children?: readonly Descendant[];\n end: BoardArrowEndInput;\n start: BoardArrowEndInput;\n }> & Partial>, { board }?: Readonly<{\n board?: NodeKey;\n }>) => string | undefined>;\n /**\n * Set one end of arrow `id`. A bound end saves the point it draws at.\n * Return false, writing nothing, when `id` names no arrow or the end\n * names a missing shape, an arrow or a shape of another board.\n */\n readonly setEnd: TxDeclaredMethod<(id: string, side: BoardArrowSide, input: BoardArrowEndInput) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/board:BaseBoardFramePlugin": { "aliases": [], "documentation": "A frame on a board: a void that holds the shapes whose places name it.\nFrames paint behind every other shape and hold no frame.", "entrypoint": "platejs/board", "kind": "const", "name": "BaseBoardFramePlugin", "runtime": true, "signature": "BaseBoardFramePlugin: BasePlugin & Readonly<{\n name: \"boardFrame\";\n}> & Readonly> & Readonly<{\n update: {\n /**\n * Add a frame above every frame of the board block `board`, with its\n * origin at its place, and return its id. It takes in each shape that\n * lies wholly in it and is in no other frame. Return undefined, and write\n * nothing, when `board` is no board or when a coordinate it would store,\n * its own or that of a shape it takes in, is not a finite number.\n */\n readonly insert: TxDeclaredMethod<({ height, name, width, x, y }: Readonly<{\n height?: number;\n name?: string;\n width?: number;\n x: number;\n y: number;\n }>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"name\";\n localId: \"name\";\n ownerName: \"boardFrame\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly blockContent: false;\n readonly properties: {\n name: PropertyStringDescriptor>;\n };\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/board:BaseBoardGeoPlugin": { "aliases": [], "documentation": "A geometric shape on a board, with a text label.", "entrypoint": "platejs/board", "kind": "const", "name": "BaseBoardGeoPlugin", "runtime": true, "signature": "BaseBoardGeoPlugin: BasePlugin>;\n key: \"dash\";\n localId: \"dash\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"dashed\" | \"dotted\" | \"solid\";\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"fill\";\n localId: \"fill\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor;\n key: \"geo\";\n localId: \"geo\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"diamond\" | \"ellipse\" | \"rectangle\" | \"triangle\";\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"strokeWidth\";\n localId: \"strokeWidth\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: {\n readonly geo: PropertyEnumDescriptor;\n } & BoardStyleProperties<{\n readonly dash: 'solid';\n readonly fill: 'none';\n readonly opacity: 1;\n readonly strokeColor: 'currentColor';\n readonly strokeWidth: 'm';\n readonly textSize: 'm';\n }>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardGeo\";\n readonly formats: true;\n readonly update: {\n insert: TxDeclaredMethod<(props: BoardShapeInsertProps<{\n readonly geo: \"diamond\" | \"ellipse\" | \"rectangle\" | \"triangle\";\n } & {\n dash: \"dashed\" | \"dotted\" | \"solid\";\n fill: string;\n opacity: number;\n strokeColor: string;\n strokeWidth: \"l\" | \"m\" | \"s\" | \"xl\";\n textSize: \"l\" | \"m\" | \"s\" | \"xl\";\n }>, options: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/board:BaseBoardImagePlugin": { "aliases": [], "documentation": "A picture on a board: an object block holding at most one child, its image\nelement or an upload draft. An editor with this shape installs the image\nplugin, the upload plugin or both.", "entrypoint": "platejs/board", "kind": "const", "name": "BaseBoardImagePlugin", "runtime": true, "signature": "BaseBoardImagePlugin: BasePlugin;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly max: 1;\n readonly min: 0;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n };\n };\n readonly targetPlugins: readonly [\"image\", \"upload\"];\n readonly name: \"boardImage\";\n readonly formats: true;\n readonly update: {\n /**\n * Add an image shape holding `children`, one image element or upload\n * draft, at `x` and `y` above every shape of the board block `board`, and\n * return its id. It is 320 by 240 unless `width` and `height` say\n * otherwise, and it joins the frame `frame` names when it overlaps it, or\n * else the frontmost frame under its middle. Return undefined when `board`\n * is no board or a number is not finite.\n */\n readonly insert: TxDeclaredMethod<({ children, frame, height, width, x, y }: Readonly<{\n children: readonly [Descendant];\n frame?: string;\n height?: number;\n width?: number;\n x: number;\n y: number;\n }>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/board:BaseBoardNotePlugin": { "aliases": [], "documentation": "A sticky note on a board, holding rich text.", "entrypoint": "platejs/board", "kind": "const", "name": "BaseBoardNotePlugin", "runtime": true, "signature": "BaseBoardNotePlugin: BasePlugin>;\n key: \"fill\";\n localId: \"fill\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: BoardStyleProperties<{\n readonly fill: 'yellow';\n readonly opacity: 1;\n readonly textSize: 'm';\n }>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardNote\";\n readonly formats: true;\n readonly update: {\n insert: TxDeclaredMethod<(props: BoardShapeInsertProps<{} & {\n fill: string;\n opacity: number;\n textSize: \"l\" | \"m\" | \"s\" | \"xl\";\n }>, options: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/board:BaseBoardPlugin": { "aliases": [], "documentation": "A board: a void block that owns one content root, whose top-level blocks\nare its shapes. Each shape is one of `targetPlugins`, holds a document-wide\nunique `shapeId`, and paints by its `zIndex`, a fractional key.", "entrypoint": "platejs/board", "kind": "const", "name": "BaseBoardPlugin", "runtime": true, "signature": "BaseBoardPlugin: BasePlugin | undefined>;\n key: \"framePlace\" | \"place\";\n localId: \"framePlace\";\n ownerName: \"board\";\n placement: never;\n unaliased: boolean;\n value: unknown;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly default: 480;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"board\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardShapePlace) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardShapePlace;\n validationVersion: number;\n }>>;\n key: \"place\";\n localId: \"place\";\n ownerName: \"board\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n x: number;\n y: number;\n }> | Readonly<{\n frame: string;\n frameOrigin: BoardPlace;\n x: number;\n y: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly generate: typeof nanoid;\n }>;\n key: \"shapeId\";\n localId: \"shapeId\";\n ownerName: \"board\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly required: true;\n readonly validate: typeof isBoardSize;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n height: number;\n width: number;\n }> | undefined;\n generate?: (() => Readonly<{\n height: number;\n width: number;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n height: number;\n width: number;\n }>;\n validationVersion: number;\n }>>;\n key: \"size\";\n localId: \"size\";\n ownerName: \"board\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n height: number;\n width: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: typeof isStackingKey;\n readonly validationVersion: 1;\n }>;\n key: \"zIndex\";\n localId: \"zIndex\";\n ownerName: \"board\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: true;\n readonly contentRoots: {\n readonly shapes: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly ownership: \"exclusive\";\n readonly structure: {\n readonly kind: \"set\";\n };\n };\n };\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly default: 480;\n }>;\n };\n readonly void: \"block\";\n };\n readonly properties: {\n readonly place: SchemaElementPropertyDefinition BoardShapePlace) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardShapePlace;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: string[];\n }>>;\n readonly shapeId: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n readonly size: SchemaElementPropertyDefinition, {\n readonly required: true;\n readonly validate: typeof isBoardSize;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n height: number;\n width: number;\n }> | undefined;\n generate?: (() => Readonly<{\n height: number;\n width: number;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n height: number;\n width: number;\n }>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: string[];\n }>>;\n readonly zIndex: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n readonly framePlace?: Readonly<{\n copy: SchemaPropertyCopyPolicy;\n key: \"place\";\n landing: SchemaPropertyLandingPolicy;\n placement: 'element';\n references?: Readonly<{\n key: string;\n map: (value: Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n }>, renamed: (name: string) => string | undefined) => Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n }>;\n }> | undefined;\n role: SchemaPropertyRole;\n split: SchemaPropertySplitPolicy;\n target: Readonly<{\n kind: 'types';\n types: readonly [\"boardFrame\"];\n }>;\n typeChange: SchemaPropertyTypeChangePolicy;\n unique?: true;\n value: PropertyJsonDescriptor, {\n readonly required: true;\n readonly validate: typeof isBoardFramePlace;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n }> | undefined;\n generate?: (() => Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n }>;\n validationVersion: number;\n }>>;\n }> | undefined;\n };\n };\n readonly targetPlugins: readonly [BasePlugin>;\n key: \"fill\";\n localId: \"fill\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: BoardStyleProperties<{\n readonly fill: 'yellow';\n readonly opacity: 1;\n readonly textSize: 'm';\n }>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardNote\";\n readonly formats: true;\n readonly update: {\n insert: TxDeclaredMethod<(props: BoardShapeInsertProps<{} & {\n fill: string;\n opacity: number;\n textSize: \"l\" | \"m\" | \"s\" | \"xl\";\n }>, options: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n }>> & Readonly>, BasePlugin>;\n key: \"dash\";\n localId: \"dash\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"dashed\" | \"dotted\" | \"solid\";\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"fill\";\n localId: \"fill\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor;\n key: \"geo\";\n localId: \"geo\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"diamond\" | \"ellipse\" | \"rectangle\" | \"triangle\";\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"strokeWidth\";\n localId: \"strokeWidth\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: {\n readonly geo: PropertyEnumDescriptor;\n } & BoardStyleProperties<{\n readonly dash: 'solid';\n readonly fill: 'none';\n readonly opacity: 1;\n readonly strokeColor: 'currentColor';\n readonly strokeWidth: 'm';\n readonly textSize: 'm';\n }>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardGeo\";\n readonly formats: true;\n readonly update: {\n insert: TxDeclaredMethod<(props: BoardShapeInsertProps<{\n readonly geo: \"diamond\" | \"ellipse\" | \"rectangle\" | \"triangle\";\n } & {\n dash: \"dashed\" | \"dotted\" | \"solid\";\n fill: string;\n opacity: number;\n strokeColor: string;\n strokeWidth: \"l\" | \"m\" | \"s\" | \"xl\";\n textSize: \"l\" | \"m\" | \"s\" | \"xl\";\n }>, options: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n }>> & Readonly>, BasePlugin;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly max: 1;\n readonly min: 0;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n };\n };\n readonly targetPlugins: readonly [\"image\", \"upload\"];\n readonly name: \"boardImage\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ children, frame, height, width, x, y }: Readonly<{\n children: readonly [Descendant];\n frame?: string;\n height?: number;\n width?: number;\n x: number;\n y: number;\n }>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n }>> & Readonly>, BasePlugin>;\n key: \"dash\";\n localId: \"dash\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"dashed\" | \"dotted\" | \"solid\";\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n key: \"end\";\n localId: \"end\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n x: number;\n y: number;\n }> | Readonly<{\n anchor: BoardArrowAnchor;\n shape: string;\n x: number;\n y: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n key: \"start\";\n localId: \"start\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n x: number;\n y: number;\n }> | Readonly<{\n anchor: BoardArrowAnchor;\n shape: string;\n x: number;\n y: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"strokeWidth\";\n localId: \"strokeWidth\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: {\n readonly dash: PropertyEnumDescriptor>;\n readonly opacity: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n readonly strokeColor: PropertyStringDescriptor>;\n readonly strokeWidth: PropertyEnumDescriptor>;\n readonly textSize: PropertyEnumDescriptor>;\n readonly end: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n readonly start: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardArrow\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ children, end, start, ...styles }: Readonly<{\n children?: readonly Descendant[];\n end: BoardArrowEndInput;\n start: BoardArrowEndInput;\n }> & Partial>, { board }?: Readonly<{\n board?: NodeKey;\n }>) => string | undefined>;\n readonly setEnd: TxDeclaredMethod<(id: string, side: BoardArrowSide, input: BoardArrowEndInput) => boolean>;\n };\n }>> & Readonly>, BasePlugin & Readonly<{\n name: \"boardFrame\";\n }> & Readonly> & Readonly<{\n update: {\n readonly insert: TxDeclaredMethod<({ height, name, width, x, y }: Readonly<{\n height?: number;\n name?: string;\n width?: number;\n x: number;\n y: number;\n }>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n }> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"name\";\n localId: \"name\";\n ownerName: \"boardFrame\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly blockContent: false;\n readonly properties: {\n name: PropertyStringDescriptor>;\n };\n readonly void: \"block\";\n };\n };\n }>>, BasePlugin & Readonly<{\n name: \"boardStroke\";\n }> & Readonly> & Readonly<{\n update: {\n readonly insert: TxDeclaredMethod<({ points, ...styles }: Readonly<{\n points: readonly BoardInkPoint[];\n }> & Partial>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n }> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardStrokePoints) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardStrokePoints;\n validationVersion: number;\n }>>;\n key: \"points\";\n localId: \"points\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: BoardStrokePoints;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly blockContent: false;\n readonly properties: {\n readonly opacity: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n readonly strokeColor: PropertyStringDescriptor>;\n readonly points: PropertyJsonDescriptor BoardStrokePoints) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardStrokePoints;\n validationVersion: number;\n }>>;\n };\n readonly void: \"block\";\n };\n };\n }>>];\n readonly name: \"board\";\n readonly commands: true;\n readonly contributions: true;\n readonly formats: true;\n readonly read: {\n /**\n * Where the arrow `id` draws its two ends, or null when `id` names\n * no arrow.\n */\n readonly arrowEnds: (id: string) => BoardArrowEnds | null;\n /** The member whose `shapeId` is `id`, in any board. */\n readonly shape: (id: string) => BoardMemberEntry | null;\n /**\n * The slice a copy of shapes `ids` carries, as the clipboard exports\n * it, or null when no id names a shape or they sit in two boards.\n */\n readonly slice: (ids: readonly string[]) => ContentSlice | null;\n /** The members of the board block `board`, in stored order. */\n readonly shapes: (board: NodeKey) => BoardMemberEntry[];\n };\n readonly readMiddleware: true;\n readonly update: {\n /**\n * Paste a copy of the shapes `slice` holds into the board block\n * `board`, as one change: fresh ids, above every shape of that board,\n * with their top-left corner at `place` when given, and stepped off\n * any shape already at the places they land on. Return the copies'\n * ids, or undefined when `board` is no board, `slice` holds anything\n * but shapes, or the paste is refused.\n */\n readonly insertCopy: TxDeclaredMethod<(slice: ContentSlice, { board, place }: Readonly<{\n board: NodeKey;\n place?: BoardPlace;\n }>) => string[] | undefined>;\n /**\n * Add a board with an empty root under a fresh name, and return the\n * board's key.\n */\n readonly insert: TxDeclaredMethod<({ height }?: Readonly<{\n height?: number;\n }>, options?: BlockInsertOptions) => NodeKey | undefined>;\n /**\n * Move shapes by `delta`. A frame moves its origin with it, so its\n * members follow it and are skipped when moved with it. Any other\n * shape that is not an arrow then joins the frontmost frame under\n * its middle, or leaves its frame. An arrow moves each end that\n * draws free, one whose shape is gone included, and leaves its\n * other ends to their shapes.\n */\n readonly move: TxDeclaredMethod<(ids: readonly string[], delta: BoardPlace) => void>;\n /**\n * Remove shapes, each frame with the shapes it holds. Each arrow\n * left on the board first saves, for each end bound to a removed\n * shape, the point it draws at, keeping the binding so that undo\n * binds it again.\n */\n readonly remove: TxDeclaredMethod<(ids: readonly string[]) => void>;\n /**\n * Remove the frame `id` and keep the shapes it holds where they\n * are, each at its board point in no frame.\n */\n readonly removeFrame: TxDeclaredMethod<(id: string) => void>;\n /**\n * Set a shape's place and size together, as a resize from any edge.\n * A frame keeps its origin, so its members stay put, and lets go of\n * each member it no longer overlaps. Any other shape joins the\n * frontmost frame under its middle, or leaves its frame. An image\n * shape keeps its ratio: its height follows the given width, and a\n * shrink stops at a short edge of 8, so it can store another width.\n */\n readonly resize: TxDeclaredMethod<(id: string, rect: BoardPlace & BoardSize) => void>;\n /**\n * Move shapes in paint order, keeping their order among themselves:\n * above or below every other shape of their board, or past the next\n * shape above or below them. Frames paint behind every other shape,\n * so a frame moves among frames and any other shape among the rest.\n */\n readonly restack: TxDeclaredMethod<(ids: readonly string[], direction: BoardRestackDirection) => void>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/board:BaseBoardStrokePlugin": { "aliases": [], "documentation": "A pen line on a board: a void that stores its points as one value, measured\nin its box, so a move writes only its place and a resize scales the line\nwhile the box keeps its padding.", "entrypoint": "platejs/board", "kind": "const", "name": "BaseBoardStrokePlugin", "runtime": true, "signature": "BaseBoardStrokePlugin: BasePlugin & Readonly<{\n name: \"boardStroke\";\n}> & Readonly> & Readonly<{\n update: {\n /**\n * Add a line drawn through `points` above every shape of the board block\n * `board`, with the styles given and the default of each other style, and\n * return its id. Its box holds the line at full pressure, and it joins the\n * frontmost frame under its middle. One point adds a dot.\n * Return undefined when `board` is no board, or when `points` is empty or\n * holds a number that is not finite.\n */\n readonly insert: TxDeclaredMethod<({ points, ...styles }: Readonly<{\n points: readonly BoardInkPoint[];\n }> & Partial>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardStrokePoints) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardStrokePoints;\n validationVersion: number;\n }>>;\n key: \"points\";\n localId: \"points\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: BoardStrokePoints;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly blockContent: false;\n readonly properties: {\n readonly opacity: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n readonly strokeColor: PropertyStringDescriptor>;\n readonly points: PropertyJsonDescriptor BoardStrokePoints) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardStrokePoints;\n validationVersion: number;\n }>>;\n };\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/board:BoardArrowAnchor": { "aliases": [], "documentation": "Where an arrow end aims in its shape, as fractions of the shape's box.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardArrowAnchor", "runtime": false, "signature": "type BoardArrowAnchor = readonly [number, number];", "source": null, "typeParameters": [] }, "platejs/board:BoardArrowElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/board", "kind": "type", "name": "BoardArrowElement", "runtime": false, "signature": "type BoardArrowElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/board:BoardArrowEnd": { "aliases": [], "documentation": "One end of an arrow: bound to a shape, with the board point the board last\nwrote for it, or free at a board point.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardArrowEnd", "runtime": false, "signature": "type BoardArrowEnd = BoardPlace | Readonly<{\n anchor: BoardArrowAnchor;\n shape: string;\n x: number;\n y: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/board:BoardArrowEndInput": { "aliases": [], "documentation": "An arrow end as a command takes it: a shape id, bound at the shape's\ncenter; a shape with the anchor to aim at, as fractions of its box; or a\nfree board point.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardArrowEndInput", "runtime": false, "signature": "type BoardArrowEndInput = BoardPlace | string | Readonly<{\n anchor?: BoardArrowAnchor;\n shape: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/board:BoardArrowEnds": { "aliases": [], "documentation": "An arrow's two drawn ends, in board coordinates.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardArrowEnds", "runtime": false, "signature": "type BoardArrowEnds = Readonly<{\n end: BoardPlace;\n start: BoardPlace;\n}>;", "source": null, "typeParameters": [] }, "platejs/board:BoardArrowEntry": { "aliases": [], "documentation": "A board arrow, with its stored ends, as the board reads it.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardArrowEntry", "runtime": false, "signature": "type BoardArrowEntry = EditorUniqueHolder & Readonly<{\n end: BoardArrowEnd;\n id: string;\n kind: 'arrow';\n node: Element;\n start: BoardArrowEnd;\n zIndex: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/board:BoardArrowSide": { "aliases": [], "documentation": "Which end of an arrow.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardArrowSide", "runtime": false, "signature": "type BoardArrowSide = 'end' | 'start';", "source": null, "typeParameters": [] }, "platejs/board:BoardDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/board", "kind": "type", "name": "BoardDefinition", "runtime": false, "signature": "type BoardDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/board:BoardElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/board", "kind": "type", "name": "BoardElement", "runtime": false, "signature": "type BoardElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/board:BoardFrameElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/board", "kind": "type", "name": "BoardFrameElement", "runtime": false, "signature": "type BoardFrameElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/board:BoardFrameEntry": { "aliases": [], "documentation": "A board frame, as the board reads it: its top-left corner `place` in board\ncoordinates, its size, and the `origin` its members measure from.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardFrameEntry", "runtime": false, "signature": "type BoardFrameEntry = EditorUniqueHolder & Readonly<{\n id: string;\n kind: 'frame';\n node: Element;\n origin: BoardPlace;\n place: BoardPlace;\n size: BoardSize;\n zIndex: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/board:BoardFramePlace": { "aliases": [], "documentation": "A frame's place: its top-left corner, and the origin its members measure\nfrom, which only a move of the frame changes.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardFramePlace", "runtime": false, "signature": "type BoardFramePlace = Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/board:BoardGeo": { "aliases": [], "documentation": "The outline a geo shape draws.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardGeo", "runtime": false, "signature": "type BoardGeo = (typeof BOARD_GEOS)[number];", "source": null, "typeParameters": [] }, "platejs/board:BoardGeoElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/board", "kind": "type", "name": "BoardGeoElement", "runtime": false, "signature": "type BoardGeoElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/board:BoardImageElement": { "aliases": [], "documentation": "A stored image shape: a board member holding at most one image or upload draft.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardImageElement", "runtime": false, "signature": "type BoardImageElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/board:BoardMemberEntry": { "aliases": [], "documentation": "Any member of a board, as the board reads it.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardMemberEntry", "runtime": false, "signature": "type BoardMemberEntry = BoardArrowEntry | BoardFrameEntry | BoardShapeEntry;", "source": null, "typeParameters": [] }, "platejs/board:BoardNoteElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/board", "kind": "type", "name": "BoardNoteElement", "runtime": false, "signature": "type BoardNoteElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/board:BoardPlace": { "aliases": [], "documentation": "A point on a board, in board coordinates.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardPlace", "runtime": false, "signature": "type BoardPlace = Readonly<{\n x: number;\n y: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/board:BoardRestackDirection": { "aliases": [], "documentation": "Where `restack` moves shapes in paint order.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardRestackDirection", "runtime": false, "signature": "type BoardRestackDirection = 'back' | 'backward' | 'forward' | 'front';", "source": null, "typeParameters": [] }, "platejs/board:BoardShapeEntry": { "aliases": [], "documentation": "A board shape that a frame can hold, as the board reads it. `place` is its\ntop-left corner in board coordinates, and `frame` the id of the frame that\nholds it, when one does.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardShapeEntry", "runtime": false, "signature": "type BoardShapeEntry = EditorUniqueHolder & Readonly<{\n frame?: string;\n id: string;\n kind: 'shape';\n node: Element;\n place: BoardPlace;\n size: BoardSize;\n zIndex: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/board:BoardShapePlace": { "aliases": [], "documentation": "The stored place of a shape that is no frame: a board point, or, inside a\nframe, a point measured from that frame's `origin`, with `frameOrigin` the\norigin the frame had when the shape joined it.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardShapePlace", "runtime": false, "signature": "type BoardShapePlace = BoardPlace | Readonly<{\n frame: string;\n frameOrigin: BoardPlace;\n x: number;\n y: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/board:BoardSize": { "aliases": [], "documentation": "A shape's size on its board.", "entrypoint": "platejs/board", "kind": "type", "name": "BoardSize", "runtime": false, "signature": "type BoardSize = Readonly<{\n height: number;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/board:BoardStrokeElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/board", "kind": "type", "name": "BoardStrokeElement", "runtime": false, "signature": "type BoardStrokeElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/board:defineBoardShape": { "aliases": [], "documentation": "A board shape kind named `name`: an object block of paragraphs and\nheadings with `properties`, a default `size`, and `styles`, the default of\neach board style it takes. A style is declared only in `styles`.", "entrypoint": "platejs/board", "kind": "const", "name": "defineBoardShape", "runtime": true, "signature": "defineBoardShape: = {}, const TStyles extends object & BoardStyleDefaults = {}>(name: TName, { properties, size, styles }: Readonly<{\n properties: TProperties;\n size: BoardSize;\n styles: TStyles;\n}>) => BasePlugin | Extract]: Readonly<{\n descriptor: (TProperties & BoardStyleProperties)[TLocalId];\n key: TLocalId;\n localId: TLocalId;\n ownerName: TName;\n placement: \"element\";\n unaliased: TLocalId extends string ? TLocalId extends TLocalId ? TLocalId extends TLocalId ? true : false : false : false;\n value: PropertyValueDescriptor | undefined> extends (TProperties & BoardStyleProperties)[TLocalId] ? unknown : PropertyValueOf<(TProperties & BoardStyleProperties)[TLocalId]>;\n }>; }[Extract | Extract];\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: TProperties & BoardStyleProperties;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: TName;\n readonly update: BoardShapeUpdate<{ [K in keyof TProperties]: PropertyValueOf; } & { [K in keyof TStyles & (\"dash\" | \"fill\" | \"opacity\" | \"strokeColor\" | \"strokeWidth\" | \"textSize\")]: Readonly<{\n dash: (readonly [\"dashed\", \"dotted\", \"solid\"])[number];\n fill: string;\n opacity: number;\n strokeColor: string;\n strokeWidth: BoardStyleSize;\n textSize: BoardStyleSize;\n }>[K]; }>;\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/board/react:BoardArrowPath": { "aliases": [], "documentation": "Where an arrow draws: its two ends in board coordinates and the path between them.", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardArrowPath", "runtime": false, "signature": "type BoardArrowPath = BoardArrowEnds & Readonly<{\n path: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/board/react:BoardArrowPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/board/react", "kind": "const", "name": "BoardArrowPlugin", "runtime": true, "signature": "BoardArrowPlugin: Plugin>;\n key: \"dash\";\n localId: \"dash\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"dashed\" | \"dotted\" | \"solid\";\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n key: \"end\";\n localId: \"end\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n x: number;\n y: number;\n }> | Readonly<{\n anchor: BoardArrowAnchor;\n shape: string;\n x: number;\n y: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n key: \"start\";\n localId: \"start\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n x: number;\n y: number;\n }> | Readonly<{\n anchor: BoardArrowAnchor;\n shape: string;\n x: number;\n y: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"strokeWidth\";\n localId: \"strokeWidth\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: {\n readonly dash: PropertyEnumDescriptor>;\n readonly opacity: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n readonly strokeColor: PropertyStringDescriptor>;\n readonly strokeWidth: PropertyEnumDescriptor>;\n readonly textSize: PropertyEnumDescriptor>;\n readonly end: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n readonly start: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardArrow\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ children, end, start, ...styles }: Readonly<{\n children?: readonly Descendant[];\n end: BoardArrowEndInput;\n start: BoardArrowEndInput;\n }> & Partial>, { board }?: Readonly<{\n board?: NodeKey;\n }>) => string | undefined>;\n readonly setEnd: TxDeclaredMethod<(id: string, side: BoardArrowSide, input: BoardArrowEndInput) => boolean>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/board/react:BoardCamera": { "aliases": [], "documentation": "Where a board view looks: the board point at its top left corner, and its zoom.", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardCamera", "runtime": false, "signature": "type BoardCamera = Readonly<{\n x: number;\n y: number;\n zoom: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/board/react:BoardCorner": { "aliases": [], "documentation": "A corner of a shape's box: the one a corner handle drags, or the one the\nkeys move while S resizes a shape. The opposite corner stays where it is.", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardCorner", "runtime": false, "signature": "type BoardCorner = 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';", "source": null, "typeParameters": [] }, "platejs/board/react:BoardFramePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/board/react", "kind": "const", "name": "BoardFramePlugin", "runtime": true, "signature": "BoardFramePlugin: Plugin & Readonly<{\n name: \"boardFrame\";\n}> & Readonly> & Readonly<{\n update: {\n readonly insert: TxDeclaredMethod<({ height, name, width, x, y }: Readonly<{\n height?: number;\n name?: string;\n width?: number;\n x: number;\n y: number;\n }>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"name\";\n localId: \"name\";\n ownerName: \"boardFrame\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly blockContent: false;\n readonly properties: {\n name: PropertyStringDescriptor>;\n };\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/board/react:BoardGeoPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/board/react", "kind": "const", "name": "BoardGeoPlugin", "runtime": true, "signature": "BoardGeoPlugin: Plugin>;\n key: \"dash\";\n localId: \"dash\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"dashed\" | \"dotted\" | \"solid\";\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"fill\";\n localId: \"fill\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor;\n key: \"geo\";\n localId: \"geo\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"diamond\" | \"ellipse\" | \"rectangle\" | \"triangle\";\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"strokeWidth\";\n localId: \"strokeWidth\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: {\n readonly geo: PropertyEnumDescriptor;\n } & BoardStyleProperties<{\n readonly dash: 'solid';\n readonly fill: 'none';\n readonly opacity: 1;\n readonly strokeColor: 'currentColor';\n readonly strokeWidth: 'm';\n readonly textSize: 'm';\n }>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardGeo\";\n readonly formats: true;\n readonly update: {\n insert: TxDeclaredMethod<(props: BoardShapeInsertProps<{\n readonly geo: \"diamond\" | \"ellipse\" | \"rectangle\" | \"triangle\";\n } & {\n dash: \"dashed\" | \"dotted\" | \"solid\";\n fill: string;\n opacity: number;\n strokeColor: string;\n strokeWidth: \"l\" | \"m\" | \"s\" | \"xl\";\n textSize: \"l\" | \"m\" | \"s\" | \"xl\";\n }>, options: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/board/react:BoardImagePlugin": { "aliases": [], "documentation": "A picture on a board, holding at most one image element or upload draft. The\nboard keeps it selected as an object, since it holds no text a caret can\nenter.", "entrypoint": "platejs/board/react", "kind": "const", "name": "BoardImagePlugin", "runtime": true, "signature": "BoardImagePlugin: Plugin;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly max: 1;\n readonly min: 0;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n };\n };\n readonly targetPlugins: readonly [\"image\", \"upload\"];\n readonly name: \"boardImage\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ children, frame, height, width, x, y }: Readonly<{\n children: readonly [Descendant];\n frame?: string;\n height?: number;\n width?: number;\n x: number;\n y: number;\n }>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/board/react:BoardMessages": { "aliases": [], "documentation": "Every word a board says. The view whose surface holds focus puts one\nmessage per action into the editor's status region, read from the latest\n`messages` it rendered with. A member that returns an empty string says\nnothing.", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardMessages", "runtime": false, "signature": "type BoardMessages = Readonly<{\n /**\n * Called with `shape` and its 1-based place in stored order among the\n * board's shapes when the connect end the keys move binds to it: when Tab,\n * Shift+Tab or Mod with an arrow aims that end at its middle, when an arrow\n * key moves the end into it or within it, and again when Mod with an arrow\n * finds no shape that way.\n * `anchor` is where the end sits in the shape's box, in whole percents\n * `across` from its left edge and `down` from its top, so its middle is 50\n * and 50. `side` is the arrow end the keys move: `start` while an arrow\n * begun with nothing selected places its start, and `end` once Enter keeps\n * the start or when the arrow starts from a selected shape.\n */\n aim: (shape: BoardShapeDescription, at: Readonly<{\n anchor: Readonly<{\n across: number;\n down: number;\n }>;\n position: number;\n side: BoardArrowSide;\n total: number;\n }>) => string;\n /**\n * Called when Enter with the arrow tool starts connecting from `from`, the\n * one selected shape, and when Enter keeps the start of an arrow begun with\n * nothing selected, with `from` as the shape that start binds to, or `null`\n * for a start on no shape. While the keys place the end and the connect\n * has none, before an arrow key or an aim key places one and after the\n * shape it binds to is removed, Enter and an aim key that finds no shape\n * call it again. Enter also calls\n * it again, and writes no arrow, when the arrow would draw with no length,\n * as with the end back at the start's point.\n */\n connecting: (from: BoardShapeDescription | null) => string;\n /**\n * Called when an arrow key moves the connect end the keys move onto no\n * shape it can bind to, with the board point it sits at in whole units,\n * and again when Tab or Shift+Tab finds no shape to aim at, or Mod with an\n * arrow finds no shape that way from there. `side` is the arrow end the\n * keys move, as `aim` says.\n */\n free: (place: BoardPlace, end: Readonly<{\n side: BoardArrowSide;\n }>) => string;\n /**\n * The board's accessible name, which its focus target and its shapes'\n * content root carry.\n */\n label: string;\n /**\n * The focus target's description, which a screen reader says when the\n * target takes focus.\n */\n instructions: string;\n /**\n * Called at each key of picking that Space started: when Tab, Shift+Tab or\n * Mod with an arrow moves the cursor to `shape`, again when Mod with an\n * arrow finds no shape that way, and when Space adds the cursor's shape to\n * the selection or takes it out.\n */\n pick: (shape: BoardShapeDescription, state: BoardPickState) => string;\n /**\n * Called when Space goes down and comes up on the focus target of a board\n * with shapes, with no modifier, no other key or pointer press between and\n * no picking, connect, gesture or resize running, which starts picking in\n * any view, a read-only one included. `shape` is the cursor's first shape,\n * the first selected one in stored order or else the first one. Tab and\n * Shift+Tab then move the cursor through every shape in stored order and\n * wrap, Mod with an arrow moves it to the nearest shape that way, and Space\n * adds the cursor's shape to the selection or takes it out, each leaving the\n * rest of the selection as it is and calling `pick`. Enter, Escape, a\n * pointer press, focus leaving the board, the cursor's shape going away and\n * any other board key end picking and keep the selection, and every end but\n * focus leaving, a pointer press and a key that says something of its own\n * calls `shape` or `shapes` again.\n */\n picking: (shape: BoardShapeDescription, state: BoardPickState) => string;\n /**\n * Called when the selection becomes one shape, with its 1-based place in\n * stored order among the board's shapes.\n */\n shape: (shape: BoardShapeDescription, at: Readonly<{\n position: number;\n total: number;\n }>) => string;\n /**\n * Called when the selection becomes `count` shapes, more than one, and\n * with 0 when the board says the selection again while no shape is\n * selected, such as after an Enter that adds nothing.\n */\n shapes: (count: number) => string;\n /**\n * Called when Enter with the arrow tool and nothing selected, in a view\n * that can write, starts an arrow at `place`, the view's center in whole\n * units. The start binds to the shape under that point as an arrow key\n * move binds it, and sits free where that move would bind it to no shape.\n * `from` is the shape the start binds to, or `null` for a free start.\n * The arrow keys and the aim keys then move the start, as they move a\n * connect's end, and Enter keeps it and calls `connecting`.\n */\n starting: (place: BoardPlace, start: Readonly<{\n from: BoardShapeDescription | null;\n }>) => string;\n /** Called when a tool is picked, by its key or from the toolbar. */\n tool: (tool: BoardTool) => string;\n /**\n * Called when Q or `setToolLocked` turns the tool lock on or off, with\n * whether it is now on.\n */\n toolLock: (locked: boolean) => string;\n /**\n * Called when a zoom key, `zoomIn`, `zoomOut`, `resetZoom` or `fit` changes\n * the view's zoom, with the new zoom in whole percent. A zoom with the wheel\n * says nothing.\n */\n zoom: (percent: number) => string;\n /**\n * Called when a removal lands, with the number of shapes it took off the\n * board, a removed frame's members included. The selection it clears says\n * nothing.\n */\n removed: (count: number) => string;\n /**\n * Called at each key of a resize that S started: when Tab or Shift+Tab\n * moves it to another corner, and when an arrow key moves the corner. It\n * gets the corner the keys move and the size of the box it shows, in whole\n * units.\n */\n resize: (size: Readonly<{\n corner: BoardCorner;\n height: number;\n width: number;\n }>) => string;\n /**\n * Called when S, with one shape selected that is not an arrow, in a view\n * that can write, starts resizing `shape` from its bottom-right corner, with\n * its size in whole units. Tab then moves to the next corner clockwise and\n * Shift+Tab to the one before, an arrow key moves the corner by 1 unit, or\n * 10 with Shift, down to 8 units a side, and each calls `resize`. Enter\n * writes the box when it changed and Escape puts it back. Enter, Escape and\n * every other end of the resize but focus leaving and a pointer press call\n * `shape` again, unless the end says something of its own.\n */\n resizing: (shape: BoardShapeDescription, size: Readonly<{\n corner: BoardCorner;\n height: number;\n width: number;\n }>) => string;\n}>;", "source": null, "typeParameters": [] }, "platejs/board/react:BoardNotePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/board/react", "kind": "const", "name": "BoardNotePlugin", "runtime": true, "signature": "BoardNotePlugin: Plugin>;\n key: \"fill\";\n localId: \"fill\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: BoardStyleProperties<{\n readonly fill: 'yellow';\n readonly opacity: 1;\n readonly textSize: 'm';\n }>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardNote\";\n readonly formats: true;\n readonly update: {\n insert: TxDeclaredMethod<(props: BoardShapeInsertProps<{} & {\n fill: string;\n opacity: number;\n textSize: \"l\" | \"m\" | \"s\" | \"xl\";\n }>, options: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/board/react:BoardPickState": { "aliases": [], "documentation": "Where picking stands when the board says `pick` or `picking`: whether the\nshape under the cursor is `selected`, how many shapes are selected\n(`count`), and that shape's 1-based `position` in stored order among the\nboard's `total` shapes.", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardPickState", "runtime": false, "signature": "type BoardPickState = Readonly<{\n count: number;\n position: number;\n selected: boolean;\n total: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/board/react:BoardPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/board/react", "kind": "const", "name": "BoardPlugin", "runtime": true, "signature": "BoardPlugin: Plugin | undefined>;\n key: \"framePlace\" | \"place\";\n localId: \"framePlace\";\n ownerName: \"board\";\n placement: never;\n unaliased: boolean;\n value: unknown;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly default: 480;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"board\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardShapePlace) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardShapePlace;\n validationVersion: number;\n }>>;\n key: \"place\";\n localId: \"place\";\n ownerName: \"board\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n x: number;\n y: number;\n }> | Readonly<{\n frame: string;\n frameOrigin: BoardPlace;\n x: number;\n y: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly generate: typeof import(\"nanoid\").nanoid;\n }>;\n key: \"shapeId\";\n localId: \"shapeId\";\n ownerName: \"board\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly required: true;\n readonly validate: typeof isBoardSize;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n height: number;\n width: number;\n }> | undefined;\n generate?: (() => Readonly<{\n height: number;\n width: number;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n height: number;\n width: number;\n }>;\n validationVersion: number;\n }>>;\n key: \"size\";\n localId: \"size\";\n ownerName: \"board\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n height: number;\n width: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: typeof isStackingKey;\n readonly validationVersion: 1;\n }>;\n key: \"zIndex\";\n localId: \"zIndex\";\n ownerName: \"board\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: true;\n readonly contentRoots: {\n readonly shapes: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly ownership: \"exclusive\";\n readonly structure: {\n readonly kind: \"set\";\n };\n };\n };\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly default: 480;\n }>;\n };\n readonly void: \"block\";\n };\n readonly properties: {\n readonly place: SchemaElementPropertyDefinition BoardShapePlace) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardShapePlace;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: string[];\n }>>;\n readonly shapeId: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n readonly size: SchemaElementPropertyDefinition, {\n readonly required: true;\n readonly validate: typeof isBoardSize;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n height: number;\n width: number;\n }> | undefined;\n generate?: (() => Readonly<{\n height: number;\n width: number;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n height: number;\n width: number;\n }>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: string[];\n }>>;\n readonly zIndex: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n readonly framePlace?: Readonly<{\n copy: SchemaPropertyCopyPolicy;\n key: \"place\";\n landing: SchemaPropertyLandingPolicy;\n placement: 'element';\n references?: Readonly<{\n key: string;\n map: (value: Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n }>, renamed: (name: string) => string | undefined) => Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n }>;\n }> | undefined;\n role: SchemaPropertyRole;\n split: SchemaPropertySplitPolicy;\n target: Readonly<{\n kind: 'types';\n types: readonly [\"boardFrame\"];\n }>;\n typeChange: SchemaPropertyTypeChangePolicy;\n unique?: true;\n value: PropertyJsonDescriptor, {\n readonly required: true;\n readonly validate: typeof isBoardFramePlace;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n }> | undefined;\n generate?: (() => Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n origin: BoardPlace;\n x: number;\n y: number;\n }>;\n validationVersion: number;\n }>>;\n }> | undefined;\n };\n };\n readonly targetPlugins: readonly [BasePlugin>;\n key: \"fill\";\n localId: \"fill\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardNote\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: BoardStyleProperties<{\n readonly fill: 'yellow';\n readonly opacity: 1;\n readonly textSize: 'm';\n }>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardNote\";\n readonly formats: true;\n readonly update: {\n insert: TxDeclaredMethod<(props: BoardShapeInsertProps<{} & {\n fill: string;\n opacity: number;\n textSize: \"l\" | \"m\" | \"s\" | \"xl\";\n }>, options: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n }>> & Readonly>, BasePlugin>;\n key: \"dash\";\n localId: \"dash\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"dashed\" | \"dotted\" | \"solid\";\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"fill\";\n localId: \"fill\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor;\n key: \"geo\";\n localId: \"geo\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"diamond\" | \"ellipse\" | \"rectangle\" | \"triangle\";\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"strokeWidth\";\n localId: \"strokeWidth\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardGeo\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: {\n readonly geo: PropertyEnumDescriptor;\n } & BoardStyleProperties<{\n readonly dash: 'solid';\n readonly fill: 'none';\n readonly opacity: 1;\n readonly strokeColor: 'currentColor';\n readonly strokeWidth: 'm';\n readonly textSize: 'm';\n }>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardGeo\";\n readonly formats: true;\n readonly update: {\n insert: TxDeclaredMethod<(props: BoardShapeInsertProps<{\n readonly geo: \"diamond\" | \"ellipse\" | \"rectangle\" | \"triangle\";\n } & {\n dash: \"dashed\" | \"dotted\" | \"solid\";\n fill: string;\n opacity: number;\n strokeColor: string;\n strokeWidth: \"l\" | \"m\" | \"s\" | \"xl\";\n textSize: \"l\" | \"m\" | \"s\" | \"xl\";\n }>, options: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n }>> & Readonly>, BasePlugin;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly max: 1;\n readonly min: 0;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n };\n };\n readonly targetPlugins: readonly [\"image\", \"upload\"];\n readonly name: \"boardImage\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ children, frame, height, width, x, y }: Readonly<{\n children: readonly [Descendant];\n frame?: string;\n height?: number;\n width?: number;\n x: number;\n y: number;\n }>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n }>> & Readonly>, BasePlugin>;\n key: \"dash\";\n localId: \"dash\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"dashed\" | \"dotted\" | \"solid\";\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n key: \"end\";\n localId: \"end\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n x: number;\n y: number;\n }> | Readonly<{\n anchor: BoardArrowAnchor;\n shape: string;\n x: number;\n y: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n key: \"start\";\n localId: \"start\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n x: number;\n y: number;\n }> | Readonly<{\n anchor: BoardArrowAnchor;\n shape: string;\n x: number;\n y: number;\n }>;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"strokeWidth\";\n localId: \"strokeWidth\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textSize\";\n localId: \"textSize\";\n ownerName: \"boardArrow\";\n placement: \"element\";\n unaliased: true;\n value: \"l\" | \"m\" | \"s\" | \"xl\";\n }>;\n readonly schema: {\n readonly element: {\n readonly blockContent: false;\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'types';\n types: readonly string[];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: {\n type: string;\n };\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'types';\n types: readonly string[];\n }> | undefined;\n }>>;\n readonly object: true;\n readonly properties: {\n readonly dash: PropertyEnumDescriptor>;\n readonly opacity: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n readonly strokeColor: PropertyStringDescriptor>;\n readonly strokeWidth: PropertyEnumDescriptor>;\n readonly textSize: PropertyEnumDescriptor>;\n readonly end: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n readonly start: PropertyJsonDescriptor BoardArrowEnd) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardArrowEnd;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"heading\"];\n readonly name: \"boardArrow\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ children, end, start, ...styles }: Readonly<{\n children?: readonly Descendant[];\n end: BoardArrowEndInput;\n start: BoardArrowEndInput;\n }> & Partial>, { board }?: Readonly<{\n board?: NodeKey;\n }>) => string | undefined>;\n readonly setEnd: TxDeclaredMethod<(id: string, side: BoardArrowSide, input: BoardArrowEndInput) => boolean>;\n };\n }>> & Readonly>, BasePlugin & Readonly<{\n name: \"boardFrame\";\n }> & Readonly> & Readonly<{\n update: {\n readonly insert: TxDeclaredMethod<({ height, name, width, x, y }: Readonly<{\n height?: number;\n name?: string;\n width?: number;\n x: number;\n y: number;\n }>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n }> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"name\";\n localId: \"name\";\n ownerName: \"boardFrame\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly blockContent: false;\n readonly properties: {\n name: PropertyStringDescriptor>;\n };\n readonly void: \"block\";\n };\n };\n }>>, BasePlugin & Readonly<{\n name: \"boardStroke\";\n }> & Readonly> & Readonly<{\n update: {\n readonly insert: TxDeclaredMethod<({ points, ...styles }: Readonly<{\n points: readonly BoardInkPoint[];\n }> & Partial>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n }> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardStrokePoints) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardStrokePoints;\n validationVersion: number;\n }>>;\n key: \"points\";\n localId: \"points\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: BoardStrokePoints;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly blockContent: false;\n readonly properties: {\n readonly opacity: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n readonly strokeColor: PropertyStringDescriptor>;\n readonly points: PropertyJsonDescriptor BoardStrokePoints) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardStrokePoints;\n validationVersion: number;\n }>>;\n };\n readonly void: \"block\";\n };\n };\n }>>];\n readonly name: \"board\";\n readonly commands: true;\n readonly contributions: true;\n readonly formats: true;\n readonly read: {\n readonly arrowEnds: (id: string) => BoardArrowEnds | null;\n readonly shape: (id: string) => BoardMemberEntry | null;\n readonly slice: (ids: readonly string[]) => ContentSlice | null;\n readonly shapes: (board: NodeKey) => BoardMemberEntry[];\n };\n readonly readMiddleware: true;\n readonly update: {\n readonly insertCopy: TxDeclaredMethod<(slice: ContentSlice, { board, place }: Readonly<{\n board: NodeKey;\n place?: BoardPlace;\n }>) => string[] | undefined>;\n readonly insert: TxDeclaredMethod<({ height }?: Readonly<{\n height?: number;\n }>, options?: BlockInsertOptions) => NodeKey | undefined>;\n readonly move: TxDeclaredMethod<(ids: readonly string[], delta: BoardPlace) => void>;\n readonly remove: TxDeclaredMethod<(ids: readonly string[]) => void>;\n readonly removeFrame: TxDeclaredMethod<(id: string) => void>;\n readonly resize: TxDeclaredMethod<(id: string, rect: BoardPlace & BoardSize) => void>;\n readonly restack: TxDeclaredMethod<(ids: readonly string[], direction: BoardRestackDirection) => void>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/board/react:BoardShape": { "aliases": [], "documentation": "One member of a board, painted at its stacking rank while the DOM keeps the\nboard's stored order. A shape, frame or stroke sits at its box and,\nselected alone while the view's tool is `select`, shows four resize\nhandles, `[data-board-handle]`, each valued with its `BoardCorner`. An\narrow sits at the board's origin with no size, so its component draws in\nboard coordinates from `useArrowPath`, and it has no handles. A frame takes\na press only on its edge or on a child marked `[data-board-frame-name]`,\nsuch as its name, and a stroke only on its line, which its component draws\nfrom `useStrokePath`. A selected member shows `data-selected`, one the\neraser will remove on release shows `data-erasing`, and the one under the\npicking cursor that Space starts shows `data-board-cursor`.", "entrypoint": "platejs/board/react", "kind": "function", "name": "BoardShape", "runtime": true, "signature": "declare function BoardShape({ className, style, ...props }: EditorElementProps & {\n className?: string;\n style?: React$1.CSSProperties;\n}): React$1.JSX.Element;", "source": null, "typeParameters": [] }, "platejs/board/react:BoardShapeDescription": { "aliases": [], "documentation": "A board shape as the board's words describe it. `kind` comes from the\nshape's type, and any shape type the board does not ship reads `shape`.\n`text` is the shape's top-level blocks' text joined with a space, or a\nframe's name. An arrow's `ends` describe the shapes its two ends attach to,\nor `null` for a free end.", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardShapeDescription", "runtime": false, "signature": "type BoardShapeDescription = Readonly<{\n kind: 'arrow';\n text: string;\n ends: Readonly<{\n start: BoardShapeDescription | null;\n end: BoardShapeDescription | null;\n }>;\n}> | Readonly<{\n kind: 'frame' | 'geo' | 'note' | 'shape' | 'stroke';\n text: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/board/react:BoardStrokePath": { "aliases": [], "documentation": "Where a stroke draws: an SVG path over a box of `width` by `height`.", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardStrokePath", "runtime": false, "signature": "type BoardStrokePath = Readonly<{\n height: number;\n path: string;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/board/react:BoardStrokePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/board/react", "kind": "const", "name": "BoardStrokePlugin", "runtime": true, "signature": "BoardStrokePlugin: Plugin & Readonly<{\n name: \"boardStroke\";\n}> & Readonly> & Readonly<{\n update: {\n readonly insert: TxDeclaredMethod<({ points, ...styles }: Readonly<{\n points: readonly BoardInkPoint[];\n }> & Partial>, { board }: Readonly<{\n board: NodeKey;\n }>) => string | undefined>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n key: \"opacity\";\n localId: \"opacity\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor BoardStrokePoints) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardStrokePoints;\n validationVersion: number;\n }>>;\n key: \"points\";\n localId: \"points\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: BoardStrokePoints;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"strokeColor\";\n localId: \"strokeColor\";\n ownerName: \"boardStroke\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly blockContent: false;\n readonly properties: {\n readonly opacity: PropertyNumberDescriptor & Readonly<{\n validate: (value: unknown) => value is number;\n validationVersion: 1;\n }>>;\n readonly strokeColor: PropertyStringDescriptor>;\n readonly points: PropertyJsonDescriptor BoardStrokePoints) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is BoardStrokePoints;\n validationVersion: number;\n }>>;\n };\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/board/react:BoardStyle": { "aliases": [], "documentation": "Board styles by name, as a pick sets them or as the next shape a board view\nadds gets them. A shape takes the styles its kind stores, and `geo`, the\noutline kind, goes only to geo shapes.", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardStyle", "runtime": false, "signature": "type BoardStyle = Readonly & {\n geo?: BoardGeo;\n}>;", "source": null, "typeParameters": [] }, "platejs/board/react:BoardSurface": { "aliases": [], "documentation": "A board's mounted view: a clipped surface that draws the shapes near its\ncamera, at their place and stacking rank, through the board's content root.\nIt owns the view's camera, tool, next style and gestures, which never reach\nthe document; a gesture writes through the board's commands once, on\nrelease. Pan with the wheel, a middle-button drag, a drag with Space held or\na drag with the hand tool. A plain wheel over a toolbar element that can\nstill scroll in the wheel's main direction scrolls that element instead.\nSpace released with no pan while it was held starts picking\nshapes, as `BoardMessages`'s `picking` says. While the hand is picked, the\nboard shows a grab cursor, except over its toolbar and an element that sets\nits own cursor. Zoom with Mod and the wheel. With the select tool, a touch\ndrag on empty board pans, and a mouse or pen drag there selects the shapes\nits box holds.\n`toolbar` renders over the board, where `useBoardView` and\n`useBoardActions` reach this view. Mark an element at the top level of\n`toolbar` that the app docks at the board's side with\n`data-board-dock=\"left\"` or `\"right\"`. Every other top-level toolbar\nelement counts as a row at the board's top or bottom. `fit` and Shift+1 fit\nthe shapes into the room the toolbar leaves clear. Where that room's width\nor height cannot hold them at 10 percent, they use the board's whole width\nor height. Both zoom between 10 and 100 percent, so shapes the board cannot\nhold at 10 percent run past its edges. A read-only view or a\npreview pans and\nselects but never writes, and a gesture under way when the view turns so\nends with no write. The board shows `data-selected` while\na selection of its document covers it. Its focus target,\n`[data-board-focus]`, is its one Tab stop and holds focus while shapes are\nselected; undo and redo run there and focus follows what they restore.\nShift+Enter there or on selected shapes focuses the toolbar's first shown,\nenabled control and keeps the selection, and Escape on a toolbar control\noutside an open popup, or a Shift+Tab that leaves the toolbar, returns\nfocus to the focus target. The toolbar's\ncontrols keep every other key. On the focus target or selected shapes, `=`\nor `+` and `-` zoom to the next of 10, 25, 50, 100, 200, 400 and 800\npercent around the view's center, Shift+0 resets to full size, Shift+1\nfits every shape, and PageUp and PageDown pan by 80 percent of the view,\nsideways with Shift.\n`messages` holds every word the board says, and the view whose surface\nholds focus says one message per action into the editor's status region.\n`height` sets this view's height and defaults to the board's stored\n`height`; it never changes the document.", "entrypoint": "platejs/board/react", "kind": "function", "name": "BoardSurface", "runtime": true, "signature": "declare function BoardSurface({ height, messages, toolbar, ...props }: EditorElementProps & {\n height?: React$1.CSSProperties['height'];\n messages: BoardMessages;\n toolbar?: React$1.ReactNode;\n}): React$1.JSX.Element;", "source": null, "typeParameters": [] }, "platejs/board/react:BoardTool": { "aliases": [], "documentation": "What a press on the board does: `hand` pans the view on a drag that starts\nanywhere on the board, shapes included, and never selects, moves or edits.\nIts press moves focus to the board unless focus is in the text of a shape on\nthis board, so a note being edited keeps its edit. `arrow` draws an arrow\nfrom the press to the release, and `pen` draws a line along the drag, or a\ndot at a click, and stays the tool after it draws. `eraser` marks every note,\nshape, arrow and pen line a click or drag passes over, but never a frame, and\nremoves them as one undo step on release, and stays the tool. A marked shape\nshows `data-erasing`. `frame`, `geo` and `note` draw a frame, a shape of the\nnext style's geo kind or a note over a drag, or add one of the tool's\ndefault size centered at a click, over empty board or over other shapes.\nDuring the drag Shift keeps the sides equal and Alt centers the box on the\npress point. `select` acts on an empty part of the board, which includes the\ninside of a frame: it selects the shapes a mouse or pen drag's box holds\nwholly, adding them to the selection with Shift, and pans on a touch drag.", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardTool", "runtime": false, "signature": "type BoardTool = 'arrow' | 'eraser' | 'frame' | 'geo' | 'hand' | 'note' | 'pen' | 'select';", "source": null, "typeParameters": [] }, "platejs/board/react:BoardViewActions": { "aliases": [], "documentation": "", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardViewActions", "runtime": false, "signature": "type BoardViewActions = Readonly<{\n /** Move the camera so every shape is in view, at most at full size, and clear of the toolbar when the board has room. A focused board says the new zoom when it changes. */\n fit: () => void;\n /** Move focus to the board and keep its selection, such as after a toolbar menu closes. A shape whose text is being edited ends its edit and stays selected. */\n focus: () => void;\n /** Remove the frame `id` and keep its shapes where they are, as one undo step. */\n removeFrame: (id: string) => void;\n /** Zoom to 100 percent around the view's center, as Shift+0 does. A focused board says the new zoom when it changes. */\n resetZoom: () => void;\n /**\n * Merge `style` into the style the next added shape gets. With the select\n * tool, also write each of its styles to every selected shape that takes it\n * and to the shape whose text is being edited, as one undo step that keeps\n * the caret and the edit. A drawing tool's pick styles only the next shape.\n * It skips a value outside the board's values for a style, such as an\n * opacity outside 0.1 to 1. A read-only view or a preview changes nothing.\n */\n setStyle: (style: BoardStyle) => void;\n setTool: (tool: BoardTool) => void;\n /**\n * Turn the tool lock on or off, as Q does. It changes neither the tool nor\n * the selection, and the focused view says `toolLock` when it changes.\n */\n setToolLocked: (locked: boolean) => void;\n /** Zoom in to the next of 10, 25, 50, 100, 200, 400 and 800 percent around the view's center, as `+` does, and do nothing at 800. A focused board says the new zoom. */\n zoomIn: () => void;\n /** Zoom out to the next lower of 10, 25, 50, 100, 200, 400 and 800 percent around the view's center, as `-` does, and do nothing at 10. A focused board says the new zoom. */\n zoomOut: () => void;\n}>;", "source": null, "typeParameters": [] }, "platejs/board/react:BoardViewState": { "aliases": [], "documentation": "One mounted view's state. It lives in the view and never in the document, so\ntwo views of one board each keep their own camera, tool and next style.", "entrypoint": "platejs/board/react", "kind": "type", "name": "BoardViewState", "runtime": false, "signature": "type BoardViewState = Readonly<{\n camera: BoardCamera;\n /** The style the next shape this view adds gets, merged from every pick. */\n nextStyle: BoardStyle;\n /**\n * Each style a pick would set, with the value its targets share, or `mixed`\n * when they differ. With the select tool the targets are the selected shapes\n * and the shape whose text is being edited; with a drawing tool, the next\n * shape, which shows its next style or its kind's default. A style no\n * target takes is absent, so the select tool with nothing to style shows\n * none. The object stays the same until a target, the tool or the next\n * style changes.\n */\n styles: Readonly<{ [K in keyof BoardStyle]?: ShownStyle; }>;\n /**\n * The selected shapes of this view's board in stored order, each with its\n * node as this view shows it, or none when the selection holds no shape of\n * this board. The array stays the same until the selection or a listed shape\n * changes.\n */\n selectedShapes: readonly BoardMemberEntry[];\n tool: BoardTool;\n /**\n * Whether the note, shape, frame and arrow tools stay picked after they add\n * a shape. Off when the view mounts, kept per view and never stored. The\n * pen and eraser stay picked either way.\n */\n toolLocked: boolean;\n /** Whether the view can write: false when it is read-only or a preview. */\n writable: boolean;\n}>;", "source": null, "typeParameters": [] }, "platejs/board/react:useArrowPath": { "aliases": [], "documentation": "Where the board arrow `element` draws: its two ends in board coordinates,\neach bound end stopped at its shape's outline, and the path between them.\nIt follows a drag or resize of a bound shape, and a drag of the arrow\nitself, from the view's preview, with no write, and changes only when the\narrow's stored ends or a bound shape's box change.", "entrypoint": "platejs/board/react", "kind": "const", "name": "useArrowPath", "runtime": true, "signature": "useArrowPath: (element: Element) => BoardArrowPath | undefined", "source": null, "typeParameters": [] }, "platejs/board/react:useBoardActions": { "aliases": [], "documentation": "Change the surrounding board view's tool, next style and camera.", "entrypoint": "platejs/board/react", "kind": "const", "name": "useBoardActions", "runtime": true, "signature": "useBoardActions: () => BoardViewActions", "source": null, "typeParameters": [] }, "platejs/board/react:useBoardView": { "aliases": [], "documentation": "Read the surrounding board view's state, such as its tool.", "entrypoint": "platejs/board/react", "kind": "const", "name": "useBoardView", "runtime": true, "signature": "useBoardView: (selector: (view: BoardViewState) => T) => T", "source": null, "typeParameters": [] }, "platejs/board/react:useStrokePath": { "aliases": [], "documentation": "Where the board stroke `element` draws its line: an SVG path within a box\nof the stroke's stored size, which a component scales to the stroke's box,\nso a resize preview stretches it until the release redraws it. It stays the\nsame object while the stroke's points and size stay the same, so a move\ndoes not redraw it.", "entrypoint": "platejs/board/react", "kind": "const", "name": "useStrokePath", "runtime": true, "signature": "useStrokePath: (element: Element) => BoardStrokePath | undefined", "source": null, "typeParameters": [] }, "platejs/callout:BaseCalloutPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/callout", "kind": "const", "name": "BaseCalloutPlugin", "runtime": true, "signature": "BaseCalloutPlugin: BasePlugin & Readonly<{\n name: \"callout\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"callout\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"💡\";\n readonly omitDefault: false;\n }>;\n key: \"icon\";\n localId: \"icon\";\n ownerName: \"callout\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"variant\";\n localId: \"variant\";\n ownerName: \"callout\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: Readonly<{\n readonly ownsExit: true;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n icon: PropertyStringDescriptor<{\n readonly default: \"💡\";\n readonly omitDefault: false;\n }>;\n variant: PropertyStringDescriptor>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/callout:CalloutElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/callout", "kind": "type", "name": "CalloutElement", "runtime": false, "signature": "type CalloutElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/callout/react:CalloutPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/callout/react", "kind": "const", "name": "CalloutPlugin", "runtime": true, "signature": "CalloutPlugin: Plugin & Readonly<{\n name: \"callout\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"callout\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"💡\";\n readonly omitDefault: false;\n }>;\n key: \"icon\";\n localId: \"icon\";\n ownerName: \"callout\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"variant\";\n localId: \"variant\";\n ownerName: \"callout\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: Readonly<{\n readonly ownsExit: true;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n icon: PropertyStringDescriptor<{\n readonly default: \"💡\";\n readonly omitDefault: false;\n }>;\n variant: PropertyStringDescriptor>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/code-block/codemirror:createCodeMirrorAdapter": { "aliases": [], "documentation": "Project a code block through CodeMirror while the editor owns text and history.\nKeep this adapter stable across renders. Supply theme, search and editing\ncommands as extensions; do not install CodeMirror history. Update listeners\nobserve local transactions before synchronous canonical feedback and must not\nsynchronously dispatch CodeMirror or canonical editor edits.", "entrypoint": "platejs/code-block/codemirror", "kind": "function", "name": "createCodeMirrorAdapter", "runtime": true, "signature": "declare function createCodeMirrorAdapter({ extensions, loadLanguage: resolveLanguage }?: {\n /** Presentation, filters, observers and native commands. History stays with the editor. */\n extensions?: Extension;\n /** Resolve one language; stale loads and disposed views are ignored. */\n loadLanguage?: (language: string) => Extension | Promise;\n}): ExternalTextAdapter;", "source": null, "typeParameters": [] }, "platejs/combobox:ComboboxEditor": { "aliases": [], "documentation": "", "entrypoint": "platejs/combobox", "kind": "type", "name": "ComboboxEditor", "runtime": false, "signature": "type ComboboxEditor = Pick & {\n read: Pick;\n};", "source": null, "typeParameters": [] }, "platejs/combobox:ComboboxState": { "aliases": [], "documentation": "Autocomplete policy a feature keeps in its plugin state. Typing the trigger\nin an Editable opens that feature's popup over the text that follows it.", "entrypoint": "platejs/combobox", "kind": "type", "name": "ComboboxState", "runtime": false, "signature": "type ComboboxState = {\n /** Text that opens the popup, or a pattern tested against the typed character. */\n trigger: readonly string[] | RegExp | string;\n /** Tested against the character before the trigger, or `''` at a text start. */\n triggerPreviousCharPattern: RegExp | null;\n /** Return false to keep a typed trigger as plain text, such as inside code. */\n triggerQuery: ((editor: ComboboxEditor) => boolean) | null;\n /** The popup closes once the query grows longer. */\n maxQueryLength: number;\n /** Tested against each query character; the first failure closes the popup. */\n queryPattern: RegExp | null;\n};", "source": null, "typeParameters": [] }, "platejs/combobox:filterWords": { "aliases": [], "documentation": "", "entrypoint": "platejs/combobox", "kind": "const", "name": "filterWords", "runtime": true, "signature": "filterWords: (haystack: string, needle: string, { prefixMode, wordBoundary, wordQuantifier }?: FilterWordsOptions) => boolean", "source": null, "typeParameters": [] }, "platejs/combobox:FilterWordsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/combobox", "kind": "type", "name": "FilterWordsOptions", "runtime": false, "signature": "type FilterWordsOptions = {\n prefixMode?: 'all-words' | 'last-word' | 'none';\n wordBoundary?: RegExp;\n wordQuantifier?: 'match-all' | 'match-any';\n};", "source": null, "typeParameters": [] }, "platejs/combobox/react:ComboboxMatch": { "aliases": [], "documentation": "The open query an autocomplete popup offers options for.", "entrypoint": "platejs/combobox/react", "kind": "type", "name": "ComboboxMatch", "runtime": false, "signature": "type ComboboxMatch = Readonly<{\n /** True while an IME composes; `query` then previews the visible preedit. */\n composing: boolean;\n /** Text typed after the trigger. */\n query: string;\n /** Trigger and query; completion replaces this range. */\n range: Range;\n /** The trigger text that opened this popup. */\n trigger: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/combobox/react:useCombobox": { "aliases": [], "documentation": "Autocomplete over ordinary editor text. The popup opens when the user types\nthe plugin's trigger in this Editable and follows the text after it.", "entrypoint": "platejs/combobox/react", "kind": "function", "name": "useCombobox", "runtime": true, "signature": "declare function useCombobox

          ({ activeOptionId, editableRef, onKeyDown, open, plugin }: UseComboboxOptions

          ): UseComboboxReturn;", "source": null, "typeParameters": [ "P extends PluginReference" ] }, "platejs/combobox/react:UseComboboxOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/combobox/react", "kind": "type", "name": "UseComboboxOptions", "runtime": false, "signature": "type UseComboboxOptions

          = {\n /** The Editable this popup serves, as passed to an `afterEditable` slot. */\n editableRef: React.RefObject;\n /** The feature whose state holds a `ComboboxState` trigger policy. */\n plugin: P & RequireComboboxState

          ;\n /** The listbox's active option id, mirrored as `aria-activedescendant`. */\n activeOptionId?: string | null;\n /**\n * Whether the popup is showing. Keys, `aria-controls` and\n * `aria-activedescendant` attach only while it shows, and `aria-expanded`\n * follows it.\n * Defaults to true.\n */\n open?: boolean;\n /**\n * Handle Enter, Tab, ArrowUp, ArrowDown or Escape while this popup shows.\n * Return true when handled; unhandled Escape dismisses the popup.\n */\n onKeyDown?: (event: React.KeyboardEvent) => boolean;\n};", "source": null, "typeParameters": [ "P extends PluginReference = PluginReference" ] }, "platejs/combobox/react:UseComboboxReturn": { "aliases": [], "documentation": "", "entrypoint": "platejs/combobox/react", "kind": "type", "name": "UseComboboxReturn", "runtime": false, "signature": "type UseComboboxReturn = {\n /**\n * The text after a typed trigger, or null when none is active. It does not\n * depend on `open`.\n */\n match: ComboboxMatch | null;\n /** Id for the popup's listbox, mirrored as the Editable's `aria-controls`. */\n listboxId: string;\n /**\n * Replace the offered match's trigger and query through one synchronous\n * transaction, as one undo step. Return false from the callback to refuse;\n * refusal, a stale match or an active composition changes nothing and\n * returns false. A thrown callback rolls back everything.\n */\n complete: (match: ComboboxMatch, callback: ComboboxCompletion) => boolean;\n /** Close the popup and keep the typed text. */\n dismiss: () => void;\n};", "source": null, "typeParameters": [] }, "platejs/comments:BaseCommentsPlugin": { "aliases": [], "documentation": "Owns comment records and their native range lifetime for one editor.\nLoad initialComments from the app's thread rows and the ranges saved with\nthe exact document revision, and save api.ranges() with each revision.\nSuccessful local thread creation joins session undo after durable commit,\nexcept through a read-only view.\nOther conversation actions stay independent; native anchors own mapping.", "entrypoint": "platejs/comments", "kind": "const", "name": "BaseCommentsPlugin", "runtime": true, "signature": "BaseCommentsPlugin: BasePlugin boolean;\n /**\n * Dismiss the pending composer. A create already saving keeps its\n * range until it settles.\n */\n readonly cancel: () => void;\n /** Publish from the pending selection; failure preserves the composer. */\n readonly create: (body: Value) => Promise>;\n /**\n * Persist and publish at an explicit range or authored change ID. A\n * range without a root is in this view's root.\n */\n readonly createThread: (input: CreateCommentThreadInput) => Promise>;\n /**\n * Allocate a local draft; only publishDraft invokes durable storage.\n * Returns null for an ID that holds an orphan or has an action in\n * flight.\n */\n readonly createDraft: (input: CreateCommentThreadInput) => string | null;\n /**\n * Retire an unpublished draft and its private range. A draft whose\n * publish is waiting on `mutate` or threw keeps its range as an orphan;\n * a publish that then makes no write drops it again, unless an earlier\n * publish of the draft threw.\n */\n readonly discardDraft: (id: string) => boolean;\n /** Edit a message after application authorization and persistence. */\n readonly edit: (id: string, messageId: string, body: Value) => Promise;\n /** Stable membership and pending-composer state for targeted UI reads. */\n readonly getSnapshot: () => Readonly<{\n draftThreadIds: readonly string[];\n /** Rows the last load dropped, and one `orphan-range` per current orphan. */\n issues: readonly CommentsLoadIssue[];\n pending: PendingComment | null;\n threadIds: readonly string[];\n visibleThreadIds: readonly string[];\n }>;\n /** Read immutable conversation data; document mapping preserves identity. */\n readonly getThread: (id: string) => Readonly<{\n createdAt: string;\n excerpt: string;\n id: string;\n messages: readonly CommentMessage[];\n resolution: CommentResolution;\n status: 'draft' | 'published';\n target: CommentTarget;\n userId: string;\n /** App data of the thread. Replies, edits and resolution keep it. */\n data?: CommentData;\n }> | undefined;\n /** Read live semantic records. Save ranges() with the document. */\n readonly getThreads: () => readonly CommentThread[];\n /**\n * Replace every thread and range for the exact current document. Bad\n * rows drop alone and appear in the snapshot's issues.\n */\n readonly replace: (value: SavedComments) => boolean;\n /**\n * Ranges to save with this exact document revision, keyed by thread ID:\n * published threads, creates and draft publishes waiting on `mutate`,\n * drafts whose publish threw, and orphans. Throws once the editor is\n * destroyed.\n */\n readonly ranges: () => CommentRanges;\n /**\n * Remove a range whose thread never loaded, such as a create the\n * server rejected after the range was saved.\n */\n readonly discardOrphan: (id: string) => 'discarded' | 'not-orphan';\n /**\n * Observe a thread gaining, losing or replacing its saved range, such as\n * a create that changes no document value. Document mapping never\n * wakes it.\n */\n readonly subscribeRanges: (listener: () => void) => () => void;\n /** Resolve the pending selection without exposing its native handle. */\n readonly pendingRange: () => BaseRange | null;\n /** Persist a local draft; discard during the request fences late completion. */\n readonly publishDraft: (id: string) => Promise>;\n /** Remove a message; the final message removes the thread. */\n readonly removeMessage: (id: string, messageId: string) => Promise>;\n /** Remove after authorization; document undo never recreates conversations. */\n readonly removeThread: (id: string) => Promise>;\n /**\n * Add the current user's reply to an unresolved thread, with optional\n * app data for the new message.\n */\n readonly reply: (id: string, body: Value, options?: Readonly<{\n data?: CommentData;\n }>) => Promise;\n /**\n * Replace the app data of a published thread, or of one of its messages\n * when `messageId` is given, after `mutate` commits it. `null` removes\n * it.\n */\n readonly setData: (id: string, data: CommentData | null, options?: Readonly<{\n messageId?: string;\n }>) => Promise;\n /** Close a discussion outside document history. Reopen is its inverse. */\n readonly resolve: (id: string) => Promise>;\n /** Reopen a resolved discussion without touching document history. */\n readonly reopen: (id: string) => Promise>;\n /** Observe one record; unrelated metadata writes do not wake it. */\n readonly subscribeThread: (id: string, listener: () => void) => () => void;\n /** Observe semantic writes only; document mapping never wakes this channel. */\n readonly subscribeThreads: (listener: (change: CommentsChange) => void) => () => void;\n readonly subscribeVisibleThreadIds: (listener: () => void) => () => void;\n readonly subscribeDraftThreadIds: (listener: () => void) => () => void;\n readonly subscribePending: (listener: () => void) => () => void;\n readonly idsAt: (location: Location) => readonly string[];\n /** Resolve a live attachment without copying it into the conversation. */\n readonly attachment: (id: string) => CommentAttachment | null;\n readonly setActive: (ids: readonly string[]) => void;\n /** Observe mapped attachments without rewriting semantic thread records. */\n readonly subscribeAttachments: (listener: (change: AnnotationChange) => void) => () => void;\n };\n readonly effectTypes: true;\n readonly initialState: {\n readonly activeIds: readonly string[];\n readonly initialComments: {\n readonly ranges: {\n readonly [x: string]: BaseRange;\n };\n readonly threads: readonly {\n readonly createdAt: string;\n readonly excerpt: string;\n readonly id: string;\n readonly messages: readonly {\n readonly body: readonly {\n readonly [x: string]: unknown;\n readonly children: readonly ( /*elided*/ any | {\n readonly [x: string]: unknown;\n readonly text: string;\n })[];\n readonly type: string;\n }[];\n readonly createdAt: string;\n readonly id: string;\n readonly userId: string;\n readonly data?: {\n readonly [x: string]: string | number | boolean | {\n readonly [x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;\n readonly length: number;\n readonly toString: () => string;\n readonly toLocaleString: {\n (): string;\n (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;\n };\n readonly concat: {\n (...items: ConcatArray[]): CommentDataValue[];\n (...items: (ConcatArray | CommentDataValue)[]): CommentDataValue[];\n };\n readonly join: (separator?: string) => string;\n readonly slice: (start?: number, end?: number) => CommentDataValue[];\n readonly indexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly lastIndexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly every: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): this is readonly S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): boolean;\n };\n readonly some: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => boolean;\n readonly forEach: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => void, thisArg?: any) => void;\n readonly map: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => U, thisArg?: any) => U[];\n readonly filter: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue[];\n };\n readonly reduce: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly reduceRight: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly find: {\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findIndex: (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly [Symbol.iterator]: () => ArrayIterator;\n readonly entries: () => ArrayIterator<[number, CommentDataValue]>;\n readonly keys: () => ArrayIterator;\n readonly values: () => ArrayIterator;\n readonly [Symbol.unscopables]: {\n readonly [x: number]: boolean | undefined;\n readonly length?: boolean | undefined;\n readonly toString?: boolean | undefined;\n readonly toLocaleString?: boolean | undefined;\n readonly concat?: boolean | undefined;\n readonly join?: boolean | undefined;\n readonly slice?: boolean | undefined;\n readonly indexOf?: boolean | undefined;\n readonly lastIndexOf?: boolean | undefined;\n readonly every?: boolean | undefined;\n readonly some?: boolean | undefined;\n readonly forEach?: boolean | undefined;\n readonly map?: boolean | undefined;\n readonly filter?: boolean | undefined;\n readonly reduce?: boolean | undefined;\n readonly reduceRight?: boolean | undefined;\n readonly find?: boolean | undefined;\n readonly findIndex?: boolean | undefined;\n readonly [Symbol.iterator]?: boolean | undefined;\n readonly entries?: boolean | undefined;\n readonly keys?: boolean | undefined;\n readonly values?: boolean | undefined;\n readonly [Symbol.unscopables]?: boolean | undefined;\n readonly includes?: boolean | undefined;\n readonly flatMap?: boolean | undefined;\n readonly flat?: boolean | undefined;\n readonly at?: boolean | undefined;\n readonly findLast?: boolean | undefined;\n readonly findLastIndex?: boolean | undefined;\n readonly toReversed?: boolean | undefined;\n readonly toSorted?: boolean | undefined;\n readonly toSpliced?: boolean | undefined;\n readonly with?: boolean | undefined;\n };\n readonly includes: (searchElement: CommentDataValue, fromIndex?: number) => boolean;\n readonly flatMap: (callback: (this: This, value: CommentDataValue, index: number, array: CommentDataValue[]) => U | readonly U[], thisArg?: This | undefined) => U[];\n readonly flat: (this: A, depth?: D | undefined) => FlatArray[];\n readonly at: (index: number) => CommentDataValue | undefined;\n readonly findLast: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findLastIndex: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly toReversed: () => CommentDataValue[];\n readonly toSorted: (compareFn?: ((a: CommentDataValue, b: CommentDataValue) => number) | undefined) => CommentDataValue[];\n readonly toSpliced: {\n (start: number, deleteCount: number, ...items: CommentDataValue[]): CommentDataValue[];\n (start: number, deleteCount?: number): CommentDataValue[];\n };\n readonly with: (index: number, value: CommentDataValue) => CommentDataValue[];\n } | /*elided*/ any | null;\n } | undefined;\n readonly editedAt?: string;\n }[];\n readonly resolution: CommentResolution;\n readonly status: 'draft' | 'published';\n readonly target: CommentTarget;\n readonly userId: string;\n readonly data?: {\n readonly [x: string]: string | number | boolean | {\n readonly [x: number]: string | number | boolean | any | any | null;\n readonly length: number;\n readonly toString: () => string;\n readonly toLocaleString: {\n (): string;\n (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;\n };\n readonly concat: {\n (...items: ConcatArray[]): CommentDataValue[];\n (...items: (ConcatArray | CommentDataValue)[]): CommentDataValue[];\n };\n readonly join: (separator?: string) => string;\n readonly slice: (start?: number, end?: number) => CommentDataValue[];\n readonly indexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly lastIndexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly every: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): this is readonly S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): boolean;\n };\n readonly some: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => boolean;\n readonly forEach: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => void, thisArg?: any) => void;\n readonly map: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => U, thisArg?: any) => U[];\n readonly filter: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue[];\n };\n readonly reduce: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly reduceRight: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly find: {\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findIndex: (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly [Symbol.iterator]: () => ArrayIterator;\n readonly entries: () => ArrayIterator<[number, CommentDataValue]>;\n readonly keys: () => ArrayIterator;\n readonly values: () => ArrayIterator;\n readonly [Symbol.unscopables]: {\n readonly [x: number]: boolean | undefined;\n readonly length?: boolean | undefined;\n readonly toString?: boolean | undefined;\n readonly toLocaleString?: boolean | undefined;\n readonly concat?: boolean | undefined;\n readonly join?: boolean | undefined;\n readonly slice?: boolean | undefined;\n readonly indexOf?: boolean | undefined;\n readonly lastIndexOf?: boolean | undefined;\n readonly every?: boolean | undefined;\n readonly some?: boolean | undefined;\n readonly forEach?: boolean | undefined;\n readonly map?: boolean | undefined;\n readonly filter?: boolean | undefined;\n readonly reduce?: boolean | undefined;\n readonly reduceRight?: boolean | undefined;\n readonly find?: boolean | undefined;\n readonly findIndex?: boolean | undefined;\n readonly [Symbol.iterator]?: boolean | undefined;\n readonly entries?: boolean | undefined;\n readonly keys?: boolean | undefined;\n readonly values?: boolean | undefined;\n readonly [Symbol.unscopables]?: boolean | undefined;\n readonly includes?: boolean | undefined;\n readonly flatMap?: boolean | undefined;\n readonly flat?: boolean | undefined;\n readonly at?: boolean | undefined;\n readonly findLast?: boolean | undefined;\n readonly findLastIndex?: boolean | undefined;\n readonly toReversed?: boolean | undefined;\n readonly toSorted?: boolean | undefined;\n readonly toSpliced?: boolean | undefined;\n readonly with?: boolean | undefined;\n };\n readonly includes: (searchElement: CommentDataValue, fromIndex?: number) => boolean;\n readonly flatMap: (callback: (this: This, value: CommentDataValue, index: number, array: CommentDataValue[]) => U | readonly U[], thisArg?: This | undefined) => U[];\n readonly flat: (this: A, depth?: D | undefined) => FlatArray[];\n readonly at: (index: number) => CommentDataValue | undefined;\n readonly findLast: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findLastIndex: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly toReversed: () => CommentDataValue[];\n readonly toSorted: (compareFn?: ((a: CommentDataValue, b: CommentDataValue) => number) | undefined) => CommentDataValue[];\n readonly toSpliced: {\n (start: number, deleteCount: number, ...items: CommentDataValue[]): CommentDataValue[];\n (start: number, deleteCount?: number): CommentDataValue[];\n };\n readonly with: (index: number, value: CommentDataValue) => CommentDataValue[];\n } | any | null;\n } | undefined;\n }[];\n } | null;\n readonly mutate: (request: CommentMutationRequest) => CommentMutationDecision | Promise;\n readonly users: {\n readonly [x: string]: {\n readonly id: string;\n readonly name: string;\n readonly avatarUrl?: string;\n };\n };\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/comments:CommentAttachment": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentAttachment", "runtime": false, "signature": "type CommentAttachment = Readonly<{\n range: Range;\n status: 'attached';\n type: 'range';\n}> | Readonly<{\n status: 'unavailable';\n type: 'range';\n}> | Readonly<{\n id: string;\n type: 'change';\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:CommentData": { "aliases": [], "documentation": "App-owned JSON object on a thread or message, such as reactions or the model\nthat wrote it. Plate validates it as JSON, stores it with the record and\nreturns it unchanged; it never reads its keys.", "entrypoint": "platejs/comments", "kind": "interface", "name": "CommentData", "runtime": false, "signature": "interface CommentData {\n readonly [key: string]: CommentDataValue;\n}", "source": null, "typeParameters": [] }, "platejs/comments:CommentDataList": { "aliases": [], "documentation": "A JSON array inside comment app data.", "entrypoint": "platejs/comments", "kind": "interface", "name": "CommentDataList", "runtime": false, "signature": "interface CommentDataList extends ReadonlyArray {}", "source": null, "typeParameters": [] }, "platejs/comments:CommentDataValue": { "aliases": [], "documentation": "A JSON value inside comment app data.", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentDataValue", "runtime": false, "signature": "type CommentDataValue = boolean | null | number | string | CommentDataList | CommentData;", "source": null, "typeParameters": [] }, "platejs/comments:CommentMessage": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentMessage", "runtime": false, "signature": "type CommentMessage = Readonly<{\n body: Value;\n createdAt: string;\n id: string;\n userId: string;\n /** App data of this message. Edits keep it; `setData` changes it. */\n data?: CommentData;\n editedAt?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:CommentMutationDecision": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentMutationDecision", "runtime": false, "signature": "type CommentMutationDecision = Readonly<{\n status: 'commit';\n thread: CommentThread | null;\n}> | Readonly<{\n code?: string;\n status: 'reject';\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:CommentMutationRequest": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentMutationRequest", "runtime": false, "signature": "type CommentMutationRequest = Readonly<{\n mutationId: string;\n operation: CommentOperation;\n previous: CommentThread | null;\n proposed: CommentThread | null;\n /** The range a create or draft publish saves, in the primary document. */\n range?: Range;\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:CommentMutationResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentMutationResult", "runtime": false, "signature": "type CommentMutationResult = Readonly<{\n status: 'applied';\n value: T;\n}> | Readonly<{\n status: 'invalid';\n}> | Readonly<{\n code?: string;\n status: 'rejected';\n}> | Readonly<{\n status: 'stale';\n}>;", "source": null, "typeParameters": [ "T = undefined" ] }, "platejs/comments:CommentOperation": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentOperation", "runtime": false, "signature": "type CommentOperation = 'create' | 'createThread' | 'reply' | 'edit' | 'resolve' | 'reopen' | 'removeMessage' | 'removeThread' | 'publishDraft' | 'setData';", "source": null, "typeParameters": [] }, "platejs/comments:CommentRanges": { "aliases": [], "documentation": "Ranges keyed by thread ID. A range in a named root carries that root on both\npoints. Save them with the exact document revision they address.", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentRanges", "runtime": false, "signature": "type CommentRanges = Readonly>;", "source": null, "typeParameters": [] }, "platejs/comments:CommentResolution": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentResolution", "runtime": false, "signature": "type CommentResolution = Readonly<{\n resolvedAt: string | null;\n userId: string | null;\n}> | null;", "source": null, "typeParameters": [] }, "platejs/comments:CommentsChange": { "aliases": [], "documentation": "Semantic record changes. Document mapping uses subscribeAttachments instead.", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentsChange", "runtime": false, "signature": "type CommentsChange = Readonly<{\n ids: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:CommentsLoadIssue": { "aliases": [], "documentation": "A saved row the last load dropped, or a saved range with no loaded thread. An\n`orphan-range` keeps mapping and saving until its thread loads or the app\ncalls `discardOrphan`.", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentsLoadIssue", "runtime": false, "signature": "type CommentsLoadIssue = Readonly<{\n code: 'duplicate-thread' | 'invalid-range' | 'invalid-thread' | 'orphan-range';\n id: string | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:CommentsPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentsPluginState", "runtime": false, "signature": "type CommentsPluginState = {\n activeIds: readonly string[];\n /** Loaded once, before mount, against the matching initial document. */\n initialComments: SavedComments | null;\n /** Authorize and persist before publication. Throws preserve the previous state. */\n mutate: (request: CommentMutationRequest) => CommentMutationDecision | Promise;\n users: Readonly>;\n};", "source": null, "typeParameters": [] }, "platejs/comments:CommentsSnapshot": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentsSnapshot", "runtime": false, "signature": "type CommentsSnapshot = Readonly<{\n draftThreadIds: readonly string[];\n /** Rows the last load dropped, and one `orphan-range` per current orphan. */\n issues: readonly CommentsLoadIssue[];\n pending: PendingComment | null;\n threadIds: readonly string[];\n visibleThreadIds: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:CommentTarget": { "aliases": [], "documentation": "Semantic target identity; mapped locations are read through attachment().", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentTarget", "runtime": false, "signature": "type CommentTarget = Readonly<{\n type: 'range';\n}> | Readonly<{\n id: string;\n type: 'change';\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:CommentThread": { "aliases": [], "documentation": "JSON-compatible thread data. Timestamps use ISO 8601 strings.", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentThread", "runtime": false, "signature": "type CommentThread = Readonly<{\n createdAt: string;\n excerpt: string;\n id: string;\n messages: readonly CommentMessage[];\n resolution: CommentResolution;\n status: 'draft' | 'published';\n target: CommentTarget;\n userId: string;\n /** App data of the thread. Replies, edits and resolution keep it. */\n data?: CommentData;\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:CommentUser": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CommentUser", "runtime": false, "signature": "type CommentUser = Readonly<{\n id: string;\n name: string;\n avatarUrl?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:CreateCommentThreadInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "CreateCommentThreadInput", "runtime": false, "signature": "type CreateCommentThreadInput = Readonly<{\n body: Value;\n /** App data for the new thread; its first message gets none. */\n data?: CommentData;\n excerpt?: string;\n id?: string;\n target: Readonly<{\n range: Range;\n type: 'range';\n }> | Readonly<{\n id: string;\n type: 'change';\n }>;\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:PendingComment": { "aliases": [], "documentation": "", "entrypoint": "platejs/comments", "kind": "type", "name": "PendingComment", "runtime": false, "signature": "type PendingComment = Readonly<{\n excerpt: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/comments:SavedComments": { "aliases": [], "documentation": "Thread rows from the app's own tables and the ranges saved with the matching\ndocument revision. Ordinary reload starts fresh undo.", "entrypoint": "platejs/comments", "kind": "type", "name": "SavedComments", "runtime": false, "signature": "type SavedComments = Readonly<{\n ranges: CommentRanges;\n threads: readonly CommentThread[];\n}>;", "source": null, "typeParameters": [] }, "platejs/comments/react:CommentsPlugin": { "aliases": [], "documentation": "Comment data and mapped ranges with interaction for the exact mounted view.", "entrypoint": "platejs/comments/react", "kind": "const", "name": "CommentsPlugin", "runtime": true, "signature": "CommentsPlugin: InternalPluginAuthorExtension boolean;\n readonly cancel: () => void;\n readonly create: (body: Value) => Promise>;\n readonly createThread: (input: CreateCommentThreadInput) => Promise>;\n readonly createDraft: (input: CreateCommentThreadInput) => string | null;\n readonly discardDraft: (id: string) => boolean;\n readonly edit: (id: string, messageId: string, body: Value) => Promise;\n readonly getSnapshot: () => Readonly<{\n draftThreadIds: readonly string[];\n issues: readonly CommentsLoadIssue[];\n pending: PendingComment | null;\n threadIds: readonly string[];\n visibleThreadIds: readonly string[];\n }>;\n readonly getThread: (id: string) => Readonly<{\n createdAt: string;\n excerpt: string;\n id: string;\n messages: readonly CommentMessage[];\n resolution: CommentResolution;\n status: 'draft' | 'published';\n target: CommentTarget;\n userId: string;\n data?: CommentData;\n }> | undefined;\n readonly getThreads: () => readonly CommentThread[];\n readonly replace: (value: SavedComments) => boolean;\n readonly ranges: () => CommentRanges;\n readonly discardOrphan: (id: string) => 'discarded' | 'not-orphan';\n readonly subscribeRanges: (listener: () => void) => () => void;\n readonly pendingRange: () => BaseRange | null;\n readonly publishDraft: (id: string) => Promise>;\n readonly removeMessage: (id: string, messageId: string) => Promise>;\n readonly removeThread: (id: string) => Promise>;\n readonly reply: (id: string, body: Value, options?: Readonly<{\n data?: CommentData;\n }>) => Promise;\n readonly setData: (id: string, data: CommentData | null, options?: Readonly<{\n messageId?: string;\n }>) => Promise;\n readonly resolve: (id: string) => Promise>;\n readonly reopen: (id: string) => Promise>;\n readonly subscribeThread: (id: string, listener: () => void) => () => void;\n readonly subscribeThreads: (listener: (change: CommentsChange) => void) => () => void;\n readonly subscribeVisibleThreadIds: (listener: () => void) => () => void;\n readonly subscribeDraftThreadIds: (listener: () => void) => () => void;\n readonly subscribePending: (listener: () => void) => () => void;\n readonly idsAt: (location: Location) => readonly string[];\n readonly attachment: (id: string) => CommentAttachment | null;\n readonly setActive: (ids: readonly string[]) => void;\n readonly subscribeAttachments: (listener: (change: AnnotationChange) => void) => () => void;\n };\n readonly effectTypes: true;\n readonly initialState: {\n readonly activeIds: readonly string[];\n readonly initialComments: {\n readonly ranges: {\n readonly [x: string]: BaseRange;\n };\n readonly threads: readonly {\n readonly createdAt: string;\n readonly excerpt: string;\n readonly id: string;\n readonly messages: readonly {\n readonly body: readonly {\n readonly [x: string]: unknown;\n readonly children: readonly ( /*elided*/ any | {\n readonly [x: string]: unknown;\n readonly text: string;\n })[];\n readonly type: string;\n }[];\n readonly createdAt: string;\n readonly id: string;\n readonly userId: string;\n readonly data?: {\n readonly [x: string]: string | number | boolean | {\n readonly [x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;\n readonly length: number;\n readonly toString: () => string;\n readonly toLocaleString: {\n (): string;\n (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;\n };\n readonly concat: {\n (...items: ConcatArray[]): CommentDataValue[];\n (...items: (ConcatArray | CommentDataValue)[]): CommentDataValue[];\n };\n readonly join: (separator?: string) => string;\n readonly slice: (start?: number, end?: number) => CommentDataValue[];\n readonly indexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly lastIndexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly every: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): this is readonly S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): boolean;\n };\n readonly some: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => boolean;\n readonly forEach: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => void, thisArg?: any) => void;\n readonly map: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => U, thisArg?: any) => U[];\n readonly filter: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue[];\n };\n readonly reduce: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly reduceRight: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly find: {\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findIndex: (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly [Symbol.iterator]: () => ArrayIterator;\n readonly entries: () => ArrayIterator<[number, CommentDataValue]>;\n readonly keys: () => ArrayIterator;\n readonly values: () => ArrayIterator;\n readonly [Symbol.unscopables]: {\n readonly [x: number]: boolean | undefined;\n readonly length?: boolean | undefined;\n readonly toString?: boolean | undefined;\n readonly toLocaleString?: boolean | undefined;\n readonly concat?: boolean | undefined;\n readonly join?: boolean | undefined;\n readonly slice?: boolean | undefined;\n readonly indexOf?: boolean | undefined;\n readonly lastIndexOf?: boolean | undefined;\n readonly every?: boolean | undefined;\n readonly some?: boolean | undefined;\n readonly forEach?: boolean | undefined;\n readonly map?: boolean | undefined;\n readonly filter?: boolean | undefined;\n readonly reduce?: boolean | undefined;\n readonly reduceRight?: boolean | undefined;\n readonly find?: boolean | undefined;\n readonly findIndex?: boolean | undefined;\n readonly [Symbol.iterator]?: boolean | undefined;\n readonly entries?: boolean | undefined;\n readonly keys?: boolean | undefined;\n readonly values?: boolean | undefined;\n readonly [Symbol.unscopables]?: boolean | undefined;\n readonly includes?: boolean | undefined;\n readonly flatMap?: boolean | undefined;\n readonly flat?: boolean | undefined;\n readonly at?: boolean | undefined;\n readonly findLast?: boolean | undefined;\n readonly findLastIndex?: boolean | undefined;\n readonly toReversed?: boolean | undefined;\n readonly toSorted?: boolean | undefined;\n readonly toSpliced?: boolean | undefined;\n readonly with?: boolean | undefined;\n };\n readonly includes: (searchElement: CommentDataValue, fromIndex?: number) => boolean;\n readonly flatMap: (callback: (this: This, value: CommentDataValue, index: number, array: CommentDataValue[]) => U | readonly U[], thisArg?: This | undefined) => U[];\n readonly flat: (this: A, depth?: D | undefined) => FlatArray[];\n readonly at: (index: number) => CommentDataValue | undefined;\n readonly findLast: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findLastIndex: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly toReversed: () => CommentDataValue[];\n readonly toSorted: (compareFn?: ((a: CommentDataValue, b: CommentDataValue) => number) | undefined) => CommentDataValue[];\n readonly toSpliced: {\n (start: number, deleteCount: number, ...items: CommentDataValue[]): CommentDataValue[];\n (start: number, deleteCount?: number): CommentDataValue[];\n };\n readonly with: (index: number, value: CommentDataValue) => CommentDataValue[];\n } | /*elided*/ any | null;\n } | undefined;\n readonly editedAt?: string;\n }[];\n readonly resolution: CommentResolution;\n readonly status: 'draft' | 'published';\n readonly target: CommentTarget;\n readonly userId: string;\n readonly data?: {\n readonly [x: string]: string | number | boolean | {\n readonly [x: number]: string | number | boolean | any | any | null;\n readonly length: number;\n readonly toString: () => string;\n readonly toLocaleString: {\n (): string;\n (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;\n };\n readonly concat: {\n (...items: ConcatArray[]): CommentDataValue[];\n (...items: (ConcatArray | CommentDataValue)[]): CommentDataValue[];\n };\n readonly join: (separator?: string) => string;\n readonly slice: (start?: number, end?: number) => CommentDataValue[];\n readonly indexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly lastIndexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly every: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): this is readonly S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): boolean;\n };\n readonly some: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => boolean;\n readonly forEach: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => void, thisArg?: any) => void;\n readonly map: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => U, thisArg?: any) => U[];\n readonly filter: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue[];\n };\n readonly reduce: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly reduceRight: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly find: {\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findIndex: (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly [Symbol.iterator]: () => ArrayIterator;\n readonly entries: () => ArrayIterator<[number, CommentDataValue]>;\n readonly keys: () => ArrayIterator;\n readonly values: () => ArrayIterator;\n readonly [Symbol.unscopables]: {\n readonly [x: number]: boolean | undefined;\n readonly length?: boolean | undefined;\n readonly toString?: boolean | undefined;\n readonly toLocaleString?: boolean | undefined;\n readonly concat?: boolean | undefined;\n readonly join?: boolean | undefined;\n readonly slice?: boolean | undefined;\n readonly indexOf?: boolean | undefined;\n readonly lastIndexOf?: boolean | undefined;\n readonly every?: boolean | undefined;\n readonly some?: boolean | undefined;\n readonly forEach?: boolean | undefined;\n readonly map?: boolean | undefined;\n readonly filter?: boolean | undefined;\n readonly reduce?: boolean | undefined;\n readonly reduceRight?: boolean | undefined;\n readonly find?: boolean | undefined;\n readonly findIndex?: boolean | undefined;\n readonly [Symbol.iterator]?: boolean | undefined;\n readonly entries?: boolean | undefined;\n readonly keys?: boolean | undefined;\n readonly values?: boolean | undefined;\n readonly [Symbol.unscopables]?: boolean | undefined;\n readonly includes?: boolean | undefined;\n readonly flatMap?: boolean | undefined;\n readonly flat?: boolean | undefined;\n readonly at?: boolean | undefined;\n readonly findLast?: boolean | undefined;\n readonly findLastIndex?: boolean | undefined;\n readonly toReversed?: boolean | undefined;\n readonly toSorted?: boolean | undefined;\n readonly toSpliced?: boolean | undefined;\n readonly with?: boolean | undefined;\n };\n readonly includes: (searchElement: CommentDataValue, fromIndex?: number) => boolean;\n readonly flatMap: (callback: (this: This, value: CommentDataValue, index: number, array: CommentDataValue[]) => U | readonly U[], thisArg?: This | undefined) => U[];\n readonly flat: (this: A, depth?: D | undefined) => FlatArray[];\n readonly at: (index: number) => CommentDataValue | undefined;\n readonly findLast: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findLastIndex: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly toReversed: () => CommentDataValue[];\n readonly toSorted: (compareFn?: ((a: CommentDataValue, b: CommentDataValue) => number) | undefined) => CommentDataValue[];\n readonly toSpliced: {\n (start: number, deleteCount: number, ...items: CommentDataValue[]): CommentDataValue[];\n (start: number, deleteCount?: number): CommentDataValue[];\n };\n readonly with: (index: number, value: CommentDataValue) => CommentDataValue[];\n } | any | null;\n } | undefined;\n }[];\n } | null;\n readonly mutate: (request: CommentMutationRequest) => CommentMutationDecision | Promise;\n readonly users: {\n readonly [x: string]: {\n readonly id: string;\n readonly name: string;\n readonly avatarUrl?: string;\n };\n };\n };\n}>>, Readonly<{\n readonly name: \"comments\";\n readonly decorate: true;\n readonly activate: true;\n readonly api: {\n readonly begin: (at?: Range | null) => boolean;\n readonly cancel: () => void;\n readonly create: (body: Value) => Promise>;\n readonly createThread: (input: CreateCommentThreadInput) => Promise>;\n readonly createDraft: (input: CreateCommentThreadInput) => string | null;\n readonly discardDraft: (id: string) => boolean;\n readonly edit: (id: string, messageId: string, body: Value) => Promise;\n readonly getSnapshot: () => Readonly<{\n draftThreadIds: readonly string[];\n issues: readonly CommentsLoadIssue[];\n pending: PendingComment | null;\n threadIds: readonly string[];\n visibleThreadIds: readonly string[];\n }>;\n readonly getThread: (id: string) => Readonly<{\n createdAt: string;\n excerpt: string;\n id: string;\n messages: readonly CommentMessage[];\n resolution: CommentResolution;\n status: 'draft' | 'published';\n target: CommentTarget;\n userId: string;\n data?: CommentData;\n }> | undefined;\n readonly getThreads: () => readonly CommentThread[];\n readonly replace: (value: SavedComments) => boolean;\n readonly ranges: () => CommentRanges;\n readonly discardOrphan: (id: string) => 'discarded' | 'not-orphan';\n readonly subscribeRanges: (listener: () => void) => () => void;\n readonly pendingRange: () => BaseRange | null;\n readonly publishDraft: (id: string) => Promise>;\n readonly removeMessage: (id: string, messageId: string) => Promise>;\n readonly removeThread: (id: string) => Promise>;\n readonly reply: (id: string, body: Value, options?: Readonly<{\n data?: CommentData;\n }>) => Promise;\n readonly setData: (id: string, data: CommentData | null, options?: Readonly<{\n messageId?: string;\n }>) => Promise;\n readonly resolve: (id: string) => Promise>;\n readonly reopen: (id: string) => Promise>;\n readonly subscribeThread: (id: string, listener: () => void) => () => void;\n readonly subscribeThreads: (listener: (change: CommentsChange) => void) => () => void;\n readonly subscribeVisibleThreadIds: (listener: () => void) => () => void;\n readonly subscribeDraftThreadIds: (listener: () => void) => () => void;\n readonly subscribePending: (listener: () => void) => () => void;\n readonly idsAt: (location: Location) => readonly string[];\n readonly attachment: (id: string) => CommentAttachment | null;\n readonly setActive: (ids: readonly string[]) => void;\n readonly subscribeAttachments: (listener: (change: AnnotationChange) => void) => () => void;\n };\n readonly effectTypes: true;\n readonly initialState: {\n readonly activeIds: readonly string[];\n readonly initialComments: {\n readonly ranges: {\n readonly [x: string]: BaseRange;\n };\n readonly threads: readonly {\n readonly createdAt: string;\n readonly excerpt: string;\n readonly id: string;\n readonly messages: readonly {\n readonly body: readonly {\n readonly [x: string]: unknown;\n readonly children: readonly (any | {\n readonly [x: string]: unknown;\n readonly text: string;\n })[];\n readonly type: string;\n }[];\n readonly createdAt: string;\n readonly id: string;\n readonly userId: string;\n readonly data?: {\n readonly [x: string]: string | number | boolean | {\n readonly [x: number]: string | number | boolean | any | any | null;\n readonly length: number;\n readonly toString: () => string;\n readonly toLocaleString: {\n (): string;\n (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;\n };\n readonly concat: {\n (...items: ConcatArray[]): CommentDataValue[];\n (...items: (ConcatArray | CommentDataValue)[]): CommentDataValue[];\n };\n readonly join: (separator?: string) => string;\n readonly slice: (start?: number, end?: number) => CommentDataValue[];\n readonly indexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly lastIndexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly every: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): this is readonly S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): boolean;\n };\n readonly some: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => boolean;\n readonly forEach: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => void, thisArg?: any) => void;\n readonly map: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => U, thisArg?: any) => U[];\n readonly filter: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue[];\n };\n readonly reduce: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly reduceRight: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly find: {\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findIndex: (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly [Symbol.iterator]: () => ArrayIterator;\n readonly entries: () => ArrayIterator<[number, CommentDataValue]>;\n readonly keys: () => ArrayIterator;\n readonly values: () => ArrayIterator;\n readonly [Symbol.unscopables]: {\n readonly [x: number]: boolean | undefined;\n readonly length?: boolean | undefined;\n readonly toString?: boolean | undefined;\n readonly toLocaleString?: boolean | undefined;\n readonly concat?: boolean | undefined;\n readonly join?: boolean | undefined;\n readonly slice?: boolean | undefined;\n readonly indexOf?: boolean | undefined;\n readonly lastIndexOf?: boolean | undefined;\n readonly every?: boolean | undefined;\n readonly some?: boolean | undefined;\n readonly forEach?: boolean | undefined;\n readonly map?: boolean | undefined;\n readonly filter?: boolean | undefined;\n readonly reduce?: boolean | undefined;\n readonly reduceRight?: boolean | undefined;\n readonly find?: boolean | undefined;\n readonly findIndex?: boolean | undefined;\n readonly [Symbol.iterator]?: boolean | undefined;\n readonly entries?: boolean | undefined;\n readonly keys?: boolean | undefined;\n readonly values?: boolean | undefined;\n readonly [Symbol.unscopables]?: boolean | undefined;\n readonly includes?: boolean | undefined;\n readonly flatMap?: boolean | undefined;\n readonly flat?: boolean | undefined;\n readonly at?: boolean | undefined;\n readonly findLast?: boolean | undefined;\n readonly findLastIndex?: boolean | undefined;\n readonly toReversed?: boolean | undefined;\n readonly toSorted?: boolean | undefined;\n readonly toSpliced?: boolean | undefined;\n readonly with?: boolean | undefined;\n };\n readonly includes: (searchElement: CommentDataValue, fromIndex?: number) => boolean;\n readonly flatMap: (callback: (this: This, value: CommentDataValue, index: number, array: CommentDataValue[]) => U | readonly U[], thisArg?: This | undefined) => U[];\n readonly flat: (this: A, depth?: D | undefined) => FlatArray[];\n readonly at: (index: number) => CommentDataValue | undefined;\n readonly findLast: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findLastIndex: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly toReversed: () => CommentDataValue[];\n readonly toSorted: (compareFn?: ((a: CommentDataValue, b: CommentDataValue) => number) | undefined) => CommentDataValue[];\n readonly toSpliced: {\n (start: number, deleteCount: number, ...items: CommentDataValue[]): CommentDataValue[];\n (start: number, deleteCount?: number): CommentDataValue[];\n };\n readonly with: (index: number, value: CommentDataValue) => CommentDataValue[];\n } | any | null;\n } | undefined;\n readonly editedAt?: string;\n }[];\n readonly resolution: CommentResolution;\n readonly status: 'draft' | 'published';\n readonly target: CommentTarget;\n readonly userId: string;\n readonly data?: {\n readonly [x: string]: string | number | boolean | {\n readonly [x: number]: string | number | boolean | any | any | null;\n readonly length: number;\n readonly toString: () => string;\n readonly toLocaleString: {\n (): string;\n (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;\n };\n readonly concat: {\n (...items: ConcatArray[]): CommentDataValue[];\n (...items: (ConcatArray | CommentDataValue)[]): CommentDataValue[];\n };\n readonly join: (separator?: string) => string;\n readonly slice: (start?: number, end?: number) => CommentDataValue[];\n readonly indexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly lastIndexOf: (searchElement: CommentDataValue, fromIndex?: number) => number;\n readonly every: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): this is readonly S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): boolean;\n };\n readonly some: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => boolean;\n readonly forEach: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => void, thisArg?: any) => void;\n readonly map: (callbackfn: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => U, thisArg?: any) => U[];\n readonly filter: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S[];\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue[];\n };\n readonly reduce: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly reduceRight: {\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: CommentDataValue, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => CommentDataValue, initialValue: CommentDataValue): CommentDataValue;\n (callbackfn: (previousValue: U, currentValue: CommentDataValue, currentIndex: number, array: readonly CommentDataValue[]) => U, initialValue: U): U;\n };\n readonly find: {\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findIndex: (predicate: (value: CommentDataValue, index: number, obj: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly [Symbol.iterator]: () => ArrayIterator;\n readonly entries: () => ArrayIterator<[number, CommentDataValue]>;\n readonly keys: () => ArrayIterator;\n readonly values: () => ArrayIterator;\n readonly [Symbol.unscopables]: {\n readonly [x: number]: boolean | undefined;\n readonly length?: boolean | undefined;\n readonly toString?: boolean | undefined;\n readonly toLocaleString?: boolean | undefined;\n readonly concat?: boolean | undefined;\n readonly join?: boolean | undefined;\n readonly slice?: boolean | undefined;\n readonly indexOf?: boolean | undefined;\n readonly lastIndexOf?: boolean | undefined;\n readonly every?: boolean | undefined;\n readonly some?: boolean | undefined;\n readonly forEach?: boolean | undefined;\n readonly map?: boolean | undefined;\n readonly filter?: boolean | undefined;\n readonly reduce?: boolean | undefined;\n readonly reduceRight?: boolean | undefined;\n readonly find?: boolean | undefined;\n readonly findIndex?: boolean | undefined;\n readonly [Symbol.iterator]?: boolean | undefined;\n readonly entries?: boolean | undefined;\n readonly keys?: boolean | undefined;\n readonly values?: boolean | undefined;\n readonly [Symbol.unscopables]?: boolean | undefined;\n readonly includes?: boolean | undefined;\n readonly flatMap?: boolean | undefined;\n readonly flat?: boolean | undefined;\n readonly at?: boolean | undefined;\n readonly findLast?: boolean | undefined;\n readonly findLastIndex?: boolean | undefined;\n readonly toReversed?: boolean | undefined;\n readonly toSorted?: boolean | undefined;\n readonly toSpliced?: boolean | undefined;\n readonly with?: boolean | undefined;\n };\n readonly includes: (searchElement: CommentDataValue, fromIndex?: number) => boolean;\n readonly flatMap: (callback: (this: This, value: CommentDataValue, index: number, array: CommentDataValue[]) => U | readonly U[], thisArg?: This | undefined) => U[];\n readonly flat: (this: A, depth?: D | undefined) => FlatArray[];\n readonly at: (index: number) => CommentDataValue | undefined;\n readonly findLast: {\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => value is S, thisArg?: any): S | undefined;\n (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any): CommentDataValue | undefined;\n };\n readonly findLastIndex: (predicate: (value: CommentDataValue, index: number, array: readonly CommentDataValue[]) => unknown, thisArg?: any) => number;\n readonly toReversed: () => CommentDataValue[];\n readonly toSorted: (compareFn?: ((a: CommentDataValue, b: CommentDataValue) => number) | undefined) => CommentDataValue[];\n readonly toSpliced: {\n (start: number, deleteCount: number, ...items: CommentDataValue[]): CommentDataValue[];\n (start: number, deleteCount?: number): CommentDataValue[];\n };\n readonly with: (index: number, value: CommentDataValue) => CommentDataValue[];\n } | any | null;\n } | undefined;\n }[];\n } | null;\n readonly mutate: (request: CommentMutationRequest) => CommentMutationDecision | Promise;\n readonly users: {\n readonly [x: string]: {\n readonly id: string;\n readonly name: string;\n readonly avatarUrl?: string;\n };\n };\n };\n}>, \"api\" | \"on\" | \"shortcuts\", {}, {\n readonly begin: (at?: Range | null) => boolean;\n}, {}, {}, {}, readonly [], boolean, readonly []>", "source": null, "typeParameters": [] }, "platejs/compiler:compileEditor": { "aliases": [], "documentation": "Compile nominal plugins and optional application schema into immutable JSON data.\nEvaluates configuration, API factories and validators without activating plugins\nor constructing an initial document.", "entrypoint": "platejs/compiler", "kind": "const", "name": "compileEditor", "runtime": true, "signature": "compileEditor: (options: Readonly<{\n plugins: readonly BasePluginInput[];\n schema?: EditorApplicationSchema;\n}>) => EditorCompilation", "source": null, "typeParameters": [] }, "platejs/compiler:EditorCompilation": { "aliases": [], "documentation": "Detached schema and plugin facts emitted by `compileEditor`.", "entrypoint": "platejs/compiler", "kind": "type", "name": "EditorCompilation", "runtime": false, "signature": "type EditorCompilation = Readonly<{\n bindings: ReadonlyArray>;\n schema: EditorSchemaContract;\n}>;", "source": null, "typeParameters": [] }, "platejs/compiler:EditorPropertyTypes": { "aliases": [], "documentation": "Exact property projections for offline declaration emission.", "entrypoint": "platejs/compiler", "kind": "type", "name": "EditorPropertyTypes", "runtime": false, "signature": "type EditorPropertyTypes = Readonly<{\n elements: { readonly [TName in EditorPropertyOwner]: InternalEditorDefinitionElementProperties; };\n owners: { readonly [TName in EditorPropertyOwner]: InternalEditorDefinitionOwnedElementProperties; };\n text: InternalEditorDefinitionTextProperties;\n}>;", "source": null, "typeParameters": [ "TPlugins extends readonly unknown[]" ] }, "platejs/compiler:GeneratedEditorTypeProvider": { "aliases": [], "documentation": "Type-only exact contract emitted by `plate generate`.", "entrypoint": "platejs/compiler", "kind": "type", "name": "GeneratedEditorTypeProvider", "runtime": false, "signature": "type GeneratedEditorTypeProvider = EditorNodeTypeProvider<() => TTypes['element'], () => TTypes['text']> & EditorValueTypeProvider<() => TTypes['value']> & Readonly<{\n [generatedEditorTypes]: () => TTypes;\n}>;", "source": null, "typeParameters": [ "TTypes extends AnyGeneratedEditorTypes" ] }, "platejs/date:BaseDatePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/date", "kind": "const", "name": "BaseDatePlugin", "runtime": true, "signature": "BaseDatePlugin: BasePlugin value is string;\n readonly validationVersion: 1;\n }>;\n key: \"value\";\n localId: \"value\";\n ownerName: \"date\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly selectable: false;\n readonly properties: {\n value: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n readonly void: \"inline\";\n };\n };\n readonly name: \"date\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ value }?: {\n value?: Date | string;\n }, options?: NodeInsertOptions) => void>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/date:DateElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/date", "kind": "type", "name": "DateElement", "runtime": false, "signature": "type DateElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/date:formatDateValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/date", "kind": "const", "name": "formatDateValue", "runtime": true, "signature": "formatDateValue: (date: Date) => string", "source": null, "typeParameters": [] }, "platejs/date:parseCanonicalDateValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/date", "kind": "const", "name": "parseCanonicalDateValue", "runtime": true, "signature": "parseCanonicalDateValue: (value: string) => Date | undefined", "source": null, "typeParameters": [] }, "platejs/date/react:DatePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/date/react", "kind": "const", "name": "DatePlugin", "runtime": true, "signature": "DatePlugin: Plugin value is string;\n readonly validationVersion: 1;\n }>;\n key: \"value\";\n localId: \"value\";\n ownerName: \"date\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly selectable: false;\n readonly properties: {\n value: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n readonly void: \"inline\";\n };\n };\n readonly name: \"date\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ value }?: {\n value?: Date | string;\n }, options?: NodeInsertOptions) => void>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/details:BaseDetailsPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/details", "kind": "const", "name": "BaseDetailsPlugin", "runtime": true, "signature": "BaseDetailsPlugin: BasePlugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"detailsSummary\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly blockContent: false;\n readonly type: \"summary\";\n readonly properties: {\n level: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n }>> & Readonly>> & Pick & Readonly<{\n name: \"detailsSummary\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"detailsSummary\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly blockContent: false;\n readonly type: \"summary\";\n readonly properties: {\n level: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n }>>, \"~schema.plugins\">, PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n readonly initialViewState: {\n readonly openKeys: Set;\n };\n readonly __pluginWritableProperties: never;\n readonly schema: {\n readonly element: {\n content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>> & Readonly<{\n prefix: readonly SchemaContentPrefixSlot[];\n }>;\n };\n };\n readonly name: \"details\";\n readonly api: {\n readonly isOpen: (key: NodeKey) => boolean;\n readonly setOpen: (key: NodeKey, open: boolean) => void;\n };\n readonly commands: true;\n readonly contributions: true;\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<(data?: Record, options?: BlockInsertOptions) => boolean>;\n readonly unwrap: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly wrap: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly upsert: TxDeclaredMethod<(data?: Record, options?: BlockUpsertOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/details:BaseDetailsSummaryPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/details", "kind": "const", "name": "BaseDetailsSummaryPlugin", "runtime": true, "signature": "BaseDetailsSummaryPlugin: BasePlugin & Readonly<{\n name: \"detailsSummary\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"detailsSummary\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly blockContent: false;\n readonly type: \"summary\";\n readonly properties: {\n level: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/details:BaseDetailsViewState": { "aliases": [], "documentation": "", "entrypoint": "platejs/details", "kind": "type", "name": "BaseDetailsViewState", "runtime": false, "signature": "type BaseDetailsViewState = {\n openKeys: Set;\n};", "source": null, "typeParameters": [] }, "platejs/details:DetailsElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/details", "kind": "type", "name": "DetailsElement", "runtime": false, "signature": "type DetailsElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/details:DetailsSummaryElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/details", "kind": "type", "name": "DetailsSummaryElement", "runtime": false, "signature": "type DetailsSummaryElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/details/react:DetailsPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/details/react", "kind": "const", "name": "DetailsPlugin", "runtime": true, "signature": "DetailsPlugin: Plugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor value is HeadingLevel;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: HeadingLevel | undefined;\n generate?: (() => HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"detailsSummary\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly blockContent: false;\n readonly type: \"summary\";\n readonly properties: {\n level: PropertyJsonDescriptor value is HeadingLevel;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: HeadingLevel | undefined;\n generate?: (() => HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n }>> & Readonly>> & Pick & Readonly<{\n name: \"detailsSummary\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor value is HeadingLevel;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: HeadingLevel | undefined;\n generate?: (() => HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"detailsSummary\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly blockContent: false;\n readonly type: \"summary\";\n readonly properties: {\n level: PropertyJsonDescriptor value is HeadingLevel;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: HeadingLevel | undefined;\n generate?: (() => HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n }>>, \"~schema.plugins\">, PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n readonly initialViewState: {\n readonly openKeys: Set;\n };\n readonly __pluginWritableProperties: never;\n readonly schema: {\n readonly element: {\n content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>> & Readonly<{\n prefix: readonly SchemaContentPrefixSlot[];\n }>;\n };\n };\n readonly name: \"details\";\n readonly conflicts: readonly [];\n readonly enabled: boolean;\n readonly targetPlugins: readonly [];\n readonly corrections?: true | undefined;\n readonly inputRules?: true | undefined;\n readonly dataTransferFormats?: true | undefined;\n readonly formats: true;\n readonly inject?: true | undefined;\n readonly on?: true | undefined;\n readonly render: true;\n readonly shortcuts?: true | undefined;\n readonly decorate?: true | undefined;\n readonly api: {\n readonly isOpen: (key: NodeKey) => boolean;\n readonly setOpen: (key: NodeKey, open: boolean) => void;\n };\n readonly initialState: {};\n readonly read: {};\n readonly selectors: {};\n readonly update: {\n readonly insert: TxDeclaredMethod<(data?: Record, options?: BlockInsertOptions) => boolean>;\n readonly unwrap: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly wrap: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly upsert: TxDeclaredMethod<(data?: Record, options?: BlockUpsertOptions) => boolean>;\n };\n}>, \"dependencies\" | \"name\"> & Readonly<{\n name: \"details\";\n}> & Readonly<{\n dependencies: readonly [Plugin & Readonly<{\n name: \"detailsSummary\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor value is HeadingLevel;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: HeadingLevel | undefined;\n generate?: (() => HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"detailsSummary\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly blockContent: false;\n readonly type: \"summary\";\n readonly properties: {\n level: PropertyJsonDescriptor value is HeadingLevel;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: HeadingLevel | undefined;\n generate?: (() => HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n }>>, BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs/details/react:DetailsSummaryPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/details/react", "kind": "const", "name": "DetailsSummaryPlugin", "runtime": true, "signature": "DetailsSummaryPlugin: Plugin & Readonly<{\n name: \"detailsSummary\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor value is HeadingLevel;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: HeadingLevel | undefined;\n generate?: (() => HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"detailsSummary\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly blockContent: false;\n readonly type: \"summary\";\n readonly properties: {\n level: PropertyJsonDescriptor value is HeadingLevel;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: HeadingLevel | undefined;\n generate?: (() => HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/diff:compare": { "aliases": [], "documentation": "Compare immutable schema-valid documents without installing editor state.", "entrypoint": "platejs/diff", "kind": "function", "name": "compare", "runtime": true, "signature": "declare function compare(input: ThreeWayInput): Promise>;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs/diff:ComparedChange": { "aliases": [], "documentation": "One edit. A run is the changed content between two blocks that both\ndocuments keep in place. Importing a set of groups writes each run whose\ngroups are all selected, between the same two blocks as in the document the\nrun comes from. Groups with edits in one run require each other, and groups\nthat move a word found once in each document from one run to another are\none group.", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparedChange", "runtime": false, "signature": "type ComparedChange = Readonly<{\n after: readonly ComparisonSpan[];\n before: readonly ComparisonSpan[];\n /** Three-way branch contribution. Omitted for ordinary two-way results. */\n branches?: readonly ComparisonBranch[];\n correspondence: readonly ComparisonCorrespondence[];\n effects: readonly ComparisonEffect[];\n evidence: ComparisonEvidence;\n id: string;\n /**\n * Groups that must be selected with this one. The list is not closed: select\n * what each listed group requires too, transitively. Groups with edits in\n * one run require each other this way, and a container's group requires the\n * edits inside it that it repeats, such as bold applied across a quote, each\n * of which still selects alone.\n */\n requiredChangeIds: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/diff:Comparison": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "Comparison", "runtime": false, "signature": "type Comparison = ThreeWayComparison | TwoWayComparison;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/diff:ComparisonBranch": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonBranch", "runtime": false, "signature": "type ComparisonBranch = 'local' | 'remote';", "source": null, "typeParameters": [] }, "platejs/diff:ComparisonConflict": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonConflict", "runtime": false, "signature": "type ComparisonConflict = Readonly<{\n base: readonly ComparisonSpan[];\n changeIds: readonly string[];\n id: string;\n kind: 'delete-edit' | 'grid' | 'order' | 'placement' | 'root' | 'structure';\n local: ComparisonConflictAlternative;\n remote: ComparisonConflictAlternative;\n requiredChangeIds: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/diff:ComparisonConflictAlternative": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonConflictAlternative", "runtime": false, "signature": "type ComparisonConflictAlternative = Readonly<{\n branch: ComparisonBranch;\n /**\n * This branch's groups in the conflict, with every group of the branch that\n * one of them requires or that requires one of them, transitively.\n */\n changeIds: readonly string[];\n spans: readonly ComparisonSpan[];\n}>;", "source": null, "typeParameters": [] }, "platejs/diff:ComparisonCorrespondence": { "aliases": [], "documentation": "One primary or explanatory relationship between endpoint content spans.", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonCorrespondence", "runtime": false, "signature": "type ComparisonCorrespondence = Readonly<{\n after: readonly ComparisonSpan[];\n before: readonly ComparisonSpan[];\n evidence: ComparisonEvidence;\n id: string;\n /** Copies explain origin without inheriting source identity or provenance. */\n kind: 'copy' | 'primary';\n}>;", "source": null, "typeParameters": [] }, "platejs/diff:ComparisonDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonDiagnostic", "runtime": false, "signature": "type ComparisonDiagnostic = Readonly<{\n code: 'ambiguous' | 'coarse-replacement' | 'expired-lineage' | 'identity-hint-rejected' | 'incompatible-schema' | 'invalid-resolution' | 'unsupported-structure' | 'work-limit';\n message: string;\n severity: 'info' | 'warning';\n spans?: readonly ComparisonSpan[];\n}>;", "source": null, "typeParameters": [] }, "platejs/diff:ComparisonEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonEffect", "runtime": false, "signature": "type ComparisonEffect = ComparisonEffectBase & (Readonly<{\n kind: 'delete' | 'insert' | 'structure';\n}> | Readonly<{\n afterText: string;\n beforeText: string;\n kind: 'text';\n}> | Readonly<{\n afterProperties: ReadonlyArray>>;\n beforeProperties: ReadonlyArray>>;\n kind: 'property';\n}> | Readonly<{\n kind: 'placement';\n sourcePath: readonly number[];\n sourceRoot: string | null;\n targetPath: readonly number[];\n targetRoot: string | null;\n}> | Readonly<{\n kind: 'split';\n parts: number;\n}> | Readonly<{\n kind: 'join';\n parts: number;\n}> | Readonly<{\n afterType: string | null;\n beforeType: string | null;\n kind: 'node-type';\n}> | Readonly<{\n action: 'add' | 'remove';\n kind: 'wrapper';\n type: string | null;\n}> | Readonly<{\n kind: 'root-create' | 'root-delete';\n root: string;\n}>);", "source": null, "typeParameters": [] }, "platejs/diff:ComparisonEvidence": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonEvidence", "runtime": false, "signature": "type ComparisonEvidence = Readonly<{\n kind: 'inferred';\n basis: 'exact' | 'replacement' | 'structure' | 'unique-content';\n}> | Readonly<{\n kind: 'recorded';\n operationIds: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/diff:ComparisonResolution": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonResolution", "runtime": false, "signature": "type ComparisonResolution = Readonly<{\n comparisonId: string;\n conflictId: string;\n choice: ComparisonBranch | Readonly<{\n document: unknown;\n kind: 'custom';\n }>;\n}>;", "source": null, "typeParameters": [] }, "platejs/diff:ComparisonResolutionResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonResolutionResult", "runtime": false, "signature": "type ComparisonResolutionResult = Readonly<{\n comparison: TwoWayComparison;\n status: 'resolved';\n}> | Readonly<{\n conflicts: readonly ComparisonConflict[];\n status: 'unresolved';\n}> | Readonly<{\n diagnostics: readonly ComparisonDiagnostic[];\n status: 'invalid';\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/diff:ComparisonSnapshot": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonSnapshot", "runtime": false, "signature": "type ComparisonSnapshot = Readonly<{\n document: Pick, 'children' | 'roots'>;\n /** Exact non-content input envelope used only for stale-import detection. */\n envelopeFingerprint: string | null;\n fingerprint: string;\n projection: 'accepted' | 'proposed';\n schema: EditorSchemaIdentity;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/diff:ComparisonSpan": { "aliases": [], "documentation": "A comparison-local interval in the canonical document token coordinate.", "entrypoint": "platejs/diff", "kind": "type", "name": "ComparisonSpan", "runtime": false, "signature": "type ComparisonSpan = Readonly<{\n from: number;\n /** `null` addresses the primary document. */\n root: string | null;\n to: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/diff:resolveComparison": { "aliases": [], "documentation": "Resolve one published three-way comparison without rematching its inputs.", "entrypoint": "platejs/diff", "kind": "function", "name": "resolveComparison", "runtime": true, "signature": "declare function resolveComparison(input: Readonly<{\n baseline: 'base' | ComparisonBranch;\n comparison: ThreeWayComparison;\n resolutions?: readonly ComparisonResolution[];\n signal?: AbortSignal;\n}>): Promise>;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs/diff:ThreeWayComparison": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "ThreeWayComparison", "runtime": false, "signature": "type ThreeWayComparison = Readonly<{\n base: ComparisonSnapshot;\n changes: readonly ComparedChange[];\n conflicts: readonly ComparisonConflict[];\n diagnostics: readonly ComparisonDiagnostic[];\n id: string;\n kind: 'three-way';\n local: ComparisonSnapshot;\n policy: Readonly<{\n id: 'structural-diff';\n version: 1;\n }>;\n remote: ComparisonSnapshot;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/diff:TwoWayComparison": { "aliases": [], "documentation": "", "entrypoint": "platejs/diff", "kind": "type", "name": "TwoWayComparison", "runtime": false, "signature": "type TwoWayComparison = Readonly<{\n after: ComparisonSnapshot;\n before: ComparisonSnapshot;\n change: DocumentChange;\n changes: readonly ComparedChange[];\n diagnostics: readonly ComparisonDiagnostic[];\n id: string;\n kind: 'two-way';\n policy: Readonly<{\n id: 'structural-diff';\n version: 1;\n }>;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/docx/export:DocxComment": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/export", "kind": "type", "name": "DocxComment", "runtime": false, "signature": "type DocxComment = Readonly<{\n author: Readonly<{\n initials?: string;\n name: string;\n }> | null;\n body: Value;\n createdAt: string | null;\n durableId: string | null;\n id: string;\n parentId: string | null;\n resolved: boolean | null;\n target: Readonly<{\n range: Range;\n }> | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/docx/export:DocxDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/export", "kind": "type", "name": "DocxDiagnostic", "runtime": false, "signature": "type DocxDiagnostic = AuthoredProjectionDiagnostic | Readonly<{\n actual: number;\n code: 'limit-exceeded';\n limit: keyof DocxImportLimits;\n maximum: number;\n message: string;\n severity: 'error';\n}> | Readonly<{\n code: 'decode-failed' | 'invalid-package';\n message: string;\n part?: string;\n severity: 'error';\n}> | Readonly<{\n code: 'source-unavailable';\n message: string;\n reason: 'disposed' | 'invalid' | 'schema-mismatch';\n severity: 'warning';\n}> | Readonly<{\n code: 'source-unavailable';\n message: string;\n /** Package part outside the passive vocabulary exact reuse admits. */\n part: string;\n reason: 'ineligible';\n severity: 'warning';\n}> | Readonly<{\n code: 'source-rewritten';\n message: string;\n reason: 'comments-changed' | 'document-changed' | 'output-options-changed' | 'projection-changed';\n severity: 'warning';\n}> | Readonly<{\n code: 'source-part-omitted';\n message: string;\n part: string;\n reason: 'active-content' | 'conflict' | 'external-relationship' | 'invalidated' | 'multiple-sections' | 'unreachable';\n severity: 'warning';\n}> | Readonly<{\n code: 'converter-message';\n message: string;\n severity: 'warning';\n}> | Readonly<{\n code: 'property-dropped';\n /** How many runs, paragraphs or cells lost the property. */\n count: number;\n feature: string;\n impact: 'lossy';\n message: string;\n part?: string;\n severity: 'warning';\n}> | DocxPolicyDiagnostic<{\n code: 'missing-static-presentation';\n message: string;\n /**\n * Name of the plugin whose element, mark or slot drawing the\n * presentation lacked.\n */\n plugin: string;\n}> | DocxPolicyDiagnostic<{\n code: 'lossy-content' | 'resource-omitted';\n feature?: string;\n message: string;\n part?: string;\n path?: Path;\n root?: string;\n sourceId?: string;\n}> | DocxPolicyDiagnostic<{\n code: 'schema-repair';\n impact: 'lossless' | 'lossy';\n inputs: readonly DocxModelLocation[];\n message: string;\n outputs: readonly DocxModelLocation[];\n owner: 'document' | 'grammar' | 'property' | 'representation';\n repair: EditorSchemaRepairCode;\n}> | DocxPolicyDiagnostic<{\n action: 'dropped' | 'replaced' | 'unwrapped';\n code: 'unsupported-content';\n feature?: string;\n impact: 'lossless' | 'lossy';\n message: string;\n part?: string;\n path?: Path;\n root?: string;\n sourceId?: string;\n sourceLocation?: DocxSourceLocation;\n}>;", "source": null, "typeParameters": [] }, "platejs/docx/export:DocxExportOptions": { "aliases": [], "documentation": "Options for converting one captured editor document to DOCX.", "entrypoint": "platejs/docx/export", "kind": "type", "name": "DocxExportOptions", "runtime": false, "signature": "type DocxExportOptions = Readonly<{\n /** Fetch remote HTTP(S) images during export. @default false */\n allowRemoteImages?: boolean;\n /** Word comments whose ranges address the editor's stored document. */\n comments?: readonly DocxComment[];\n /**\n * React component used for static HTML rendering. It does not stop an\n * unchanged `source` from returning its original file.\n */\n component?: React.ComponentType;\n /**\n * Font family for the document body. Passing it rebuilds an unchanged\n * `source` instead of returning its original file.\n */\n fontFamily?: string;\n /**\n * `reject` fails the export when content would be dropped, such as an image\n * DOCX cannot embed or a comment without a representable range; `allow`\n * returns the file with warnings. A removed link destination keeps its\n * text, and named roots, metadata and other properties DOCX cannot\n * represent are warnings under both policies.\n *\n * @default 'reject'\n */\n lossPolicy?: 'allow' | 'reject';\n /** Page margins in twentieths of a point. */\n margins?: Margins;\n /** Page orientation. @default 'portrait' */\n orientation?: 'landscape' | 'portrait';\n /**\n * Number the pages in a footer, left-aligned in the document font. Setting\n * it to `true` rebuilds an unchanged `source`. The page-number footer\n * replaces the source's default footer and fills its empty first-page and\n * even-page footers.\n *\n * @default false\n */\n pageNumber?: boolean;\n /** Page size in twentieths of a point. */\n pageSize?: PageSize;\n /**\n * Static plugins that draw the body and every comment body, such as the\n * app's static kit; see `renderStaticHtml`. DOCX's own drawings of lists,\n * code blocks, columns, equations, callouts, headings and tables of\n * contents take precedence. Each `missing-static-presentation` diagnostic\n * counts as lost content under `lossPolicy`. It does not stop an unchanged\n * `source` from returning its original file.\n */\n presentation?: readonly BasePluginInput[];\n /** Visible document projection to export. */\n projection: 'accepted' | 'proposed' | 'review';\n /** Cooperative cancellation signal. */\n signal?: AbortSignal;\n /**\n * Retained import source used for exact or source-aware export. `null`, as\n * returned for a package exact reuse does not admit, generates the document\n * from editor content.\n */\n source?: DocxSource | null;\n /**\n * Exact CSS stylesheet applied before DOCX conversion. Passing it rebuilds\n * an unchanged `source` instead of returning its original file.\n *\n * DOCX's own drawings set no color, font or font size beyond an element's\n * own values, such as a callout's color, so the stylesheet owns them. Each\n * drawn element has the class `editor-`. A callout draws\n * `table > tbody > tr > td`, its first cell holding the icon; a code block\n * draws `[data-docx-preserve-whitespace]`; an empty equation or table of\n * contents marks its placeholder `[data-empty]`. A listed block's own outer\n * element carries its list item as `data-docx-list` attributes, so a rule\n * on `[data-docx-list=\"task\"][data-docx-list-checked]` styles a checked\n * to-do's element. The rule's alignment and line height apply to each text\n * paragraph the listed block writes, not to an image or a table.\n *\n * The top and bottom margin, in `pt` or `px`, of an element drawn as a Word\n * paragraph, such as a paragraph or heading, sets its Word space before and\n * after. Without one, the Word paragraph and heading styles set that\n * spacing.\n */\n stylesheet?: string;\n /** Document metadata title. */\n title?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/docx/export:DocxExportResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/export", "kind": "type", "name": "DocxExportResult", "runtime": false, "signature": "type DocxExportResult = Readonly<{\n diagnostics: readonly DocxDiagnostic[];\n ok: false;\n}> | Readonly<{\n blob: Blob;\n diagnostics: readonly DocxDiagnostic[];\n ok: true;\n}>;", "source": null, "typeParameters": [] }, "platejs/docx/export:exportDocx": { "aliases": [], "documentation": "Convert one immutable editor snapshot to a deliberate DOCX projection.", "entrypoint": "platejs/docx/export", "kind": "function", "name": "exportDocx", "runtime": true, "signature": "declare function exportDocx(editor: Editor, options: DocxExportOptions): Promise;", "source": null, "typeParameters": [] }, "platejs/docx/export:Margins": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/export", "kind": "type", "name": "Margins", "runtime": false, "signature": "type Margins = {\n bottom?: UnitValue;\n footer?: UnitValue;\n gutter?: UnitValue;\n header?: UnitValue;\n left?: UnitValue;\n right?: UnitValue;\n top?: UnitValue;\n};", "source": null, "typeParameters": [] }, "platejs/docx/export:PageSize": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/export", "kind": "type", "name": "PageSize", "runtime": false, "signature": "type PageSize = {\n height?: UnitValue;\n width?: UnitValue;\n};", "source": null, "typeParameters": [] }, "platejs/docx/import:DocxComment": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/import", "kind": "type", "name": "DocxComment", "runtime": false, "signature": "type DocxComment = Readonly<{\n author: Readonly<{\n initials?: string;\n name: string;\n }> | null;\n body: Value;\n createdAt: string | null;\n durableId: string | null;\n id: string;\n parentId: string | null;\n resolved: boolean | null;\n target: Readonly<{\n range: Range;\n }> | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/docx/import:DocxDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/import", "kind": "type", "name": "DocxDiagnostic", "runtime": false, "signature": "type DocxDiagnostic = AuthoredProjectionDiagnostic | Readonly<{\n actual: number;\n code: 'limit-exceeded';\n limit: keyof DocxImportLimits;\n maximum: number;\n message: string;\n severity: 'error';\n}> | Readonly<{\n code: 'decode-failed' | 'invalid-package';\n message: string;\n part?: string;\n severity: 'error';\n}> | Readonly<{\n code: 'source-unavailable';\n message: string;\n reason: 'disposed' | 'invalid' | 'schema-mismatch';\n severity: 'warning';\n}> | Readonly<{\n code: 'source-unavailable';\n message: string;\n /** Package part outside the passive vocabulary exact reuse admits. */\n part: string;\n reason: 'ineligible';\n severity: 'warning';\n}> | Readonly<{\n code: 'source-rewritten';\n message: string;\n reason: 'comments-changed' | 'document-changed' | 'output-options-changed' | 'projection-changed';\n severity: 'warning';\n}> | Readonly<{\n code: 'source-part-omitted';\n message: string;\n part: string;\n reason: 'active-content' | 'conflict' | 'external-relationship' | 'invalidated' | 'multiple-sections' | 'unreachable';\n severity: 'warning';\n}> | Readonly<{\n code: 'converter-message';\n message: string;\n severity: 'warning';\n}> | Readonly<{\n code: 'property-dropped';\n /** How many runs, paragraphs or cells lost the property. */\n count: number;\n feature: string;\n impact: 'lossy';\n message: string;\n part?: string;\n severity: 'warning';\n}> | DocxPolicyDiagnostic<{\n code: 'missing-static-presentation';\n message: string;\n /**\n * Name of the plugin whose element, mark or slot drawing the\n * presentation lacked.\n */\n plugin: string;\n}> | DocxPolicyDiagnostic<{\n code: 'lossy-content' | 'resource-omitted';\n feature?: string;\n message: string;\n part?: string;\n path?: Path;\n root?: string;\n sourceId?: string;\n}> | DocxPolicyDiagnostic<{\n code: 'schema-repair';\n impact: 'lossless' | 'lossy';\n inputs: readonly DocxModelLocation[];\n message: string;\n outputs: readonly DocxModelLocation[];\n owner: 'document' | 'grammar' | 'property' | 'representation';\n repair: EditorSchemaRepairCode;\n}> | DocxPolicyDiagnostic<{\n action: 'dropped' | 'replaced' | 'unwrapped';\n code: 'unsupported-content';\n feature?: string;\n impact: 'lossless' | 'lossy';\n message: string;\n part?: string;\n path?: Path;\n root?: string;\n sourceId?: string;\n sourceLocation?: DocxSourceLocation;\n}>;", "source": null, "typeParameters": [] }, "platejs/docx/import:DocxErrorDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/import", "kind": "type", "name": "DocxErrorDiagnostic", "runtime": false, "signature": "type DocxErrorDiagnostic = Extract;", "source": null, "typeParameters": [] }, "platejs/docx/import:DocxImportLimits": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/import", "kind": "type", "name": "DocxImportLimits", "runtime": false, "signature": "type DocxImportLimits = Readonly<{\n maxComments: number;\n maxEntries: number;\n maxEntryBytes: number;\n maxExpandedBytes: number;\n maxInputBytes: number;\n maxRelationships: number;\n maxRevisions: number;\n maxXmlDepth: number;\n maxXmlNodes: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/docx/import:DocxImportOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/import", "kind": "type", "name": "DocxImportOptions", "runtime": false, "signature": "type DocxImportOptions = Readonly<{\n limits?: Partial;\n lossPolicy?: 'allow' | 'reject';\n plugins: readonly PluginReference[];\n schema?: EditorApplicationSchema;\n signal?: AbortSignal;\n}> & ([TRetainSource] extends [true] ? Readonly<{\n /**\n * Retain the admitted package and import correspondence for later\n * export. `source` is null when a part falls outside the passive\n * vocabulary exact reuse admits; a `source-unavailable` warning\n * names it.\n */\n retainSource: true;\n}> : Readonly<{\n /**\n * Retain the admitted package and import correspondence for later\n * export. `source` is null when a part falls outside the passive\n * vocabulary exact reuse admits; a `source-unavailable` warning\n * names it.\n */\n retainSource?: TRetainSource;\n}>);", "source": null, "typeParameters": [ "TRetainSource extends boolean = false" ] }, "platejs/docx/import:DocxImportResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/import", "kind": "type", "name": "DocxImportResult", "runtime": false, "signature": "type DocxImportResult = DocxImportOutcome;", "source": null, "typeParameters": [ "TRetainSource extends boolean = false" ] }, "platejs/docx/import:DocxSource": { "aliases": [], "documentation": "Retained DOCX source correspondence for exact and source-aware export.", "entrypoint": "platejs/docx/import", "kind": "class", "name": "DocxSource", "runtime": true, "signature": "declare class DocxSource {\n private constructor();\n /** Release retained package bytes and semantic correspondence. Idempotent. */\n dispose(): void;\n}", "source": null, "typeParameters": [] }, "platejs/docx/import:DocxSourceLocation": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/import", "kind": "type", "name": "DocxSourceLocation", "runtime": false, "signature": "type DocxSourceLocation = Readonly<{\n endCodeUnit: number;\n part: string;\n qName: string;\n startCodeUnit: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/docx/import:DocxWarningDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/docx/import", "kind": "type", "name": "DocxWarningDiagnostic", "runtime": false, "signature": "type DocxWarningDiagnostic = Extract;", "source": null, "typeParameters": [] }, "platejs/docx/import:importDocx": { "aliases": [], "documentation": "Import a bounded DOCX package against one synchronously captured target.", "entrypoint": "platejs/docx/import", "kind": "function", "name": "importDocx", "runtime": true, "signature": "declare function importDocx(source: ArrayBuffer | Blob, options: DocxImportOptions): Promise>;", "source": null, "typeParameters": [ "const TRetainSource extends boolean = false" ] }, "platejs/docx/paste:WordPastePlugin": { "aliases": [], "documentation": "Normalizes Word clipboard payloads before the installed HTML parser runs.", "entrypoint": "platejs/docx/paste", "kind": "const", "name": "WordPastePlugin", "runtime": true, "signature": "WordPastePlugin: BasePlugin & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly HtmlDocumentParseResult;\n parseSlice: (source: string, options?: HtmlEditorParseOptions | undefined) => HtmlSliceParseResult;\n serialize: (options?: HtmlEditorSerializeOptions) => HtmlSerializeResult;\n }>>> & Readonly>> & Pick & Readonly<{\n name: \"html\";\n }> & Readonly> & Readonly<{\n api: Readonly<{\n parse: (source: string, options?: HtmlEditorParseOptions | undefined) => HtmlDocumentParseResult;\n parseSlice: (source: string, options?: HtmlEditorParseOptions | undefined) => HtmlSliceParseResult;\n serialize: (options?: HtmlEditorSerializeOptions) => HtmlSerializeResult;\n }>;\n }>>, \"~schema.plugins\">];\n readonly name: \"wordPaste\";\n readonly dataTransferFormats: true;\n readonly editOnly: true;\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/dom:ariaKeyShortcuts": { "aliases": [], "documentation": "Names the combos of a hotkey the way the `aria-keyshortcuts` attribute does,\nsuch as `Control+Shift+X`, joined by spaces. Each name is a combo the hotkey\nmatcher matches on a US layout for `platform`. A combo whose key is a literal\ndigit or punctuation character, or a letter or Space with Option on Apple,\ngets no name. To name a letter, digit or punctuation key, write its code,\nsuch as `digit1` or `keyi`.\nReturns `undefined` when no combo has a name, and throws the matcher's\n`TypeError` for a hotkey it rejects.", "entrypoint": "platejs/dom", "kind": "const", "name": "ariaKeyShortcuts", "runtime": true, "signature": "ariaKeyShortcuts: (hotkey: HotkeySpec, options: {\n platform: HotkeyPlatform;\n}) => string | undefined", "source": null, "typeParameters": [] }, "platejs/dom:ClipboardSliceRead": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "ClipboardSliceRead", "runtime": false, "signature": "type ClipboardSliceRead = Readonly<{\n kind: 'absent';\n}> | Readonly<{\n kind: 'invalid';\n source: 'html' | 'mime';\n}> | Readonly<{\n kind: 'slice';\n slice: ContentSlice;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/dom:ClipboardSliceWrite": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "ClipboardSliceWrite", "runtime": false, "signature": "type ClipboardSliceWrite = Readonly<{\n formats?: Readonly>;\n slice: ContentSlice;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/dom:DataTransferDecodeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DataTransferDecodeContext", "runtime": false, "signature": "type DataTransferDecodeContext = Readonly<{\n /** Payload for this format's registered mimeType. */\n data: string;\n /** MIME type currently being decoded. */\n mimeType: string;\n /**\n * Report a conversion diagnostic while `accept` or `decode` runs. A mounted\n * paste delivers the inserted payload's reports, plus loss from earlier\n * payloads that it cannot account for, through `Editable.onPasteResult`.\n */\n report: (diagnostic: DataTransferDiagnostic) => void;\n /** Immutable snapshot of every incoming host MIME type and file. */\n snapshot: DataTransferSnapshot;\n /** Read-only editor snapshot captured for this callback. */\n state: EditorCoreStateView;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/dom:DataTransferDiagnostic": { "aliases": [], "documentation": "One conversion diagnostic a format reports while decoding a payload.", "entrypoint": "platejs/dom", "kind": "type", "name": "DataTransferDiagnostic", "runtime": false, "signature": "type DataTransferDiagnostic = Readonly<{\n /** `lossy` when pasted content is left out or loses meaning. */\n impact: 'lossless' | 'lossy';\n /** Human-readable explanation of what changed. */\n message: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/dom:DataTransferEncodeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DataTransferEncodeContext", "runtime": false, "signature": "type DataTransferEncodeContext = Readonly<{\n /** MIME type currently being encoded. */\n mimeType: string;\n /** Immutable model slice selected for export. */\n slice: ContentSlice;\n /** Read-only editor snapshot captured for this callback. */\n state: EditorCoreStateView;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/dom:DataTransferFormat": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DataTransferFormat", "runtime": false, "signature": "type DataTransferFormat = Readonly<{\n /** Stable registration identity used for lifecycle errors and conflicts. */\n key: string;\n /** MIME type read from and written to the host data container. */\n mimeType: string;\n /**\n * Parse an intact slice, or return null to delegate to the next format. An\n * empty slice claims the payload, so no later format reads it and nothing is\n * inserted. A claimed paste keeps the selection. Contextual schema fitting\n * occurs at insertion. Report what the slice leaves out through\n * `context.report`.\n */\n decode?: (context: DataTransferDecodeContext) => ContentSlice | null;\n /** Return false to skip this payload before decoding. */\n accept?: (context: DataTransferDecodeContext) => boolean;\n /** Schema resources owned by this format and checked atomically. */\n claims?: readonly DataTransferSchemaClaim[];\n /** Encode the supplied slice, or return null to delegate this mimeType. */\n encode?: (context: DataTransferEncodeContext) => string | null;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/dom:DataTransferFormatPhase": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DataTransferFormatPhase", "runtime": false, "signature": "type DataTransferFormatPhase = 'accept' | 'decode' | 'encode';", "source": null, "typeParameters": [] }, "platejs/dom:dataTransferFormats": { "aliases": [], "documentation": "Install one or more DataTransfer formats as a named editor plugin.", "entrypoint": "platejs/dom", "kind": "const", "name": "dataTransferFormats", "runtime": true, "signature": "dataTransferFormats: (name: TName, formats: ReadonlyArray>) => Plugin>", "source": null, "typeParameters": [] }, "platejs/dom:DataTransferSchemaClaim": { "aliases": [], "documentation": "Stable schema ownership claimed by one format direction and MIME type.", "entrypoint": "platejs/dom", "kind": "type", "name": "DataTransferSchemaClaim", "runtime": false, "signature": "type DataTransferSchemaClaim = Readonly<{\n kind: 'element';\n type: string;\n}> | SchemaProperty | Readonly<{\n kind: 'schema';\n}>;", "source": null, "typeParameters": [] }, "platejs/dom:DataTransferSnapshot": { "aliases": [], "documentation": "Read-only host data exposed to pure format callbacks.", "entrypoint": "platejs/dom", "kind": "type", "name": "DataTransferSnapshot", "runtime": false, "signature": "type DataTransferSnapshot = Readonly<{\n /** Files captured when clipboard ingress began. */\n files: Readonly<{\n readonly [index: number]: File;\n readonly length: number;\n item: (index: number) => File | null;\n }>;\n /** Read a captured mimeType. Missing mimeTypes return an empty string. */\n getData: (mimeType: string) => string;\n /** Formats advertised by the incoming host payload. */\n types: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/dom:DOMApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "interface", "name": "DOMApi", "runtime": false, "signature": "interface DOMApi {\n blur: () => void;\n drag: DOMDragApi;\n /**\n * Resolve where a drop under a pointer lands: the innermost block edge or\n * side the transfer dry pass admits, or a text point for a text drag. A\n * files drop resolves only to an edge. With no `target`, a text drag\n * resolves nothing, and a block or files drop hit-tests the pointer, read as\n * client coordinates of the window of the view this editor picks, where its\n * last rendered Editable sits, and resolves in the editor's view found\n * there, else in the picked view. The editor an Editable renders with always\n * resolves in its own view. For a `useRootEditor` editor, the hit test finds\n * only its `EditorRoot`'s views of its root. The hit test enters shadow\n * roots but not iframes. A read-only editor resolves nothing unless an\n * Editable renders with it.\n */\n resolveDropTarget: (input: DOMDropTargetInput, options?: DOMDropTargetOptions) => DOMDropTarget | null;\n deselect: () => void;\n /**\n * The Editable of the view this editor's calls run in, or of a view at\n * `root` when given. Null when no view is picked, or when a view's own\n * editor is given another root.\n */\n editable: (root?: RootKey) => HTMLElement | null;\n assertDocumentOrShadowRoot: () => Document | ShadowRoot;\n /**\n * The DOM document or shadow root holding the Editable of the view this\n * editor's calls run in. A view's own editor runs in its own view. A\n * `useRootEditor` editor runs in a view of its root from its `EditorRoot`.\n * The editor `createEditor` returns runs in a view of the selection's root,\n * else of main. When the caret was placed in that root from an\n * `EditorRoot`, only that `EditorRoot`'s views of the root count, even\n * after this editor moves the caret within it. Of the views that count, it\n * takes the only one, else the one that holds focus, through iframes and\n * shadow roots. Null when no view is picked, or when that view has several\n * Editables and none holds focus.\n */\n resolveDocumentOrShadowRoot: () => Document | ShadowRoot | null;\n assertEventRange: (event: any) => Range$1;\n findKey: (node: Descendant) => Key;\n assertPath: (node: Node$1) => Path;\n focus: (options?: {\n retries?: number;\n }) => void;\n getWindow: () => Window;\n hasDOMNode: (target: DOMNode, options?: {\n editable?: boolean;\n }) => boolean;\n hasEditableTarget: (target: EventTarget | null) => target is DOMNode;\n hasRange: (range: Range$1) => boolean;\n hasSelectableTarget: (target: EventTarget | null) => boolean;\n hasTarget: (target: EventTarget | null) => target is DOMNode;\n isComposing: () => boolean;\n isFocused: () => boolean;\n isReadOnly: () => boolean;\n isTargetInsideNonReadonlyVoid: (target: EventTarget | null) => boolean;\n resolveDOMNode: (nodeOrKey: Node$1 | NodeKey) => HTMLElement | null;\n resolveDOMPoint: (point: Point) => DOMPoint | null;\n resolveDOMRange: (range: Range$1) => DOMRange | null;\n resolveEventRange: (event: any) => Range$1 | null;\n resolvePath: (node: Node$1) => Path | null;\n resolveRangeRect: (range: Range$1) => DOMRect | null;\n /** Resolve one mounted caret step in rendered visual order. */\n resolveVisualPoint: (point: Point, options: DOMVisualPointOptions) => DOMVisualPoint | null;\n /** The root element of the view this editor's calls run in. */\n root: () => HTMLElement | null;\n /**\n * The DOM text from `from` to this editor root's caret, including IME\n * preedit the model has not received, without non-editable, retained or\n * nested-editor DOM. Returns null when the root or `from` is not mounted,\n * when `from.root` is not this view's root, or when the caret is outside\n * this editor or before `from`.\n */\n textToCaret: (from: Point) => string | null;\n scroll: () => HTMLElement | null;\n /** Scroll a mounted target; return cleanup that cancels pending scrolling. */\n scrollIntoView: (target: ScrollIntoViewTarget, options?: ScrollIntoViewOptions) => () => void;\n /**\n * The part of `element` the user can see, in client coordinates: inside the\n * viewport and every box that clips it. Null when none of it is visible.\n */\n visibleRect: (element: Element) => DOMGeometryRect | null;\n resolveNode: (domNode: DOMNode) => Node$1 | null;\n resolvePoint: (domPoint: DOMPoint, options: {\n exactMatch: boolean;\n searchDirection?: 'backward' | 'forward';\n }) => Point | null;\n resolveRange: (domRange: DOMRange | DOMSelection | DOMStaticRange, options: {\n exactMatch: boolean;\n }) => Range$1 | null;\n assertDOMNode: (node: Node$1) => HTMLElement;\n assertDOMPoint: (point: Point) => DOMPoint;\n assertDOMRange: (range: Range$1) => DOMRange;\n assertNode: (domNode: DOMNode) => Node$1;\n assertPoint: (domPoint: DOMPoint, options: {\n exactMatch: boolean;\n searchDirection?: 'backward' | 'forward';\n }) => Point;\n assertRange: (domRange: DOMRange | DOMSelection | DOMStaticRange, options: {\n exactMatch: boolean;\n }) => Range$1;\n}", "source": null, "typeParameters": [] }, "platejs/dom:DOMClipboardApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "interface", "name": "DOMClipboardApi", "runtime": false, "signature": "interface DOMClipboardApi extends DOMEditorClipboardCapability {}", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/dom:domCommands": { "aliases": [], "documentation": "Semantic commands that own DOM clipboard ingress.", "entrypoint": "platejs/dom", "kind": "const", "name": "domCommands", "runtime": true, "signature": "domCommands: Readonly<{\n insertData: EditorCommand;\n}>", "source": null, "typeParameters": [] }, "platejs/dom:DOMElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DOMElement", "runtime": false, "signature": "type DOMElement = globalThis.Element;", "source": null, "typeParameters": [] }, "platejs/dom:DOMNode": { "aliases": [], "documentation": "Types.", "entrypoint": "platejs/dom", "kind": "type", "name": "DOMNode", "runtime": false, "signature": "type DOMNode = globalThis.Node;", "source": null, "typeParameters": [] }, "platejs/dom:DOMPoint": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DOMPoint", "runtime": false, "signature": "type DOMPoint = [Node, number];", "source": null, "typeParameters": [] }, "platejs/dom:DOMRange": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DOMRange", "runtime": false, "signature": "type DOMRange = globalThis.Range;", "source": null, "typeParameters": [] }, "platejs/dom:DOMResolutionError": { "aliases": [], "documentation": "Error thrown when the editor cannot resolve a DOM node, point, or range.", "entrypoint": "platejs/dom", "kind": "class", "name": "DOMResolutionError", "runtime": true, "signature": "declare class DOMResolutionError extends Error {\n readonly details: unknown;\n constructor(message: string, { details }?: {\n details?: unknown;\n });\n}", "source": null, "typeParameters": [] }, "platejs/dom:DOMSelection": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DOMSelection", "runtime": false, "signature": "type DOMSelection = globalThis.Selection;", "source": null, "typeParameters": [] }, "platejs/dom:DOMStaticRange": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DOMStaticRange", "runtime": false, "signature": "type DOMStaticRange = globalThis.StaticRange;", "source": null, "typeParameters": [] }, "platejs/dom:DOMText": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DOMText", "runtime": false, "signature": "type DOMText = globalThis.Text;", "source": null, "typeParameters": [] }, "platejs/dom:DOMVisualPoint": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DOMVisualPoint", "runtime": false, "signature": "type DOMVisualPoint = Readonly<{\n affinity: SelectionAssociation;\n point: Point;\n}>;", "source": null, "typeParameters": [] }, "platejs/dom:DOMVisualPointOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "DOMVisualPointOptions", "runtime": false, "signature": "type DOMVisualPointOptions = Readonly<{\n affinity?: SelectionAssociation;\n direction: 'left' | 'right';\n unit: 'character' | 'word';\n}>;", "source": null, "typeParameters": [] }, "platejs/dom:HotkeyMatchOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "HotkeyMatchOptions", "runtime": false, "signature": "type HotkeyMatchOptions = {\n ignoreModifiers?: boolean;\n platform?: HotkeyPlatform;\n};", "source": null, "typeParameters": [] }, "platejs/dom:HotkeyPlatform": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "HotkeyPlatform", "runtime": false, "signature": "type HotkeyPlatform = 'apple' | 'other' | 'windows';", "source": null, "typeParameters": [] }, "platejs/dom:HotkeySpec": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "HotkeySpec", "runtime": false, "signature": "type HotkeySpec = readonly string[] | string;", "source": null, "typeParameters": [] }, "platejs/dom:isHotkey": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "function", "name": "isHotkey", "runtime": true, "signature": "declare function isHotkey(hotkey: HotkeySpec, event: KeyboardEventLike): boolean;", "source": null, "typeParameters": [] }, "platejs/dom:KeyboardEventLike": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "KeyboardEventLike", "runtime": false, "signature": "type KeyboardEventLike = {\n altKey?: boolean;\n code?: string;\n ctrlKey?: boolean;\n getModifierState?: (key: 'AltGraph') => boolean;\n key: string;\n metaKey?: boolean;\n shiftKey?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs/dom:ScrollIntoViewOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "ScrollIntoViewOptions", "runtime": false, "signature": "type ScrollIntoViewOptions = StandardBehaviorOptions | boolean;", "source": null, "typeParameters": [] }, "platejs/dom:ScrollIntoViewTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs/dom", "kind": "type", "name": "ScrollIntoViewTarget", "runtime": false, "signature": "type ScrollIntoViewTarget = DOMRange | Path | Point | Range$1;", "source": null, "typeParameters": [] }, "platejs/dom:usesAppleDOMHotkeys": { "aliases": [], "documentation": "Returns whether an event, node, window, or document belongs to an Apple\nplatform, where `mod` is Command.", "entrypoint": "platejs/dom", "kind": "const", "name": "usesAppleDOMHotkeys", "runtime": true, "signature": "usesAppleDOMHotkeys: (event: unknown) => boolean", "source": null, "typeParameters": [] }, "platejs/dom:writeDataTransferFragment": { "aliases": [], "documentation": "Serialize a model fragment through configuration-ordered formats.", "entrypoint": "platejs/dom", "kind": "const", "name": "writeDataTransferFragment", "runtime": true, "signature": "writeDataTransferFragment: (editor: Editor, data: Pick, slice: ContentSlice, options?: Readonly<{\n excludeMimeTypes?: readonly string[];\n}>) => readonly string[]", "source": null, "typeParameters": [] }, "platejs/excalidraw:BaseExcalidrawPlugin": { "aliases": [], "documentation": "Stores an Excalidraw scene in a void block.", "entrypoint": "platejs/excalidraw", "kind": "const", "name": "BaseExcalidrawPlugin", "runtime": true, "signature": "BaseExcalidrawPlugin: BasePlugin & Readonly<{\n name: \"excalidraw\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor value is ExcalidrawElementData;\n readonly validationVersion: 2;\n } & Readonly<{\n default?: ExcalidrawElementData | undefined;\n generate?: (() => ExcalidrawElementData) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is ExcalidrawElementData;\n validationVersion: number;\n }>>;\n key: \"data\";\n localId: \"data\";\n ownerName: \"excalidraw\";\n placement: \"element\";\n unaliased: true;\n value: {\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null;\n }>;\n schema: {\n readonly element: {\n readonly properties: {\n data: PropertyJsonDescriptor value is ExcalidrawElementData;\n readonly validationVersion: 2;\n } & Readonly<{\n default?: ExcalidrawElementData | undefined;\n generate?: (() => ExcalidrawElementData) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is ExcalidrawElementData;\n validationVersion: number;\n }>>;\n };\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/excalidraw:ExcalidrawElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/excalidraw", "kind": "type", "name": "ExcalidrawElement", "runtime": false, "signature": "type ExcalidrawElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/excalidraw/react:ExcalidrawPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/excalidraw/react", "kind": "const", "name": "ExcalidrawPlugin", "runtime": true, "signature": "ExcalidrawPlugin: Plugin & Readonly<{\n name: \"excalidraw\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor<{\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null, {\n readonly validate: (value: unknown) => value is {\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null;\n readonly validationVersion: 2;\n } & Readonly<{\n default?: ({\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null) | undefined;\n generate?: (() => {\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is {\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null;\n validationVersion: number;\n }>>;\n key: \"data\";\n localId: \"data\";\n ownerName: \"excalidraw\";\n placement: \"element\";\n unaliased: true;\n value: {\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null;\n }>;\n schema: {\n readonly element: {\n readonly properties: {\n data: PropertyJsonDescriptor<{\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null, {\n readonly validate: (value: unknown) => value is {\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null;\n readonly validationVersion: 2;\n } & Readonly<{\n default?: ({\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null) | undefined;\n generate?: (() => {\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is {\n elements: readonly EditorJsonValue[];\n files?: Readonly>;\n state: Readonly>;\n } | null;\n validationVersion: number;\n }>>;\n };\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/excalidraw/react:useExcalidrawSync": { "aliases": [], "documentation": "Synchronizes the current Excalidraw node with a mounted canvas. Supply the\nlazily loaded Excalidraw namespace and its imperative API. Document changes\nreplace the canvas scene without a save echo and clear obsolete canvas undo.\nExcalidraw's serializer filters transient state and retains referenced files.", "entrypoint": "platejs/excalidraw/react", "kind": "function", "name": "useExcalidrawSync", "runtime": true, "signature": "declare function useExcalidrawSync({ api, excalidraw }: {\n api: Pick | null;\n excalidraw: Pick | null;\n}): void;", "source": null, "typeParameters": [] }, "platejs/find:BaseFindPlugin": { "aliases": [], "documentation": "Current literal text search without document or history changes.", "entrypoint": "platejs/find", "kind": "const", "name": "BaseFindPlugin", "runtime": true, "signature": "BaseFindPlugin: BasePlugin void;\n /** Move through current matches, wrapping at either end. */\n readonly move: (delta: -1 | 1) => void;\n };\n readonly initialState: {\n readonly query: string;\n readonly matches: readonly {\n readonly id: string;\n readonly range: Range;\n }[];\n readonly activeIndex: number;\n readonly error: Error | null;\n };\n readonly on: true;\n readonly selectors: NormalizePluginSelectors<{\n readonly query: string;\n readonly matches: readonly {\n readonly id: string;\n readonly range: Range;\n }[];\n readonly activeIndex: number;\n readonly error: Error | null;\n }, PluginSelectorMethods<{\n readonly activeMatch: (state: Readonly<{\n readonly query: string;\n readonly matches: readonly {\n readonly id: string;\n readonly range: Range;\n }[];\n readonly activeIndex: number;\n readonly error: Error | null;\n }>) => {\n readonly id: string;\n readonly range: Range;\n };\n readonly count: (state: Readonly<{\n readonly query: string;\n readonly matches: readonly {\n readonly id: string;\n readonly range: Range;\n }[];\n readonly activeIndex: number;\n readonly error: Error | null;\n }>) => number;\n }>>;\n readonly update: {\n /**\n * Select the current result in the main document; returns false without\n * one or in a named root's view. Focus remains owned by the caller's\n * view.\n */\n readonly select: TxDeclaredMethod<() => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/find:FindMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs/find", "kind": "type", "name": "FindMatch", "runtime": false, "signature": "type FindMatch = Readonly<{\n id: string;\n range: Range;\n}>;", "source": null, "typeParameters": [] }, "platejs/find:FindPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/find", "kind": "type", "name": "FindPluginState", "runtime": false, "signature": "type FindPluginState = Readonly<{\n query: string;\n matches: readonly FindMatch[];\n activeIndex: number;\n error: Error | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/footnote:BaseFootnoteDefinitionPlugin": { "aliases": [], "documentation": "Enables support for block footnote definitions.", "entrypoint": "platejs/footnote", "kind": "const", "name": "BaseFootnoteDefinitionPlugin", "runtime": true, "signature": "BaseFootnoteDefinitionPlugin: BasePlugin;\n key: \"ref\";\n localId: \"ref\";\n ownerName: \"footnoteDefinition\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly slice: {\n readonly endMatter: true;\n };\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n ref: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: typeof isNonBlankRef;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"footnoteDefinition\";\n readonly contributions: true;\n readonly formats: true;\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/footnote:BaseFootnotePlugin": { "aliases": [], "documentation": "Enables footnote references and their document-level operations.", "entrypoint": "platejs/footnote", "kind": "const", "name": "BaseFootnotePlugin", "runtime": true, "signature": "BaseFootnotePlugin: BasePlugin;\n key: \"ref\";\n localId: \"ref\";\n ownerName: \"footnote\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly properties: {\n ref: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: typeof isNonBlankRef;\n readonly validationVersion: 1;\n }>;\n };\n readonly type: \"footnoteReference\";\n readonly void: \"inline\";\n };\n };\n readonly name: \"footnote\";\n readonly formats: true;\n readonly initialState: {\n readonly trigger: readonly string[] | RegExp | string;\n readonly triggerPreviousCharPattern: RegExp | null;\n readonly triggerQuery: ((editor: ComboboxEditor) => boolean) | null;\n readonly maxQueryLength: number;\n readonly queryPattern: RegExp | null;\n };\n readonly read: {\n readonly anchor: ({ path }: {\n path: Path;\n }) => FootnoteAnchor | undefined;\n readonly definition: ({ ref }: {\n ref: string;\n }) => NodeEntry;\n readonly definitions: ({ ref }?: {\n ref?: string;\n }) => NodeEntry[];\n readonly definitionText: ({ ref }: {\n ref: string;\n }) => string | undefined;\n readonly refs: () => string[];\n readonly isDuplicateDefinition: ({ path }: {\n path: Path;\n }) => boolean;\n readonly isResolved: ({ ref }: {\n ref: string;\n }) => boolean;\n readonly nextRef: () => string;\n readonly references: ({ ref }: {\n ref: string;\n }) => NodeEntry[];\n };\n readonly update: {\n readonly createDefinition: TxDeclaredMethod<({ focus, fragment, ref }: CreateFootnoteDefinitionOptions) => Path>;\n readonly insert: TxDeclaredMethod<({ focusDefinition: shouldFocusDefinition, ref }?: {\n focusDefinition?: boolean;\n ref?: string;\n }, options?: NodeInsertOptions) => void>;\n readonly normalizeDuplicateDefinition: TxDeclaredMethod<({ path, ref }: {\n ref?: string;\n path: Path;\n }) => string | false>;\n readonly selectDefinition: TxDeclaredMethod<({ ref }: {\n ref: string;\n }) => false | {\n point: Point;\n targetPath: Path;\n }>;\n readonly selectReference: TxDeclaredMethod<({ ref, index }: {\n ref: string;\n index?: number;\n }) => false | {\n point: Point;\n targetPath: Path;\n }>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/footnote:CreateFootnoteDefinitionOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/footnote", "kind": "type", "name": "CreateFootnoteDefinitionOptions", "runtime": false, "signature": "type CreateFootnoteDefinitionOptions = {\n focus?: boolean;\n fragment?: readonly Descendant[];\n ref: string;\n};", "source": null, "typeParameters": [] }, "platejs/footnote:FootnoteAnchor": { "aliases": [], "documentation": "The fragment id of a footnote and, when present, its linked fragment id.", "entrypoint": "platejs/footnote", "kind": "type", "name": "FootnoteAnchor", "runtime": false, "signature": "type FootnoteAnchor = {\n id: string;\n target?: string;\n};", "source": null, "typeParameters": [] }, "platejs/footnote:FootnoteDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/footnote", "kind": "type", "name": "FootnoteDefinition", "runtime": false, "signature": "type FootnoteDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/footnote:FootnoteDefinitionElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/footnote", "kind": "type", "name": "FootnoteDefinitionElement", "runtime": false, "signature": "type FootnoteDefinitionElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/footnote:FootnoteElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/footnote", "kind": "type", "name": "FootnoteElement", "runtime": false, "signature": "type FootnoteElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/footnote:FootnotePluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/footnote", "kind": "type", "name": "FootnotePluginState", "runtime": false, "signature": "type FootnotePluginState = ComboboxState;", "source": null, "typeParameters": [] }, "platejs/footnote:FootnoteReferenceElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/footnote", "kind": "type", "name": "FootnoteReferenceElement", "runtime": false, "signature": "type FootnoteReferenceElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/footnote/react:FootnoteDefinitionPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/footnote/react", "kind": "const", "name": "FootnoteDefinitionPlugin", "runtime": true, "signature": "FootnoteDefinitionPlugin: Plugin value is string;\n readonly validationVersion: 1;\n }>;\n key: \"ref\";\n localId: \"ref\";\n ownerName: \"footnoteDefinition\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly slice: {\n readonly endMatter: true;\n };\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n ref: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"footnoteDefinition\";\n readonly contributions: true;\n readonly formats: true;\n}>>", "source": null, "typeParameters": [] }, "platejs/footnote/react:FootnotePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/footnote/react", "kind": "const", "name": "FootnotePlugin", "runtime": true, "signature": "FootnotePlugin: InternalPluginAuthorExtension value is string;\n readonly validationVersion: 1;\n }>;\n key: \"ref\";\n localId: \"ref\";\n ownerName: \"footnote\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly properties: {\n ref: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n readonly type: \"footnoteReference\";\n readonly void: \"inline\";\n };\n };\n readonly name: \"footnote\";\n readonly formats: true;\n readonly initialState: {\n readonly trigger: readonly string[] | RegExp | string;\n readonly triggerPreviousCharPattern: RegExp | null;\n readonly triggerQuery: ((editor: ComboboxEditor) => boolean) | null;\n readonly maxQueryLength: number;\n readonly queryPattern: RegExp | null;\n };\n readonly read: {\n readonly anchor: ({ path }: {\n path: Path;\n }) => FootnoteAnchor | undefined;\n readonly definition: ({ ref }: {\n ref: string;\n }) => NodeEntry;\n readonly definitions: ({ ref }?: {\n ref?: string;\n }) => NodeEntry[];\n readonly definitionText: ({ ref }: {\n ref: string;\n }) => string | undefined;\n readonly refs: () => string[];\n readonly isDuplicateDefinition: ({ path }: {\n path: Path;\n }) => boolean;\n readonly isResolved: ({ ref }: {\n ref: string;\n }) => boolean;\n readonly nextRef: () => string;\n readonly references: ({ ref }: {\n ref: string;\n }) => NodeEntry[];\n };\n readonly update: {\n readonly createDefinition: TxDeclaredMethod<({ focus, fragment, ref }: CreateFootnoteDefinitionOptions) => Path>;\n readonly insert: TxDeclaredMethod<({ focusDefinition: shouldFocusDefinition, ref }?: {\n focusDefinition?: boolean;\n ref?: string;\n }, options?: NodeInsertOptions) => void>;\n readonly normalizeDuplicateDefinition: TxDeclaredMethod<({ path, ref }: {\n ref?: string;\n path: Path;\n }) => string | false>;\n readonly selectDefinition: TxDeclaredMethod<({ ref }: {\n ref: string;\n }) => false | {\n point: Point;\n targetPath: Path;\n }>;\n readonly selectReference: TxDeclaredMethod<({ ref, index }: {\n ref: string;\n index?: number;\n }) => false | {\n point: Point;\n targetPath: Path;\n }>;\n };\n}>>, Readonly<{\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"ref\";\n localId: \"ref\";\n ownerName: \"footnote\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly properties: {\n ref: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n readonly type: \"footnoteReference\";\n readonly void: \"inline\";\n };\n };\n readonly name: \"footnote\";\n readonly formats: true;\n readonly initialState: {\n readonly trigger: readonly string[] | RegExp | string;\n readonly triggerPreviousCharPattern: RegExp | null;\n readonly triggerQuery: ((editor: ComboboxEditor) => boolean) | null;\n readonly maxQueryLength: number;\n readonly queryPattern: RegExp | null;\n };\n readonly read: {\n readonly anchor: ({ path }: {\n path: Path;\n }) => FootnoteAnchor | undefined;\n readonly definition: ({ ref }: {\n ref: string;\n }) => NodeEntry;\n readonly definitions: ({ ref }?: {\n ref?: string;\n }) => NodeEntry[];\n readonly definitionText: ({ ref }: {\n ref: string;\n }) => string | undefined;\n readonly refs: () => string[];\n readonly isDuplicateDefinition: ({ path }: {\n path: Path;\n }) => boolean;\n readonly isResolved: ({ ref }: {\n ref: string;\n }) => boolean;\n readonly nextRef: () => string;\n readonly references: ({ ref }: {\n ref: string;\n }) => NodeEntry[];\n };\n readonly update: {\n readonly createDefinition: TxDeclaredMethod<({ focus, fragment, ref }: CreateFootnoteDefinitionOptions) => Path>;\n readonly insert: TxDeclaredMethod<({ focusDefinition: shouldFocusDefinition, ref }?: {\n focusDefinition?: boolean;\n ref?: string;\n }, options?: NodeInsertOptions) => void>;\n readonly normalizeDuplicateDefinition: TxDeclaredMethod<({ path, ref }: {\n ref?: string;\n path: Path;\n }) => string | false>;\n readonly selectDefinition: TxDeclaredMethod<({ ref }: {\n ref: string;\n }) => false | {\n point: Point;\n targetPath: Path;\n }>;\n readonly selectReference: TxDeclaredMethod<({ ref, index }: {\n ref: string;\n index?: number;\n }) => false | {\n point: Point;\n targetPath: Path;\n }>;\n };\n}>, \"api\", {}, {\n readonly focusDefinition: ({ ref }: {\n ref: string;\n }) => boolean;\n readonly focusReference: ({ ref, index }: {\n ref: string;\n index?: number;\n }) => boolean;\n}, {}, {}, {}, readonly [], boolean, readonly []>", "source": null, "typeParameters": [] }, "platejs/format-painter/react:FormatPainterPlugin": { "aliases": [], "documentation": "Copy the look of one piece of text onto another. Arm the brush on a\nselection, then make a mouse selection: the brush paints it, or the word\nunder a click, and a once brush goes down. Mod+Alt+C copies the look and\nMod+Alt+V pastes it without arming; in an editable view, Escape puts an\narmed brush down.", "entrypoint": "platejs/format-painter/react", "kind": "const", "name": "FormatPainterPlugin", "runtime": true, "signature": "FormatPainterPlugin: InternalPluginAuthorExtension;\n } | {\n readonly armed: 'off';\n readonly copied: CapturedFormat | null;\n readonly source: null;\n };\n readonly dependencies: readonly [PluginReference<\"formatting\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly) => CapturedFormat | undefined;\n }>> & Readonly) => boolean>;\n readonly clear: TxDeclaredMethod<(options?: Readonly<{\n at?: Range;\n }>) => void>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"formatting\";\n }> & Readonly> & Readonly<{\n read: {\n readonly capture: (options?: Readonly<{\n at?: Range;\n }>) => CapturedFormat | undefined;\n };\n }> & Readonly<{\n update: {\n readonly apply: TxDeclaredMethod<(format: CapturedFormat, options?: Readonly<{\n at?: Range;\n }>) => boolean>;\n readonly clear: TxDeclaredMethod<(options?: Readonly<{\n at?: Range;\n }>) => void>;\n };\n }>>, \"~schema.plugins\">];\n}>>, Readonly<{\n readonly name: \"formatPainter\";\n readonly initialViewState: {\n readonly armed: 'once' | 'sticky';\n readonly copied: CapturedFormat;\n readonly source: Anchor;\n } | {\n readonly armed: 'off';\n readonly copied: CapturedFormat | null;\n readonly source: null;\n };\n readonly dependencies: readonly [PluginReference<\"formatting\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly) => CapturedFormat | undefined;\n }>> & Readonly) => boolean>;\n readonly clear: TxDeclaredMethod<(options?: Readonly<{\n at?: Range;\n }>) => void>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"formatting\";\n }> & Readonly> & Readonly<{\n read: {\n readonly capture: (options?: Readonly<{\n at?: Range;\n }>) => CapturedFormat | undefined;\n };\n }> & Readonly<{\n update: {\n readonly apply: TxDeclaredMethod<(format: CapturedFormat, options?: Readonly<{\n at?: Range;\n }>) => boolean>;\n readonly clear: TxDeclaredMethod<(options?: Readonly<{\n at?: Range;\n }>) => void>;\n };\n }>>, \"~schema.plugins\">];\n}>, \"api\" | \"on\", {}, {\n /**\n * Pick up the brush with the look at the selection's start: `sticky`\n * keeps it up after a paint. Returns false in a read-only view or when\n * the selection selects no text.\n */\n readonly arm: ({ sticky }?: Readonly<{\n sticky?: boolean;\n }>) => boolean;\n /**\n * Copy the look at the selection's start without arming. Returns false\n * when the selection selects no text.\n */\n readonly copy: () => boolean;\n /** Put an armed brush down. Returns false when it is not armed. */\n readonly disarm: () => boolean;\n /**\n * Apply the copied look to the selection without arming. Returns false\n * in a read-only view, when nothing is copied, or when the selection is\n * collapsed or selects blocks.\n */\n readonly paste: () => boolean;\n}, {}, {}, {}, readonly [], boolean, readonly []>, Readonly<{\n readonly name: \"formatPainter\";\n readonly initialViewState: {\n readonly armed: 'once' | 'sticky';\n readonly copied: CapturedFormat;\n readonly source: Anchor;\n } | {\n readonly armed: 'off';\n readonly copied: CapturedFormat | null;\n readonly source: null;\n };\n readonly dependencies: readonly [PluginReference<\"formatting\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly) => CapturedFormat | undefined;\n }>> & Readonly) => boolean>;\n readonly clear: TxDeclaredMethod<(options?: Readonly<{\n at?: Range;\n }>) => void>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"formatting\";\n }> & Readonly> & Readonly<{\n read: {\n readonly capture: (options?: Readonly<{\n at?: Range;\n }>) => CapturedFormat | undefined;\n };\n }> & Readonly<{\n update: {\n readonly apply: TxDeclaredMethod<(format: CapturedFormat, options?: Readonly<{\n at?: Range;\n }>) => boolean>;\n readonly clear: TxDeclaredMethod<(options?: Readonly<{\n at?: Range;\n }>) => void>;\n };\n }>>, \"~schema.plugins\">];\n readonly api: {\n /**\n * Pick up the brush with the look at the selection's start: `sticky`\n * keeps it up after a paint. Returns false in a read-only view or when\n * the selection selects no text.\n */\n readonly arm: ({ sticky }?: Readonly<{\n sticky?: boolean;\n }>) => boolean;\n /**\n * Copy the look at the selection's start without arming. Returns false\n * when the selection selects no text.\n */\n readonly copy: () => boolean;\n /** Put an armed brush down. Returns false when it is not armed. */\n readonly disarm: () => boolean;\n /**\n * Apply the copied look to the selection without arming. Returns false\n * in a read-only view, when nothing is copied, or when the selection is\n * collapsed or selects blocks.\n */\n readonly paste: () => boolean;\n };\n readonly on: true;\n}>, \"shortcuts\" | \"slots\", {}, {}, {}, {}, {}, readonly [], boolean, readonly []>", "source": null, "typeParameters": [] }, "platejs/format-painter/react:FormatPainterViewState": { "aliases": [], "documentation": "One view's format painter. An armed brush always holds the look it copied\nand an anchor on the range it copied from; `once` puts the brush down after\none paint, `sticky` keeps it up until disarmed.", "entrypoint": "platejs/format-painter/react", "kind": "type", "name": "FormatPainterViewState", "runtime": false, "signature": "type FormatPainterViewState = Readonly<{\n armed: 'once' | 'sticky';\n copied: CapturedFormat;\n source: Anchor;\n}> | Readonly<{\n armed: 'off';\n copied: CapturedFormat | null;\n source: null;\n}>;", "source": null, "typeParameters": [] }, "platejs/history:Batch": { "aliases": [], "documentation": "", "entrypoint": "platejs/history", "kind": "interface", "name": "Batch", "runtime": false, "signature": "interface Batch<_V extends Value = Value> {\n /** Canonical change to apply when this batch is consumed. */\n readonly change: DocumentChange;\n /** Effects to emit when this batch is consumed. */\n readonly effects: readonly EditorEffect[];\n /** Selection after the original batch was applied. */\n readonly selectionAfter: Selection;\n /** Additional named root owning `selectionAfter`; omit for the primary root. */\n readonly selectionAfterRoot?: string;\n /** Selection before the original batch was applied. */\n readonly selectionBefore: Selection;\n /** Additional named root owning `selectionBefore`; omit for the primary root. */\n readonly selectionBeforeRoot?: string;\n /**\n * On an undo step whose commit settled shown values or a decision's text:\n * the change from the step's base that takes back what the commit settled.\n * A redo step never has it.\n */\n readonly unsettle?: DocumentChange;\n /**\n * Beside `unsettle` on a step whose commit settled a decision's text: the\n * undo of everything else the commit did, from the document `unsettle`\n * gives. `change` is `unsettle` then `rest`, and the step's redo is the\n * inverse of `rest`.\n */\n readonly rest?: DocumentChange;\n /**\n * On an undo step whose commit merged a line into a nested line or out of\n * one, such as a line of one quote into the quote before it, and on\n * each step an undo or redo of it pushes: the runs of tokens the step\n * deletes at `source` in its base and inserts at `at` in the document it\n * gives, with the same letters and element tokens however the step changed\n * their marks. An outside edit inside a run moves with the run.\n */\n readonly carried?: readonly CarriedRun[];\n}", "source": null, "typeParameters": [ "_V extends Value = Value" ] }, "platejs/history:CarriedRun": { "aliases": [], "documentation": "Tokens a change deletes at `source` in its input and inserts at `at` in its\noutput. The two spans hold the same letters and element tokens in the same\norder; only the text-leaf tokens around those letters, which carry their\nmarks, may differ, so `length` and `landed` may too. A merge into a nested\nline, or out of one, carries the joined line's content across the closing\ntokens of the line it joins and the opening tokens of the elements it\nleaves, so an edit inside the run belongs to that content wherever it\nstands.", "entrypoint": "platejs/history", "kind": "type", "name": "CarriedRun", "runtime": false, "signature": "type CarriedRun = Readonly<{\n at: number;\n /** How many tokens the run spans where it lands. */\n landed: number;\n /** How many tokens the run spans at its source. */\n length: number;\n root: string;\n source: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/history:history": { "aliases": [], "documentation": "Create the inverse-change history plugin.", "entrypoint": "platejs/history", "kind": "const", "name": "history", "runtime": true, "signature": "history: (options?: HistoryOptions) => HistoryPlugin", "source": null, "typeParameters": [] }, "platejs/history:History": { "aliases": [], "documentation": "Undo and redo stacks of inverse document changes.", "entrypoint": "platejs/history", "kind": "interface", "name": "History", "runtime": true, "signature": "interface History {\n /** Monotonic revision of the published history value. */\n readonly revision: number;\n readonly redos: ReadonlyArray>;\n /** Schema identity that owns every persisted change in this history. */\n readonly schema: EditorSchemaIdentity;\n readonly undos: ReadonlyArray>;\n}", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/history:HistoryBatchJSON": { "aliases": [], "documentation": "", "entrypoint": "platejs/history", "kind": "type", "name": "HistoryBatchJSON", "runtime": false, "signature": "type HistoryBatchJSON = Readonly<{\n change: ReturnType;\n effects: ReadonlyArray>;\n selectionAfter: ReturnType;\n /** Additional named root; omitted for the primary root. */\n selectionAfterRoot?: string;\n selectionBefore: ReturnType;\n /** Additional named root; omitted for the primary root. */\n selectionBeforeRoot?: string;\n /** Only on an undo step whose commit settled shown values or a decision's text. */\n unsettle?: ReturnType;\n /** Only beside `unsettle` on a step whose commit settled a decision's text. */\n rest?: ReturnType;\n /**\n * Only at version 7: the facts of what the step moved, split and joined,\n * per root, or null when they are unknown. A step with no fact omits it.\n */\n record?: Readonly> | null;\n /**\n * Only on a step that merges a line into a nested line or takes it back.\n * A run names `landed` only when it differs from `length`.\n */\n carried?: ReadonlyArray>;\n /**\n * Only on a redo history maps apart from its plain rules: the redo it\n * applies from the same document when a guard refuses this one.\n */\n fallback?: Omit;\n /**\n * The step's id, which undo, redo, a merge and a restore keep. Never on a\n * `fallback`. A step saved without one gets a fresh id when it loads.\n */\n id?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/history:HistoryControlTx": { "aliases": [], "documentation": "", "entrypoint": "platejs/history", "kind": "type", "name": "HistoryControlTx", "runtime": false, "signature": "type HistoryControlTx = TxOnlyMethod<() => void>;", "source": null, "typeParameters": [] }, "platejs/history:HistoryJSON": { "aliases": [], "documentation": "", "entrypoint": "platejs/history", "kind": "type", "name": "HistoryJSON", "runtime": false, "signature": "type HistoryJSON = Readonly<{\n redos: readonly HistoryBatchJSON[];\n schema: EditorSchemaIdentity;\n undos: readonly HistoryBatchJSON[];\n /** 7 for every history this build saves. It still reads 4, 5 and 6. */\n version: 4 | 5 | 6 | 7;\n}>;", "source": null, "typeParameters": [] }, "platejs/history:HistoryOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/history", "kind": "type", "name": "HistoryOptions", "runtime": false, "signature": "type HistoryOptions = {\n /** Disable history for an editor that installs history through a preset. */\n enabled?: TEnabled;\n /** Maximum number of undo and redo batches retained per branch. */\n maxDepth?: number;\n /** Idle time in milliseconds before an automatic edit starts a new batch. */\n newBatchDelay?: number;\n};", "source": null, "typeParameters": [ "TEnabled extends boolean | undefined = undefined" ] }, "platejs/history:HistoryPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/history", "kind": "type", "name": "HistoryPlugin", "runtime": false, "signature": "type HistoryPlugin = Plugin> & HistoryPluginTypeProvider;", "source": null, "typeParameters": [ "TEnabled extends boolean | undefined = undefined" ] }, "platejs/history:HistoryPluginTypeProvider": { "aliases": [], "documentation": "Value-sensitive history capability provider for plugin composition.", "entrypoint": "platejs/history", "kind": "type", "name": "HistoryPluginTypeProvider", "runtime": false, "signature": "type HistoryPluginTypeProvider = PluginTypeProvider;", "source": null, "typeParameters": [] }, "platejs/history:HistoryPluginTypes": { "aliases": [], "documentation": "", "entrypoint": "platejs/history", "kind": "type", "name": "HistoryPluginTypes", "runtime": false, "signature": "type HistoryPluginTypes = {\n api: {\n history: HistoryApi;\n };\n read: {\n history: HistoryStateApi;\n };\n update: {\n history: HistoryTxApi;\n };\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/history:HistoryStateApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/history", "kind": "type", "name": "HistoryStateApi", "runtime": false, "signature": "type HistoryStateApi = (() => History) & {\n /** Return whether the redo branch has a surviving mapped batch. */\n hasRedo: () => boolean;\n /** Return whether the undo branch has a surviving mapped batch. */\n hasUndo: () => boolean;\n /** Return the replay currently waiting for its session owner. */\n pending: () => HistoryAction | null;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/history:HistoryTxApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/history", "kind": "type", "name": "HistoryTxApi", "runtime": false, "signature": "type HistoryTxApi = {\n /**\n * Merge this transaction into the previous compatible undo batch. Two\n * batches whose commits change no root, such as ones that write only\n * records, are compatible.\n */\n merge: HistoryControlTx;\n /** Make this transaction start a fresh undo batch. */\n newBatch: HistoryControlTx;\n /** Replace both history branches when the surrounding transaction commits. */\n restore: TxDeclaredMethod<(history: History) => void>;\n /** Do not save this transaction to history. */\n skip: HistoryControlTx;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/html:decodeHtmlDataTransfer": { "aliases": [], "documentation": "Decode an HTML clipboard payload with the HTML format compiled for\n`context.state`, for a format that prepares HTML first.\nReports what the payload leaves out through `context.report` and returns the\ndecoded slice, which is empty when nothing is insertable. Return an empty\nslice to claim the paste, or null to let the next format try. HTML that\nfails to parse returns null without reports. So does HTML that only repeats\nthe plain text, unless `context.data` differs from the snapshot's\n`text/html`.", "entrypoint": "platejs/html", "kind": "const", "name": "decodeHtmlDataTransfer", "runtime": true, "signature": "decodeHtmlDataTransfer: (context: DataTransferDecodeContext) => Readonly<{\n content: readonly (BaseElement | BaseText)[];\n openEnd: number;\n openStart: number;\n roots?: Readonly> | undefined;\n}> | null", "source": null, "typeParameters": [] }, "platejs/html:HtmlApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlApi", "runtime": false, "signature": "type HtmlApi = Readonly<{\n parse: (source: string, options?: HtmlEditorParseOptions) => HtmlDocumentParseResult;\n parseSlice: (source: string, options?: HtmlEditorParseOptions) => HtmlSliceParseResult;\n serialize: (options?: HtmlEditorSerializeOptions) => HtmlSerializeResult;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/html:HtmlAttributes": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlAttributes", "runtime": false, "signature": "type HtmlAttributes = Readonly>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlContentToken": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlContentToken", "runtime": false, "signature": "type HtmlContentToken = Readonly<{\n readonly __htmlContentToken: true;\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlDiagnostic", "runtime": false, "signature": "type HtmlDiagnostic = AuthoredProjectionDiagnostic | (HtmlDiagnosticContext & Readonly<{\n code: 'html-invalid-source';\n message: string;\n reason: 'parser-failure';\n severity: 'error';\n}>) | (HtmlDiagnosticContext & Readonly<{\n code: 'html-parser-recovery';\n message: string;\n parserCode: string;\n severity: 'warning';\n}>) | (HtmlDiagnosticContext & Readonly<{\n actual: number;\n code: 'html-limit-exceeded';\n limit: keyof HtmlParseLimits;\n maximum: number;\n message: string;\n severity: 'error';\n}>) | Readonly<{\n code: 'html-multiple-editor-roots';\n count: number;\n message: string;\n severity: 'error';\n}> | (HtmlDiagnosticContext & Readonly<{\n code: 'html-schema-invalid';\n message: string;\n schema: EditorSchemaValidationDiagnostic;\n severity: 'error';\n}>) | (HtmlDiagnosticContext & HtmlPolicyDiagnostic<{\n action: 'dropped' | 'replaced' | 'unwrapped';\n code: 'html-schema-repair';\n impact: 'lossless' | 'lossy';\n inputs: readonly HtmlModelLocation[];\n message: string;\n outputs: readonly HtmlModelLocation[];\n owner: 'document' | 'grammar' | 'property' | 'representation';\n repair: HtmlSchemaRepairCode;\n}>) | (HtmlDiagnosticContext & HtmlPolicyDiagnostic<{\n /**\n * `unwrapped` when a link lost its destination and kept its label,\n * which warns under every policy; `removed` otherwise.\n */\n action: 'removed' | 'unwrapped';\n code: 'html-unsafe-content';\n /** Whether the mandatory removal also dropped visible content. */\n impact: 'lossless' | 'lossy';\n kind: 'attribute' | 'element' | 'style' | 'url';\n message: string;\n}>) | (HtmlDiagnosticContext & HtmlPolicyDiagnostic<{\n action: 'dropped' | 'replaced' | 'unwrapped';\n code: 'html-unsupported-content';\n /** Always `lossy`: no installed mapping represents the content. */\n impact: 'lossless' | 'lossy';\n kind: 'attribute' | 'element' | 'style';\n message: string;\n owner: string;\n phase: 'parse' | 'serialize';\n}>) | Readonly<{\n code: 'html-unsupported-metadata';\n key: string;\n message: string;\n severity: 'warning';\n}> | Readonly<{\n code: 'html-unsupported-root';\n message: string;\n root: RootKey;\n severity: 'warning';\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlDocumentParseResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlDocumentParseResult", "runtime": false, "signature": "type HtmlDocumentParseResult = Readonly<{\n diagnostics: readonly HtmlWarningDiagnostic[];\n document: EditorDocumentValue;\n ok: true;\n}> | Readonly<{\n diagnostics: readonly [HtmlErrorDiagnostic, ...HtmlDiagnostic[]];\n ok: false;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/html:HtmlEditorParseOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlEditorParseOptions", "runtime": false, "signature": "type HtmlEditorParseOptions = Omit;", "source": null, "typeParameters": [] }, "platejs/html:HtmlEditorSerializeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlEditorSerializeOptions", "runtime": false, "signature": "type HtmlEditorSerializeOptions = Readonly<{\n document?: EditorDocumentValue;\n lossPolicy?: 'allow' | 'reject';\n /**\n * Version of an authored document to export. `accepted` drops pending changes\n * and `proposed` applies them as plain content. Either choice adds an\n * `authored-lossy-projection` warning while changes are pending. Required\n * when the document has authored metadata, which every document from an\n * editor with the authored plugin carries, even with no pending change.\n * Omitting it or passing any other value then throws, and so does a valid\n * value when the editor lacks the authored plugin. A document without\n * authored metadata ignores it.\n */\n projection?: 'accepted' | 'proposed';\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlElementPatch": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlElementPatch", "runtime": false, "signature": "type HtmlElementPatch = Readonly<{\n attributes?: HtmlAttributes;\n children?: never;\n style?: Readonly>;\n tag?: never;\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlErrorDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlErrorDiagnostic", "runtime": false, "signature": "type HtmlErrorDiagnostic = Extract;", "source": null, "typeParameters": [] }, "platejs/html:HtmlMatcher": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlMatcher", "runtime": false, "signature": "type HtmlMatcher = Readonly<(HtmlMatcherFields & {\n attributes: NonNullable;\n}) | (HtmlMatcherFields & {\n className: string;\n}) | (HtmlMatcherFields & {\n style: NonNullable;\n}) | (HtmlMatcherFields & {\n tag: HtmlMatchValue;\n})>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlMatchValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlMatchValue", "runtime": false, "signature": "type HtmlMatchValue = string | readonly string[];", "source": null, "typeParameters": [] }, "platejs/html:HtmlModelLocation": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlModelLocation", "runtime": false, "signature": "type HtmlModelLocation = Readonly<{\n path?: readonly number[];\n property?: string;\n root?: RootKey;\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlNodeSpec": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlNodeSpec", "runtime": false, "signature": "type HtmlNodeSpec = Readonly<{\n attributes?: HtmlAttributes;\n children?: HtmlContentToken | ReadonlyArray>;\n patchTarget?: true;\n style?: Readonly>;\n tag: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlParseLimits": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlParseLimits", "runtime": false, "signature": "type HtmlParseLimits = Readonly<{\n maxBytes: number;\n maxDepth: number;\n maxNodes: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlParseOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlParseOptions", "runtime": false, "signature": "type HtmlParseOptions = Readonly<{\n collapseWhitespace?: boolean;\n limits?: Partial;\n lossPolicy?: 'allow' | 'reject';\n plugins: readonly PluginReference[];\n schema?: EditorApplicationSchema;\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "const", "name": "HtmlPlugin", "runtime": true, "signature": "HtmlPlugin: BasePlugin & Readonly<{\n name: \"html\";\n}> & Readonly> & Readonly<{\n api: Readonly<{\n parse: (source: string, options?: HtmlEditorParseOptions | undefined) => HtmlDocumentParseResult;\n parseSlice: (source: string, options?: HtmlEditorParseOptions | undefined) => HtmlSliceParseResult;\n serialize: (options?: HtmlEditorSerializeOptions) => HtmlSerializeResult;\n }>;\n}>>", "source": null, "typeParameters": [] }, "platejs/html:HtmlSerializeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlSerializeOptions", "runtime": false, "signature": "type HtmlSerializeOptions = Readonly<{\n lossPolicy?: 'allow' | 'reject';\n plugins: readonly PluginReference[];\n /**\n * Version of an authored document to export. `accepted` drops pending changes\n * and `proposed` applies them as plain content. Either choice adds an\n * `authored-lossy-projection` warning while changes are pending. Required\n * when the document has authored metadata, which every document from an\n * editor with the authored plugin carries, even with no pending change.\n * Omitting it or passing any other value then throws, and so does a valid\n * value when `plugins` lacks the authored plugin. A document without authored\n * metadata ignores it.\n */\n projection?: 'accepted' | 'proposed';\n schema?: EditorApplicationSchema;\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlSerializeResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlSerializeResult", "runtime": false, "signature": "type HtmlSerializeResult = Readonly<{\n data: string;\n diagnostics: readonly HtmlWarningDiagnostic[];\n ok: true;\n}> | Readonly<{\n diagnostics: readonly [HtmlErrorDiagnostic, ...HtmlDiagnostic[]];\n ok: false;\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlSliceParseResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlSliceParseResult", "runtime": false, "signature": "type HtmlSliceParseResult = Readonly<{\n diagnostics: readonly HtmlWarningDiagnostic[];\n ok: true;\n slice: ContentSlice;\n}> | Readonly<{\n diagnostics: readonly [HtmlErrorDiagnostic, ...HtmlDiagnostic[]];\n ok: false;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/html:HtmlSourceLocation": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlSourceLocation", "runtime": false, "signature": "type HtmlSourceLocation = Readonly<{\n endCodeUnit: number;\n excerpt?: string;\n kind: 'source';\n startCodeUnit: number;\n}> | Readonly<{\n /** The source attribute a parse loss names. */\n attribute?: string;\n kind: 'tree';\n path: readonly number[];\n tag?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/html:HtmlWarningDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlWarningDiagnostic", "runtime": false, "signature": "type HtmlWarningDiagnostic = Extract;", "source": null, "typeParameters": [] }, "platejs/html:HtmlWrapperSpec": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "type", "name": "HtmlWrapperSpec", "runtime": false, "signature": "type HtmlWrapperSpec = Readonly<{\n attributes?: HtmlAttributes;\n style?: Readonly>;\n tag: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/html:parseHtml": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "const", "name": "parseHtml", "runtime": true, "signature": "parseHtml: (source: string, options: HtmlParseOptions) => HtmlDocumentParseResult", "source": null, "typeParameters": [] }, "platejs/html:serializeHtml": { "aliases": [], "documentation": "", "entrypoint": "platejs/html", "kind": "const", "name": "serializeHtml", "runtime": true, "signature": "serializeHtml: (document: EditorDocumentValue, options: HtmlSerializeOptions) => HtmlSerializeResult", "source": null, "typeParameters": [] }, "platejs/html/server:HtmlDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/html/server", "kind": "type", "name": "HtmlDiagnostic", "runtime": false, "signature": "type HtmlDiagnostic = AuthoredProjectionDiagnostic | (HtmlDiagnosticContext & Readonly<{\n code: 'html-invalid-source';\n message: string;\n reason: 'parser-failure';\n severity: 'error';\n}>) | (HtmlDiagnosticContext & Readonly<{\n code: 'html-parser-recovery';\n message: string;\n parserCode: string;\n severity: 'warning';\n}>) | (HtmlDiagnosticContext & Readonly<{\n actual: number;\n code: 'html-limit-exceeded';\n limit: keyof HtmlParseLimits;\n maximum: number;\n message: string;\n severity: 'error';\n}>) | Readonly<{\n code: 'html-multiple-editor-roots';\n count: number;\n message: string;\n severity: 'error';\n}> | (HtmlDiagnosticContext & Readonly<{\n code: 'html-schema-invalid';\n message: string;\n schema: EditorSchemaValidationDiagnostic;\n severity: 'error';\n}>) | (HtmlDiagnosticContext & HtmlPolicyDiagnostic<{\n action: 'dropped' | 'replaced' | 'unwrapped';\n code: 'html-schema-repair';\n impact: 'lossless' | 'lossy';\n inputs: readonly HtmlModelLocation[];\n message: string;\n outputs: readonly HtmlModelLocation[];\n owner: 'document' | 'grammar' | 'property' | 'representation';\n repair: HtmlSchemaRepairCode;\n}>) | (HtmlDiagnosticContext & HtmlPolicyDiagnostic<{\n /**\n * `unwrapped` when a link lost its destination and kept its label,\n * which warns under every policy; `removed` otherwise.\n */\n action: 'removed' | 'unwrapped';\n code: 'html-unsafe-content';\n /** Whether the mandatory removal also dropped visible content. */\n impact: 'lossless' | 'lossy';\n kind: 'attribute' | 'element' | 'style' | 'url';\n message: string;\n}>) | (HtmlDiagnosticContext & HtmlPolicyDiagnostic<{\n action: 'dropped' | 'replaced' | 'unwrapped';\n code: 'html-unsupported-content';\n /** Always `lossy`: no installed mapping represents the content. */\n impact: 'lossless' | 'lossy';\n kind: 'attribute' | 'element' | 'style';\n message: string;\n owner: string;\n phase: 'parse' | 'serialize';\n}>) | Readonly<{\n code: 'html-unsupported-metadata';\n key: string;\n message: string;\n severity: 'warning';\n}> | Readonly<{\n code: 'html-unsupported-root';\n message: string;\n root: RootKey;\n severity: 'warning';\n}>;", "source": null, "typeParameters": [] }, "platejs/html/server:HtmlDocumentParseResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/html/server", "kind": "type", "name": "HtmlDocumentParseResult", "runtime": false, "signature": "type HtmlDocumentParseResult = Readonly<{\n diagnostics: readonly HtmlWarningDiagnostic[];\n document: EditorDocumentValue;\n ok: true;\n}> | Readonly<{\n diagnostics: readonly [HtmlErrorDiagnostic, ...HtmlDiagnostic[]];\n ok: false;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/html/server:HtmlErrorDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/html/server", "kind": "type", "name": "HtmlErrorDiagnostic", "runtime": false, "signature": "type HtmlErrorDiagnostic = Extract;", "source": null, "typeParameters": [] }, "platejs/html/server:HtmlModelLocation": { "aliases": [], "documentation": "", "entrypoint": "platejs/html/server", "kind": "type", "name": "HtmlModelLocation", "runtime": false, "signature": "type HtmlModelLocation = Readonly<{\n path?: readonly number[];\n property?: string;\n root?: RootKey;\n}>;", "source": null, "typeParameters": [] }, "platejs/html/server:HtmlParseLimits": { "aliases": [], "documentation": "", "entrypoint": "platejs/html/server", "kind": "type", "name": "HtmlParseLimits", "runtime": false, "signature": "type HtmlParseLimits = Readonly<{\n maxBytes: number;\n maxDepth: number;\n maxNodes: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/html/server:HtmlParseOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/html/server", "kind": "type", "name": "HtmlParseOptions", "runtime": false, "signature": "type HtmlParseOptions = Readonly<{\n collapseWhitespace?: boolean;\n limits?: Partial;\n lossPolicy?: 'allow' | 'reject';\n plugins: readonly PluginReference[];\n schema?: EditorApplicationSchema;\n}>;", "source": null, "typeParameters": [] }, "platejs/html/server:HtmlSourceLocation": { "aliases": [], "documentation": "", "entrypoint": "platejs/html/server", "kind": "type", "name": "HtmlSourceLocation", "runtime": false, "signature": "type HtmlSourceLocation = Readonly<{\n endCodeUnit: number;\n excerpt?: string;\n kind: 'source';\n startCodeUnit: number;\n}> | Readonly<{\n /** The source attribute a parse loss names. */\n attribute?: string;\n kind: 'tree';\n path: readonly number[];\n tag?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/html/server:HtmlWarningDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/html/server", "kind": "type", "name": "HtmlWarningDiagnostic", "runtime": false, "signature": "type HtmlWarningDiagnostic = Extract;", "source": null, "typeParameters": [] }, "platejs/html/server:parseHtml": { "aliases": [], "documentation": "", "entrypoint": "platejs/html/server", "kind": "const", "name": "parseHtml", "runtime": true, "signature": "parseHtml: (source: string, options: HtmlParseOptions) => HtmlDocumentParseResult", "source": null, "typeParameters": [] }, "platejs/hyperscript:createEditor": { "aliases": [], "documentation": "Create a top-level `Editor` object.", "entrypoint": "platejs/hyperscript", "kind": "const", "name": "createEditor", "runtime": true, "signature": "createEditor: (makeEditor: () => Editor) => (_tagName: string, attributes: HyperscriptAttributes, children: any[]) => Editor", "source": null, "typeParameters": [] }, "platejs/hyperscript:createEditorFixture": { "aliases": [], "documentation": "Create a plain editor fixture for a custom hyperscript factory.", "entrypoint": "platejs/hyperscript", "kind": "function", "name": "createEditorFixture", "runtime": true, "signature": "declare function createEditorFixture(_tagName: string, attributes: HyperscriptAttributes, children: any[]): HyperscriptEditorFixture;", "source": null, "typeParameters": [] }, "platejs/hyperscript:createHyperscript": { "aliases": [], "documentation": "Create an editor hyperscript factory with optional custom creators and element\nshorthands.", "entrypoint": "platejs/hyperscript", "kind": "const", "name": "createHyperscript", "runtime": true, "signature": "createHyperscript: (options?: {\n creators?: TCreators;\n elements?: TElements;\n}) => (tagName: S, attributes?: unknown, ...children: any[]) => ReturnType<({\n anchor: typeof createAnchor;\n cursor: typeof createCursor;\n editor: (_tagName: string, attributes: HyperscriptAttributes, children: any[]) => Editor;\n element: typeof createElement;\n focus: typeof createFocus;\n fragment: typeof createFragment;\n selection: typeof createSelection;\n text: typeof createText;\n} & HyperscriptElementCreators & TCreators)[S]>", "source": null, "typeParameters": [] }, "platejs/hyperscript:createText": { "aliases": [], "documentation": "Create a `Text` object.", "entrypoint": "platejs/hyperscript", "kind": "function", "name": "createText", "runtime": true, "signature": "declare function createText(_tagName: string, attributes: HyperscriptAttributes, children: any[]): Text;", "source": null, "typeParameters": [] }, "platejs/hyperscript:HyperscriptCreators": { "aliases": [], "documentation": "`HyperscriptCreators` are dictionaries of `HyperscriptCreator` functions\nkeyed by tag name.", "entrypoint": "platejs/hyperscript", "kind": "type", "name": "HyperscriptCreators", "runtime": false, "signature": "type HyperscriptCreators = Record T>;", "source": null, "typeParameters": [ "T = any" ] }, "platejs/hyperscript:HyperscriptEditorFixture": { "aliases": [], "documentation": "", "entrypoint": "platejs/hyperscript", "kind": "type", "name": "HyperscriptEditorFixture", "runtime": false, "signature": "type HyperscriptEditorFixture = {\n children: Descendant[];\n selection: Selection;\n};", "source": null, "typeParameters": [] }, "platejs/hyperscript:HyperscriptShorthands": { "aliases": [], "documentation": "`HyperscriptShorthands` are dictionaries of properties applied to specific\nobject kinds, keyed by tag name. Use them to define domain-specific fixture\ntags.", "entrypoint": "platejs/hyperscript", "kind": "type", "name": "HyperscriptShorthands", "runtime": false, "signature": "type HyperscriptShorthands = Record;", "source": null, "typeParameters": [] }, "platejs/hyperscript:jsx": { "aliases": [], "documentation": "The default editor hyperscript factory, without custom tags.", "entrypoint": "platejs/hyperscript", "kind": "const", "name": "jsx", "runtime": true, "signature": "jsx: (tagName: S, attributes?: unknown, ...children: any[]) => ReturnType<({\n anchor: typeof createAnchor;\n cursor: typeof createCursor;\n editor: (_tagName: string, attributes: HyperscriptAttributes, children: any[]) => Editor;\n element: typeof createElement;\n focus: typeof createFocus;\n fragment: typeof createFragment;\n selection: typeof createSelection;\n text: typeof createText;\n} & {})[S]>", "source": null, "typeParameters": [] }, "platejs/ink:BaseInkPlugin": { "aliases": [], "documentation": "Pen marks on a document's text, saved as records of the document value.\nIts updates add and remove marks, and its reads return them decoded and say\nwhere each copy's block stands. It turns on block ids, because a mark names\nits blocks by id, and saves where a deleted block stood in the update that\ndeletes it.", "entrypoint": "platejs/ink", "kind": "const", "name": "BaseInkPlugin", "runtime": true, "signature": "BaseInkPlugin: BasePlugin & Readonly<{\n name: \"ink\";\n}> & Readonly<{\n dependencies: readonly [BasePluginDependencyReferenceFor void>;\n };\n }> & Readonly<{\n name: \"ink-records\";\n }>>>, PluginReference<\"elementId\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly generate: () => string;\n }>;\n key: \"id\";\n localId: \"id\";\n ownerName: \"elementId\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n }> & Readonly ElementIdEntry | undefined;\n readonly id: (key: NodeKey) => string | undefined;\n }>> & Readonly string;\n }>, Readonly<{\n group: \"element\";\n kind: \"group\";\n }>>;\n };\n }>> & Readonly>> & Pick string;\n }>;\n key: \"id\";\n localId: \"id\";\n ownerName: \"elementId\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly properties: {\n id: SchemaElementPropertyDefinition string;\n }>, Readonly<{\n group: \"element\";\n kind: \"group\";\n }>>;\n };\n };\n readonly name: \"elementId\";\n readonly activate: true;\n readonly initialState: {\n readonly generateId: () => string;\n };\n readonly read: {\n readonly entry: (id: string) => ElementIdEntry | undefined;\n readonly id: (key: NodeKey) => string | undefined;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n}> & Readonly> & Readonly<{\n initialViewState: {\n readonly hidden: boolean;\n readonly picked: readonly string[];\n readonly tool: InkTool | null;\n };\n}> & Readonly<{\n read: {\n /** The copy saved under `id`, or `undefined`. */\n readonly copy: (id: string) => Readonly<{\n block: string;\n height: number;\n id: string;\n lines: readonly InkLine[];\n text: string;\n width: number;\n }> | undefined;\n /** The mark saved under `id`, or `undefined`. */\n readonly mark: (id: string) => Readonly<{\n /** When the pen touched down, in milliseconds since the epoch. */\n at: number;\n author: string;\n blocks: readonly InkMarkBlock[];\n brush: InkBrush;\n direction: InkDirection;\n id: string;\n margin?: InkMargin;\n samples: readonly InkSample[];\n }> | undefined;\n /**\n * Every saved mark, oldest first, frozen, as the same list while the\n * saved marks and copies stay the same.\n */\n readonly marks: () => readonly Readonly<{\n /** When the pen touched down, in milliseconds since the epoch. */\n at: number;\n author: string;\n blocks: readonly InkMarkBlock[];\n brush: InkBrush;\n direction: InkDirection;\n id: string;\n margin?: InkMargin;\n samples: readonly InkSample[];\n }>[];\n /**\n * Where the block of the copy saved under `copyId` stands now, or\n * `undefined` for a copy that is not saved. A deleted block's place\n * follows the saved places of deleted blocks to the nearest block left\n * before it, then after it.\n */\n readonly place: (copyId: string) => InkCopyPlace | undefined;\n };\n}> & Readonly<{\n update: {\n /**\n * Save one mark and each copy not saved yet, as one undo step, and\n * return the mark's id. Refuses malformed input, writing nothing. A copy's\n * block deleted by this update, or by one of the last four updates that\n * deleted blocks, gets its place saved too.\n */\n readonly add: TxDeclaredMethod<(input: InkMarkInput) => string>;\n /** Drop the marks `ids` names. Their copies stay. */\n readonly remove: TxDeclaredMethod<(ids: readonly string[]) => void>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/ink:InkBlockInput": { "aliases": [], "documentation": "A block a stroke crosses, as measured when the stroke began: its copy's\nfields, where its box sat in the mark's space and the words marked in it.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkBlockInput", "runtime": false, "signature": "type InkBlockInput = Omit & Omit;", "source": null, "typeParameters": [] }, "platejs/ink:InkBrush": { "aliases": [], "documentation": "The pen a mark was drawn with. `opacity` runs from 0 to 1. `size` is the\nline's width at full pressure, and a lighter press paints thinner.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkBrush", "runtime": false, "signature": "type InkBrush = Readonly<{\n color: string;\n opacity: number;\n size: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkCopy": { "aliases": [], "documentation": "A block as it was when a mark was drawn on it: its element id, its text,\neach visual line and its box's size. Marks drawn on the same block state\nshare one copy.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkCopy", "runtime": false, "signature": "type InkCopy = Readonly<{\n block: string;\n height: number;\n id: string;\n lines: readonly InkLine[];\n text: string;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkCopyPlace": { "aliases": [], "documentation": "Where a copy's block stands now. `live` while the block that holds the\ncopy's id holds its text, `changed` while it holds other text, and `gone`\nwhen no block holds the id.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkCopyPlace", "runtime": false, "signature": "type InkCopyPlace = Readonly<{\n key: NodeKey;\n kind: 'changed' | 'live';\n}> | Readonly<{\n beside: InkSignPlace;\n kind: 'gone';\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkDirection": { "aliases": [], "documentation": "Which way a mark's text runs.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkDirection", "runtime": false, "signature": "type InkDirection = 'ltr' | 'rtl';", "source": null, "typeParameters": [] }, "platejs/ink:InkLine": { "aliases": [], "documentation": "One visual line of a copied block: the text offset its line ends at, and its\nbox inside the block's box.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkLine", "runtime": false, "signature": "type InkLine = Readonly<{\n end: number;\n height: number;\n left: number;\n top: number;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkMargin": { "aliases": [], "documentation": "A note drawn in the margin beside its block: the side it sits on, and how\nfar past the block's edge it reaches.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkMargin", "runtime": false, "signature": "type InkMargin = Readonly<{\n reach: number;\n side: 'left' | 'right';\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkMark": { "aliases": [], "documentation": "One pen contact on the document. Its samples and its blocks' boxes share\none space. A margin note has one block, no runs and a `margin`.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkMark", "runtime": false, "signature": "type InkMark = Readonly<{\n /** When the pen touched down, in milliseconds since the epoch. */\n at: number;\n author: string;\n blocks: readonly InkMarkBlock[];\n brush: InkBrush;\n direction: InkDirection;\n id: string;\n margin?: InkMargin;\n samples: readonly InkSample[];\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkMarkBlock": { "aliases": [], "documentation": "A block a mark crosses: its copy, where the block's box sat in the mark's\nspace, and the words the mark marks in it.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkMarkBlock", "runtime": false, "signature": "type InkMarkBlock = Readonly<{\n copy: string;\n left: number;\n runs: readonly InkRun[];\n top: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkMarkInput": { "aliases": [], "documentation": "What `add` saves: one pen contact, measured on the blocks it crosses. Each\nblock's `text` is its ink text, with each inline void as one U+FFFC, and its\n`runs` hold every word the stroke touches, one run per line of a word that\nwraps. Words split on white space, and a run of Han, Hiragana, Katakana or\nThai splits into the words `Intl.Segmenter` finds.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkMarkInput", "runtime": false, "signature": "type InkMarkInput = Readonly<{\n at: number;\n blocks: readonly InkBlockInput[];\n brush: InkBrush;\n direction: InkDirection;\n margin?: InkMargin;\n samples: readonly InkSample[];\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkRun": { "aliases": [], "documentation": "Words a mark marks in one block: the text offsets of the run, and where the\nrun sat on its line, inside the block's box. A run with `start` equal to\n`end` marks the point between two words.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkRun", "runtime": false, "signature": "type InkRun = Readonly<{\n end: number;\n left: number;\n start: number;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkSample": { "aliases": [], "documentation": "One pen sample: where it was in the mark's space, its pressure from 0 to 1,\nand its time in milliseconds after the mark's `at`.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkSample", "runtime": false, "signature": "type InkSample = readonly [x: number, y: number, pressure: number, time: number];", "source": null, "typeParameters": [] }, "platejs/ink:InkSignPlace": { "aliases": [], "documentation": "Where a deleted block's sign sits: after or before a block still in the\ndocument, or on the document-start rail when none is left.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkSignPlace", "runtime": false, "signature": "type InkSignPlace = Readonly<{\n at: 'after' | 'before';\n key: NodeKey;\n}> | Readonly<{\n at: 'start';\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkTool": { "aliases": [], "documentation": "A Draw tool: the brush its marks are drawn with.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkTool", "runtime": false, "signature": "type InkTool = Readonly<{\n brush: InkBrush;\n type: 'draw';\n}>;", "source": null, "typeParameters": [] }, "platejs/ink:InkViewState": { "aliases": [], "documentation": "What one view shows and does with ink: the tool a pen draws with, or\n`null` when drawing is off, whether ink and signs are hidden, and the ids\nof the marks picked.", "entrypoint": "platejs/ink", "kind": "type", "name": "InkViewState", "runtime": false, "signature": "type InkViewState = {\n hidden: boolean;\n picked: readonly string[];\n tool: InkTool | null;\n};", "source": null, "typeParameters": [] }, "platejs/ink/react:InkCopyView": { "aliases": [], "documentation": "The words the marks `marks` names were drawn on, as plain text laid out by\ntheir saved lines, with each mark's ink over them. Marks drawn on the\nsame blocks share one copy, and the copy's box takes in their ink, so a\nnote drawn in the margin shows beside its words. A mark no longer saved\nshows nothing.", "entrypoint": "platejs/ink/react", "kind": "function", "name": "InkCopyView", "runtime": true, "signature": "declare function InkCopyView({ marks }: {\n marks: readonly string[];\n}): React.JSX.Element;", "source": null, "typeParameters": [] }, "platejs/ink/react:InkLayer": { "aliases": [], "documentation": "The ink of a mounted Editable, drawn over it and its margins. Each mark\ndraws on its words while they stand as they were when it was drawn, and\notherwise shows as a `sign` in the Editable's padding where the mark's lines\nend, the left padding for a mark drawn in right-to-left text: at its\nblock's top when the block's words changed or cannot be measured, or a\nmargin note's margin is too narrow, and beside the nearest block left when a\nmarked block is gone, or on the document's start when none is left. A place\nshows one sign per state, and a sign that would cover the one above it on its\nside of the Editable moves down below it. A press on a sign is the sign's\nown. The layer draws the marks of the blocks within a screen of the view,\nand every mark once the page is about to print. With the Draw tool on, a pen\nor the primary mouse button draws a mark, which saves when the contact ends\nand keeps the Editable's focus and caret. A finger still scrolls, and other\nmouse buttons keep their own behavior. The view's `hidden` hides ink and\nsigns, and picked marks paint with a halo. Turning the view read-only turns\nthe tool off. The layer fills the nearest positioned ancestor of the\nEditable, which should hold the Editable and its margins, and reaches at\nleast to the Editable's bottom, so it covers the whole content of a\nscrolling ancestor. Render it after the content from the plugin's\n`wrapContent` slot, so it comes after the Editable and before every\n`afterEditable` slot. It sits at z-index 50, so a press on a control inside\nthe content at that level or below, such as a block's drag handle, reaches\nthe layer, while a toolbar or menu at that level from an `afterEditable`\nslot or a portal stays above it. When page chrome at or below that level,\nsuch as a sticky header, can sit over the editor, give the positioned\nancestor its own stacking context, such as with `isolation: isolate`, so the\nlayer stays below that chrome.", "entrypoint": "platejs/ink/react", "kind": "function", "name": "InkLayer", "runtime": true, "signature": "declare function InkLayer({ sign: Sign }: {\n sign: React$1.ComponentType<{\n sign: InkSign;\n }>;\n}): React$1.JSX.Element;", "source": null, "typeParameters": [] }, "platejs/ink/react:InkPlugin": { "aliases": [], "documentation": "Pen markup on a document's text, with each view's Draw tool. A view keeps\nits own tool, whether it hides ink and signs, and which marks are picked.", "entrypoint": "platejs/ink/react", "kind": "const", "name": "InkPlugin", "runtime": true, "signature": "InkPlugin: InternalReactPluginAdapterResult & Readonly<{\n name: \"ink\";\n}> & Readonly<{\n dependencies: readonly [BasePluginDependencyReferenceFor void>;\n };\n }> & Readonly<{\n name: \"ink-records\";\n }>>>, PluginReference<\"elementId\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly generate: () => string;\n }>;\n key: \"id\";\n localId: \"id\";\n ownerName: \"elementId\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n }> & Readonly ElementIdEntry | undefined;\n readonly id: (key: NodeKey) => string | undefined;\n }>> & Readonly string;\n }>, Readonly<{\n group: \"element\";\n kind: \"group\";\n }>>;\n };\n }>> & Readonly>> & Pick string;\n }>;\n key: \"id\";\n localId: \"id\";\n ownerName: \"elementId\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly properties: {\n id: SchemaElementPropertyDefinition string;\n }>, Readonly<{\n group: \"element\";\n kind: \"group\";\n }>>;\n };\n };\n readonly name: \"elementId\";\n readonly activate: true;\n readonly initialState: {\n readonly generateId: () => string;\n };\n readonly read: {\n readonly entry: (id: string) => ElementIdEntry | undefined;\n readonly id: (key: NodeKey) => string | undefined;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n}> & Readonly> & Readonly<{\n initialViewState: {\n readonly hidden: boolean;\n readonly picked: readonly string[];\n readonly tool: InkTool | null;\n };\n}> & Readonly<{\n read: {\n readonly copy: (id: string) => Readonly<{\n block: string;\n height: number;\n id: string;\n lines: readonly InkLine[];\n text: string;\n width: number;\n }> | undefined;\n readonly mark: (id: string) => Readonly<{\n at: number;\n author: string;\n blocks: readonly InkMarkBlock[];\n brush: InkBrush;\n direction: InkDirection;\n id: string;\n margin?: InkMargin;\n samples: readonly InkSample[];\n }> | undefined;\n readonly marks: () => readonly Readonly<{\n at: number;\n author: string;\n blocks: readonly InkMarkBlock[];\n brush: InkBrush;\n direction: InkDirection;\n id: string;\n margin?: InkMargin;\n samples: readonly InkSample[];\n }>[];\n readonly place: (copyId: string) => InkCopyPlace | undefined;\n };\n}> & Readonly<{\n update: {\n readonly add: TxDeclaredMethod<(input: InkMarkInput) => string>;\n readonly remove: TxDeclaredMethod<(ids: readonly string[]) => void>;\n };\n}>>, {\n readonly api: ({ editor, viewStore }: PluginApiContext & Readonly<{\n name: \"ink\";\n }> & Readonly<{\n dependencies: readonly [BasePluginDependencyReferenceFor void>;\n };\n }> & Readonly<{\n name: \"ink-records\";\n }>>>, PluginReference<\"elementId\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly generate: () => string;\n }>;\n key: \"id\";\n localId: \"id\";\n ownerName: \"elementId\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n }> & Readonly ElementIdEntry | undefined;\n readonly id: (key: NodeKey) => string | undefined;\n }>> & Readonly string;\n }>, Readonly<{\n group: \"element\";\n kind: \"group\";\n }>>;\n };\n }>> & Readonly>> & Pick string;\n }>;\n key: \"id\";\n localId: \"id\";\n ownerName: \"elementId\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly properties: {\n id: SchemaElementPropertyDefinition string;\n }>, Readonly<{\n group: \"element\";\n kind: \"group\";\n }>>;\n };\n };\n readonly name: \"elementId\";\n readonly activate: true;\n readonly initialState: {\n readonly generateId: () => string;\n };\n readonly read: {\n readonly entry: (id: string) => ElementIdEntry | undefined;\n readonly id: (key: NodeKey) => string | undefined;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n initialViewState: {\n readonly hidden: boolean;\n readonly picked: readonly string[];\n readonly tool: InkTool | null;\n };\n }> & Readonly<{\n read: {\n readonly copy: (id: string) => Readonly<{\n block: string;\n height: number;\n id: string;\n lines: readonly InkLine[];\n text: string;\n width: number;\n }> | undefined;\n readonly mark: (id: string) => Readonly<{\n at: number;\n author: string;\n blocks: readonly InkMarkBlock[];\n brush: InkBrush;\n direction: InkDirection;\n id: string;\n margin?: InkMargin;\n samples: readonly InkSample[];\n }> | undefined;\n readonly marks: () => readonly Readonly<{\n at: number;\n author: string;\n blocks: readonly InkMarkBlock[];\n brush: InkBrush;\n direction: InkDirection;\n id: string;\n margin?: InkMargin;\n samples: readonly InkSample[];\n }>[];\n readonly place: (copyId: string) => InkCopyPlace | undefined;\n };\n }> & Readonly<{\n update: {\n readonly add: TxDeclaredMethod<(input: InkMarkInput) => string>;\n readonly remove: TxDeclaredMethod<(ids: readonly string[]) => void>;\n };\n }>>>) => {\n /** Pick the marks `ids` names, which the layer paints distinctly. */\n setPicked: (ids: readonly string[]) => void;\n /** Hide or show this view's ink and signs. */\n setHidden: (hidden: boolean) => void;\n /**\n * Turn the Draw tool on with `tool`, or off with `null`. Returns false and\n * changes nothing when it would turn the tool on in a read-only view,\n * because a mark is a write to the document.\n */\n setTool: (tool: InkTool | null) => boolean;\n };\n}>", "source": null, "typeParameters": [] }, "platejs/ink/react:InkSign": { "aliases": [], "documentation": "Marks whose ink is not on the page, shown as one sign: `changed` when their\nwords changed or moved, `deleted` when a marked block is gone, and `narrow`\nwhen a margin note's margin is too narrow for it.", "entrypoint": "platejs/ink/react", "kind": "type", "name": "InkSign", "runtime": false, "signature": "type InkSign = Readonly<{\n marks: readonly string[];\n state: 'changed' | 'deleted' | 'narrow';\n}>;", "source": null, "typeParameters": [] }, "platejs/layout:BaseColumnGroupPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/layout", "kind": "const", "name": "BaseColumnGroupPlugin", "runtime": true, "signature": "BaseColumnGroupPlugin: BasePlugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"column\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n width: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n };\n readonly blockContent: false;\n };\n }>> & Readonly boolean;\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>> & Pick & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"column\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n width: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n };\n readonly blockContent: false;\n };\n };\n readonly name: \"column\";\n readonly shortcuts: true;\n readonly contributions: true;\n readonly formats: true;\n readonly update: {\n readonly selectAll: () => boolean;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: never;\n readonly schema: {\n readonly element: {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"column\";\n type: \"column\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 2;\n } & Readonly<{\n default: Readonly<{\n type: \"column\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"column\";\n type: \"column\";\n }> | undefined;\n }>>;\n };\n };\n readonly name: \"columnGroup\";\n readonly corrections: true;\n readonly formats: true;\n readonly readMiddleware: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: {\n columns?: number;\n }, options?: BlockInsertOptions) => boolean>;\n readonly setColumns: TxDeclaredMethod<({ at, columns, widths }: SetColumnsOptions) => void>;\n readonly toggle: TxDeclaredMethod<({ at, columns, widths }?: ToggleColumnGroupOptions) => void>;\n readonly upsert: TxDeclaredMethod<(input?: {\n columns?: number;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/layout:BaseColumnItemPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/layout", "kind": "const", "name": "BaseColumnItemPlugin", "runtime": true, "signature": "BaseColumnItemPlugin: BasePlugin & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"column\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n width: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n };\n readonly blockContent: false;\n };\n };\n readonly name: \"column\";\n readonly shortcuts: true;\n readonly contributions: true;\n readonly formats: true;\n readonly update: {\n readonly selectAll: () => boolean;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/layout:ColumnDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/layout", "kind": "type", "name": "ColumnDefinition", "runtime": false, "signature": "type ColumnDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/layout:ColumnElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/layout", "kind": "type", "name": "ColumnElement", "runtime": false, "signature": "type ColumnElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/layout:ColumnGroupElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/layout", "kind": "type", "name": "ColumnGroupElement", "runtime": false, "signature": "type ColumnGroupElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/layout:SetColumnsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/layout", "kind": "type", "name": "SetColumnsOptions", "runtime": false, "signature": "type SetColumnsOptions = {\n /** Column group location. */\n at?: NodeTarget;\n columns?: number;\n widths?: string[];\n};", "source": null, "typeParameters": [] }, "platejs/layout:ToggleColumnGroupOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/layout", "kind": "type", "name": "ToggleColumnGroupOptions", "runtime": false, "signature": "type ToggleColumnGroupOptions = {\n at?: Location | NodeSelection;\n columns?: number;\n widths?: string[];\n};", "source": null, "typeParameters": [] }, "platejs/layout/react:ColumnGroupPlugin": { "aliases": [], "documentation": "Enables support for columns with React-specific features.", "entrypoint": "platejs/layout/react", "kind": "const", "name": "ColumnGroupPlugin", "runtime": true, "signature": "ColumnGroupPlugin: Plugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"column\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n width: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n };\n readonly blockContent: false;\n };\n }>> & Readonly boolean;\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>> & Pick & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"column\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n width: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n };\n readonly blockContent: false;\n };\n };\n readonly name: \"column\";\n readonly shortcuts: true;\n readonly contributions: true;\n readonly formats: true;\n readonly update: {\n readonly selectAll: () => boolean;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: never;\n readonly schema: {\n readonly element: {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"column\";\n type: \"column\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 2;\n } & Readonly<{\n default: Readonly<{\n type: \"column\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"column\";\n type: \"column\";\n }> | undefined;\n }>>;\n };\n };\n readonly name: \"columnGroup\";\n readonly conflicts: readonly [];\n readonly enabled: boolean;\n readonly targetPlugins: readonly [];\n readonly corrections: true;\n readonly initialViewState?: {} | undefined;\n readonly inputRules?: true | undefined;\n readonly dataTransferFormats?: true | undefined;\n readonly formats: true;\n readonly inject?: true | undefined;\n readonly on?: true | undefined;\n readonly render: true;\n readonly shortcuts?: true | undefined;\n readonly decorate?: true | undefined;\n readonly api: {};\n readonly initialState: {};\n readonly read: {};\n readonly selectors: {};\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: {\n columns?: number;\n }, options?: BlockInsertOptions) => boolean>;\n readonly setColumns: TxDeclaredMethod<({ at, columns, widths }: SetColumnsOptions) => void>;\n readonly toggle: TxDeclaredMethod<({ at, columns, widths }?: ToggleColumnGroupOptions) => void>;\n readonly upsert: TxDeclaredMethod<(input?: {\n columns?: number;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n}>, \"dependencies\" | \"name\"> & Readonly<{\n name: \"columnGroup\";\n}> & Readonly<{\n dependencies: readonly [Plugin & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"column\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n width: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n };\n readonly blockContent: false;\n };\n };\n readonly name: \"column\";\n readonly shortcuts: true;\n readonly contributions: true;\n readonly formats: true;\n readonly update: {\n readonly selectAll: () => boolean;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs/layout/react:ColumnItemPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/layout/react", "kind": "const", "name": "ColumnItemPlugin", "runtime": true, "signature": "ColumnItemPlugin: Plugin & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"column\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n width: PropertyStringDescriptor<{\n readonly default: \"50%\";\n readonly omitDefault: false;\n }>;\n };\n readonly blockContent: false;\n };\n };\n readonly name: \"column\";\n readonly shortcuts: true;\n readonly contributions: true;\n readonly formats: true;\n readonly update: {\n readonly selectAll: () => boolean;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/lint:BaseLintPlugin": { "aliases": [], "documentation": "Lint text blocks with app rules; findings follow edits and never go stale.", "entrypoint": "platejs/lint", "kind": "const", "name": "BaseLintPlugin", "runtime": true, "signature": "BaseLintPlugin: BasePlugin readonly LintFinding[];\n /** The finding under the selection focus, or null. */\n readonly at: () => LintFinding | null;\n /** Lint the whole document again; `rules` replaces the current rules. */\n readonly run: (rules?: readonly LintRule[]) => void;\n /** Stop linting and drop every finding until the next `run`. */\n readonly clear: () => void;\n };\n readonly initialState: {\n readonly rules: readonly {\n readonly id: string;\n readonly severity: LintFinding['severity'];\n readonly check: (text: string, context: Readonly<{\n block: Element;\n editor: Editor;\n signal: AbortSignal;\n }>) => Iterable | PromiseLike>;\n }[];\n readonly active: boolean;\n readonly version: number;\n readonly error: Error | null;\n };\n readonly on: true;\n readonly update: {\n /**\n * Replace a finding's text with one of its fixes as its own undo step.\n * Writes nothing and returns false when the finding is gone or has no fix\n * at `index`.\n */\n readonly fix: TxDeclaredMethod<(id: string, index?: number) => boolean>;\n /** Select a finding's text. */\n readonly select: TxDeclaredMethod<(id: string) => boolean>;\n /** Select the next or previous finding from the selection, wrapping. */\n readonly move: TxDeclaredMethod<(delta: -1 | 1) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/lint:LintFinding": { "aliases": [], "documentation": "", "entrypoint": "platejs/lint", "kind": "type", "name": "LintFinding", "runtime": false, "signature": "type LintFinding = Readonly<{\n id: string;\n ruleId: string;\n severity: 'error' | 'info' | 'warning';\n message: string;\n /** The content text the rule matched. */\n text: string;\n fixes: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/lint:LintMatch": { "aliases": [], "documentation": "A rule's match: UTF-16 offsets into the checked text, a message and fixes.", "entrypoint": "platejs/lint", "kind": "type", "name": "LintMatch", "runtime": false, "signature": "type LintMatch = Readonly<{\n start: number;\n end: number;\n message: string;\n fixes?: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/lint:LintPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/lint", "kind": "type", "name": "LintPluginState", "runtime": false, "signature": "type LintPluginState = Readonly<{\n rules: readonly LintRule[];\n /** False after `clear` until the next `run`. */\n active: boolean;\n /** Moves whenever the findings list changes. */\n version: number;\n /** The last checker failure. */\n error: Error | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/lint:LintRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/lint", "kind": "type", "name": "LintRule", "runtime": false, "signature": "type LintRule = Readonly<{\n id: string;\n severity: LintFinding['severity'];\n /**\n * Check one text block's content text: its text joined through inline\n * elements, without non-content text such as struck suggestions. Offsets are\n * UTF-16 indexes into `text`. Return a promise for a server check; the plugin\n * keeps its result only while the block matches the one it checked, marks\n * and properties included, and aborts `signal` when the block leaves the\n * document or `run`, `clear` or a document replace restarts linting.\n * `editor` is for reading plugin configuration, such as a plugin's schema\n * type; a rule never updates it.\n */\n check: (text: string, context: Readonly<{\n block: Element;\n editor: Editor;\n signal: AbortSignal;\n }>) => Iterable | PromiseLike>;\n}>;", "source": null, "typeParameters": [] }, "platejs/markdown:getMarkdownFrontmatter": { "aliases": [], "documentation": "The front matter block that a Markdown document parse stored on the\ndocument, or `undefined` when the stored value is missing or is not a\n`MarkdownFrontmatter`. The block comes back as stored; a document serialize\nis what checks that it can be written.", "entrypoint": "platejs/markdown", "kind": "const", "name": "getMarkdownFrontmatter", "runtime": true, "signature": "getMarkdownFrontmatter: (document: EditorDocumentValue) => MarkdownFrontmatter | undefined", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownApi", "runtime": false, "signature": "type MarkdownApi = {\n parse: (source: string, options?: MarkdownParsePolicy) => MarkdownDocumentParseResult;\n parseInline: (source: string, options?: MarkdownParsePolicy) => MarkdownSliceParseResult;\n parseSlice: (source: string, options?: MarkdownParsePolicy & Readonly<{\n /**\n * The previous result of a growing source. When it came from this\n * editor's `parseSlice`, for a prefix of `source`, under unchanged\n * plugins and limits, only the text after its last complete block is\n * converted again, and complete blocks keep their node objects, so a\n * preview or the final parse can publish just the changed tail. Under\n * another `lossPolicy`, only complete blocks that reported nothing\n * are kept. Any other hint parses the whole source, and so does a\n * source with a link reference or footnote definition, which can\n * change blocks before it.\n */\n previous?: MarkdownSliceParseResult;\n }>) => MarkdownSliceParseResult;\n serialize: (options?: MarkdownEditorSerializeOptions) => MarkdownSerializeResult;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/markdown:MarkdownDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownDefinition", "runtime": false, "signature": "type MarkdownDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownDiagnostic", "runtime": false, "signature": "type MarkdownDiagnostic = AuthoredProjectionDiagnostic | PolicyDiagnostic<{\n code: 'markdown-frontmatter-omitted';\n impact: 'lossy';\n message: string;\n /**\n * `shape` when the stored block is not an object whose keys are exactly\n * a string `format` and a string `value`, `format` when the format is\n * neither `yaml` nor `toml`, and `unreadable` when the written block\n * would not read back as the same value.\n */\n reason: 'format' | 'shape' | 'unreadable';\n}> | Readonly<{\n actual: number;\n code: 'markdown-inline-blocks';\n message: string;\n severity: 'error';\n}> | (MarkdownDiagnosticContext & Readonly<{\n actual: number;\n code: 'markdown-limit-exceeded';\n limit: keyof MarkdownParseLimits;\n maximum: number;\n message: string;\n severity: 'error';\n}>) | (MarkdownDiagnosticContext & Readonly<{\n code: 'markdown-property-omitted';\n key: string;\n message: string;\n owner: string;\n phase: 'parse' | 'serialize';\n reason: 'invalid' | 'unsupported';\n severity: 'warning';\n}>) | (MarkdownDiagnosticContext & Readonly<{\n code: 'markdown-tag-repair';\n message: string;\n reason: 'misplaced' | 'unclosed' | 'unmatched';\n severity: 'warning';\n tag: string;\n}>) | (MarkdownDiagnosticContext & Readonly<{\n code: 'markdown-schema-invalid';\n message: string;\n schema: EditorSchemaValidationDiagnostic;\n severity: 'error';\n}>) | (MarkdownDiagnosticContext & PolicyDiagnostic<{\n code: 'markdown-schema-repair';\n impact: 'lossless' | 'lossy';\n inputs: readonly MarkdownModelLocation[];\n message: string;\n outputs: readonly MarkdownModelLocation[];\n owner: 'document' | 'grammar' | 'property' | 'representation';\n repair: EditorSchemaRepairCode;\n}>) | Readonly<{\n code: 'markdown-unsupported-metadata';\n key: string;\n message: string;\n severity: 'warning';\n}> | (MarkdownDiagnosticContext & PolicyDiagnostic<{\n action: 'dropped' | 'replaced' | 'unwrapped';\n code: 'markdown-unsupported-node';\n /**\n * `lossless` when nothing a reader sees was lost, such as raw HTML\n * kept as text or an omitted comment; `lossy` otherwise.\n */\n impact: 'lossless' | 'lossy';\n message: string;\n nodeType: string;\n owner: string;\n phase: 'parse' | 'serialize';\n}>) | Readonly<{\n code: 'markdown-unsupported-root';\n message: string;\n root: RootKey;\n severity: 'warning';\n}> | (MarkdownDiagnosticContext & PolicyDiagnostic<{\n code: 'markdown-unsafe-content';\n /**\n * `lossless` when only a script-capable destination was removed and\n * its label kept; `lossy` when visible content went with it.\n */\n impact: 'lossless' | 'lossy';\n message: string;\n nodeType: string;\n phase: 'parse' | 'serialize';\n}>);", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownDocumentParseResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownDocumentParseResult", "runtime": false, "signature": "type MarkdownDocumentParseResult = Readonly<{\n diagnostics: readonly MarkdownWarningDiagnostic[];\n document: EditorDocumentValue;\n ok: true;\n}> | Readonly<{\n diagnostics: readonly [MarkdownErrorDiagnostic, ...MarkdownDiagnostic[]];\n ok: false;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/markdown:MarkdownEditor": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownEditor", "runtime": false, "signature": "type MarkdownEditor = E & {\n readonly api: {\n markdown: MarkdownApi;\n };\n};", "source": null, "typeParameters": [ "E = Editor", "V extends Value = Value" ] }, "platejs/markdown:MarkdownEditorSerializeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownEditorSerializeOptions", "runtime": false, "signature": "type MarkdownEditorSerializeOptions = MarkdownSerializePolicy & Readonly<{\n document?: EditorDocumentValue;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/markdown:MarkdownErrorDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownErrorDiagnostic", "runtime": false, "signature": "type MarkdownErrorDiagnostic = Extract;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownFrontmatter": { "aliases": [], "documentation": "A Markdown file's leading front matter block, stored at\n`meta['markdown.frontmatter']`: its format and the text between its fences,\nwith LF line endings.", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownFrontmatter", "runtime": false, "signature": "type MarkdownFrontmatter = Readonly<{\n format: 'toml' | 'yaml';\n value: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownModelLocation": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownModelLocation", "runtime": false, "signature": "type MarkdownModelLocation = Readonly<{\n path?: readonly number[];\n property?: string;\n root?: RootKey;\n}>;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownParseLimits": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownParseLimits", "runtime": false, "signature": "type MarkdownParseLimits = Readonly<{\n maxBytes: number;\n maxDepth: number;\n maxNodes: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownParseOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownParseOptions", "runtime": false, "signature": "type MarkdownParseOptions = MarkdownParsePolicy & Readonly<{\n plugins: readonly PluginReference[];\n schema?: EditorApplicationSchema;\n}>;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownParsePolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownParsePolicy", "runtime": false, "signature": "type MarkdownParsePolicy = Readonly<{\n limits?: Partial;\n lossPolicy?: 'allow' | 'reject';\n /**\n * The source is an unfinished stream prefix, such as a streaming AI answer.\n * A trailing tag that has not finished arriving is hidden; use a final parse\n * once the stream completes.\n */\n partial?: boolean;\n}>;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "const", "name": "MarkdownPlugin", "runtime": true, "signature": "MarkdownPlugin: BasePlugin;\n readonly dataTransferFormats: true;\n readonly initialState: {\n readonly plainMarks: readonly string[] | null;\n readonly remarkPlugins: readonly (MarkdownSyncPlugin | readonly [MarkdownSyncPlugin, ...unknown[]])[];\n readonly remarkStringifyOptions: {\n readonly bulletOther?: '*' | '+' | '-' | null | undefined;\n readonly bulletOrdered?: '.' | ')' | null | undefined;\n readonly bullet?: '*' | '+' | '-' | null | undefined;\n readonly closeAtx?: boolean | null | undefined;\n readonly emphasis?: '*' | '_' | null | undefined;\n readonly fences?: boolean | null | undefined;\n readonly fence?: '`' | '~' | null | undefined;\n readonly handlers?: {\n readonly blockquote?: Handle | undefined;\n readonly break?: Handle | undefined;\n readonly code?: Handle | undefined;\n readonly definition?: Handle | undefined;\n readonly delete?: Handle | undefined;\n readonly emphasis?: Handle | undefined;\n readonly footnoteDefinition?: Handle | undefined;\n readonly footnoteReference?: Handle | undefined;\n readonly heading?: Handle | undefined;\n readonly html?: Handle | undefined;\n readonly image?: Handle | undefined;\n readonly imageReference?: Handle | undefined;\n readonly inlineCode?: Handle | undefined;\n readonly inlineMath?: Handle | undefined;\n readonly link?: Handle | undefined;\n readonly linkReference?: Handle | undefined;\n readonly list?: Handle | undefined;\n readonly listItem?: Handle | undefined;\n readonly math?: Handle | undefined;\n readonly mdxFlowExpression?: Handle | undefined;\n readonly mdxJsxFlowElement?: Handle | undefined;\n readonly mdxJsxTextElement?: Handle | undefined;\n readonly mdxTextExpression?: Handle | undefined;\n readonly mdxjsEsm?: Handle | undefined;\n readonly paragraph?: Handle | undefined;\n readonly root?: Handle | undefined;\n readonly strong?: Handle | undefined;\n readonly table?: Handle | undefined;\n readonly tableCell?: Handle | undefined;\n readonly tableRow?: Handle | undefined;\n readonly text?: Handle | undefined;\n readonly thematicBreak?: Handle | undefined;\n readonly yaml?: Handle | undefined;\n } | null | undefined;\n readonly incrementListMarker?: boolean | null | undefined;\n readonly join?: readonly Join[] | null | undefined;\n readonly listItemIndent?: 'mixed' | 'one' | 'tab' | null | undefined;\n readonly quote?: '\"' | \"'\" | null | undefined;\n readonly resourceLink?: boolean | null | undefined;\n readonly ruleRepetition?: number | null | undefined;\n readonly ruleSpaces?: boolean | null | undefined;\n readonly rule?: '*' | '-' | '_' | null | undefined;\n readonly setext?: boolean | null | undefined;\n readonly strong?: '*' | '_' | null | undefined;\n readonly tightDefinitions?: boolean | null | undefined;\n readonly unsafe?: readonly Unsafe[] | null | undefined;\n } | null;\n };\n readonly validate: true;\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownPluginState", "runtime": false, "signature": "type MarkdownPluginState = {\n /** Mark keys serialized as plain text. */\n plainMarks: readonly string[] | null;\n /** Remark plugins used for parsing and serialization. */\n remarkPlugins: readonly MarkdownSyncPluggable[];\n /** Options passed to `remark-stringify`. */\n remarkStringifyOptions: Options | null;\n};", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownSerializeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownSerializeOptions", "runtime": false, "signature": "type MarkdownSerializeOptions = MarkdownSerializePolicy & Readonly<{\n plugins: readonly PluginReference[];\n schema?: EditorApplicationSchema;\n}>;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownSerializePolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownSerializePolicy", "runtime": false, "signature": "type MarkdownSerializePolicy = Readonly<{\n lossPolicy?: 'allow' | 'reject';\n /** Mark keys written as plain text without Markdown formatting. */\n plainMarks?: readonly string[] | null;\n preserveEmptyParagraphs?: boolean;\n /**\n * Version of an authored document to export. `accepted` drops pending changes\n * and `proposed` applies them as plain content. Either choice adds an\n * `authored-lossy-projection` warning while changes are pending. Required\n * when the document has authored metadata, which every document from an\n * editor with the authored plugin carries, even with no pending change.\n * Omitting it or passing any other value then throws, and so does a valid\n * value when the editor or `plugins` lacks the authored plugin. A document\n * without authored metadata ignores it.\n */\n projection?: 'accepted' | 'proposed';\n remarkStringifyOptions?: Readonly | null;\n spread?: boolean;\n}>;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownSerializeResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownSerializeResult", "runtime": false, "signature": "type MarkdownSerializeResult = Readonly<{\n data: string;\n diagnostics: readonly MarkdownWarningDiagnostic[];\n ok: true;\n}> | Readonly<{\n diagnostics: readonly [MarkdownErrorDiagnostic, ...MarkdownDiagnostic[]];\n ok: false;\n}>;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownSliceParseResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownSliceParseResult", "runtime": false, "signature": "type MarkdownSliceParseResult = Readonly<{\n diagnostics: readonly MarkdownWarningDiagnostic[];\n ok: true;\n slice: ContentSlice;\n}> | Readonly<{\n diagnostics: readonly [MarkdownErrorDiagnostic, ...MarkdownDiagnostic[]];\n ok: false;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/markdown:MarkdownSourceLocation": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownSourceLocation", "runtime": false, "signature": "type MarkdownSourceLocation = Readonly<{\n end?: Readonly<{\n column: number;\n line: number;\n offset?: number;\n }>;\n excerpt?: string;\n nodeType?: string;\n start?: Readonly<{\n column: number;\n line: number;\n offset?: number;\n }>;\n}>;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownSyncPluggable": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownSyncPluggable", "runtime": false, "signature": "type MarkdownSyncPluggable = MarkdownSyncPlugin | readonly [MarkdownSyncPlugin, ...unknown[]];", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownSyncPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownSyncPlugin", "runtime": false, "signature": "type MarkdownSyncPlugin = (this: Processor, ...parameters: TParameters) => MarkdownSyncTransformer | void;", "source": null, "typeParameters": [ "TParameters extends readonly unknown[] = readonly never[]" ] }, "platejs/markdown:MarkdownSyncTransformer": { "aliases": [], "documentation": "A unified transformer admitted to Plate's synchronous Markdown pipeline.\n\nUnified's public transformer type includes callback and Promise forms even\nfor plugins whose implementation is synchronous. Plate accepts that\necosystem type here, then rejects callback-style and thenable behavior at\nthe runtime boundary.", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownSyncTransformer", "runtime": false, "signature": "type MarkdownSyncTransformer = Transformer;", "source": null, "typeParameters": [] }, "platejs/markdown:MarkdownWarningDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "type", "name": "MarkdownWarningDiagnostic", "runtime": false, "signature": "type MarkdownWarningDiagnostic = Extract;", "source": null, "typeParameters": [] }, "platejs/markdown:parseMarkdown": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "const", "name": "parseMarkdown", "runtime": true, "signature": "parseMarkdown: (source: string, options: MarkdownParseOptions) => MarkdownDocumentParseResult", "source": null, "typeParameters": [] }, "platejs/markdown:serializeMarkdown": { "aliases": [], "documentation": "", "entrypoint": "platejs/markdown", "kind": "const", "name": "serializeMarkdown", "runtime": true, "signature": "serializeMarkdown: (document: EditorDocumentValue, options: MarkdownSerializeOptions) => MarkdownSerializeResult", "source": null, "typeParameters": [] }, "platejs/math:BaseEquationPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/math", "kind": "const", "name": "BaseEquationPlugin", "runtime": true, "signature": "BaseEquationPlugin: BasePlugin & Readonly<{\n name: \"equation\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"\";\n readonly omitDefault: false;\n }>;\n key: \"latex\";\n localId: \"latex\";\n ownerName: \"equation\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly properties: {\n latex: PropertyStringDescriptor<{\n readonly default: \"\";\n readonly omitDefault: false;\n }>;\n };\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/math:BaseInlineEquationPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/math", "kind": "const", "name": "BaseInlineEquationPlugin", "runtime": true, "signature": "BaseInlineEquationPlugin: BasePlugin;\n key: \"latex\";\n localId: \"latex\";\n ownerName: \"inlineEquation\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly properties: {\n latex: PropertyStringDescriptor<{\n readonly default: \"\";\n readonly omitDefault: false;\n }>;\n };\n readonly void: \"inline\";\n };\n };\n readonly name: \"inlineEquation\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ latex }?: {\n latex?: string;\n }, options?: NodeInsertOptions) => void>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/math:BlockEquationElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/math", "kind": "type", "name": "BlockEquationElement", "runtime": false, "signature": "type BlockEquationElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/math:EquationElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/math", "kind": "type", "name": "EquationElement", "runtime": false, "signature": "type EquationElement = BlockEquationElement | InlineEquationElement;", "source": null, "typeParameters": [] }, "platejs/math:InlineEquationElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/math", "kind": "type", "name": "InlineEquationElement", "runtime": false, "signature": "type InlineEquationElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/math:MathRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/math", "kind": "const", "name": "MathRules", "runtime": true, "signature": "MathRules: {\n markdown: (options: (NonNullable boolean;\n priority?: number;\n }) => InsertTextInputRule<{\n deleteRange: BaseRange;\n latex: string;\n }, InternalBaseEditorWithInstalledPlugins;\n key: \"latex\";\n localId: \"latex\";\n ownerName: \"inlineEquation\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly properties: {\n latex: PropertyStringDescriptor<{\n readonly default: \"\";\n readonly omitDefault: false;\n }>;\n };\n readonly void: \"inline\";\n };\n };\n readonly name: \"inlineEquation\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ latex }?: {\n latex?: string;\n }, options?: NodeInsertOptions) => void>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider;\n key: \"latex\";\n localId: \"latex\";\n ownerName: \"inlineEquation\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly properties: {\n latex: PropertyStringDescriptor<{\n readonly default: \"\";\n readonly omitDefault: false;\n }>;\n };\n readonly void: \"inline\";\n };\n };\n readonly name: \"inlineEquation\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ latex }?: {\n latex?: string;\n }, options?: NodeInsertOptions) => void>;\n };\n }>> & Readonly>>>, readonly []>>>[0]> & {\n variant: '$';\n }) | (Parameters<({ block, enabled, fence, on, priority }: {\n enabled?: (context: SelectionInputRuleContext) => boolean;\n priority?: number;\n } & {\n block?: PluginReference$1 | string;\n fence?: string;\n on: 'break' | 'match';\n }) => InsertBreakInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference[]>> | InsertTextInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference[]>>>[0] & {\n variant: '$$';\n })) => InsertBreakInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference[]>> | InsertTextInputRule<{\n deleteRange: BaseRange;\n latex: string;\n }, InternalBaseEditorWithInstalledPlugins;\n key: \"latex\";\n localId: \"latex\";\n ownerName: \"inlineEquation\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly properties: {\n latex: PropertyStringDescriptor<{\n readonly default: \"\";\n readonly omitDefault: false;\n }>;\n };\n readonly void: \"inline\";\n };\n };\n readonly name: \"inlineEquation\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ latex }?: {\n latex?: string;\n }, options?: NodeInsertOptions) => void>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider;\n key: \"latex\";\n localId: \"latex\";\n ownerName: \"inlineEquation\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly properties: {\n latex: PropertyStringDescriptor<{\n readonly default: \"\";\n readonly omitDefault: false;\n }>;\n };\n readonly void: \"inline\";\n };\n };\n readonly name: \"inlineEquation\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ latex }?: {\n latex?: string;\n }, options?: NodeInsertOptions) => void>;\n };\n }>> & Readonly>>>, readonly []>> | InsertTextInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference[]>>;\n}", "source": null, "typeParameters": [] }, "platejs/math/react:EquationPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/math/react", "kind": "const", "name": "EquationPlugin", "runtime": true, "signature": "EquationPlugin: Plugin & Readonly<{\n name: \"equation\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly default: \"\";\n readonly omitDefault: false;\n }>;\n key: \"latex\";\n localId: \"latex\";\n ownerName: \"equation\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly properties: {\n latex: PropertyStringDescriptor<{\n readonly default: \"\";\n readonly omitDefault: false;\n }>;\n };\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/math/react:InlineEquationPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/math/react", "kind": "const", "name": "InlineEquationPlugin", "runtime": true, "signature": "InlineEquationPlugin: Plugin;\n key: \"latex\";\n localId: \"latex\";\n ownerName: \"inlineEquation\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly properties: {\n latex: PropertyStringDescriptor<{\n readonly default: \"\";\n readonly omitDefault: false;\n }>;\n };\n readonly void: \"inline\";\n };\n };\n readonly name: \"inlineEquation\";\n readonly formats: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<({ latex }?: {\n latex?: string;\n }, options?: NodeInsertOptions) => void>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/media:AlignedMediaInsertInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "AlignedMediaInsertInput", "runtime": false, "signature": "type AlignedMediaInsertInput = MediaInsertInput & {\n textAlign?: 'center' | 'left' | 'right';\n};", "source": null, "typeParameters": [] }, "platejs/media:AudioElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "AudioElement", "runtime": false, "signature": "type AudioElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/media:AudioPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "AudioPluginState", "runtime": false, "signature": "type AudioPluginState = MediaPluginState;", "source": null, "typeParameters": [] }, "platejs/media:BaseAudioPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "const", "name": "BaseAudioPlugin", "runtime": true, "signature": "BaseAudioPlugin: BasePlugin value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"audio\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"audio\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n readonly schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n readonly name: \"audio\";\n readonly api: MediaPluginApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n };\n readonly update: MediaPluginUpdate & Readonly<{\n name: \"audio\";\n }> & Readonly> & Readonly<{\n initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n };\n }> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"audio\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"audio\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>;\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/media:BaseFilePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "const", "name": "BaseFilePlugin", "runtime": true, "signature": "BaseFilePlugin: BasePlugin>;\n key: \"name\";\n localId: \"name\";\n ownerName: \"file\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"file\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"file\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n readonly schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n readonly name: PropertyStringDescriptor>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n readonly name: \"file\";\n readonly api: MediaPluginApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n };\n readonly update: MediaPluginUpdate & Readonly<{\n name: \"file\";\n }> & Readonly> & Readonly<{\n initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n };\n }> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"name\";\n localId: \"name\";\n ownerName: \"file\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"file\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"file\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n readonly name: PropertyStringDescriptor>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>;\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/media:BaseImagePlugin": { "aliases": [], "documentation": "Enables support for images.", "entrypoint": "platejs/media", "kind": "const", "name": "BaseImagePlugin", "runtime": true, "signature": "BaseImagePlugin: BasePlugin>;\n key: \"alt\";\n localId: \"alt\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"naturalHeight\";\n localId: \"naturalHeight\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"naturalWidth\";\n localId: \"naturalWidth\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"title\";\n localId: \"title\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n readonly schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n readonly alt: PropertyStringDescriptor>;\n readonly naturalHeight: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n readonly naturalWidth: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n readonly title: PropertyStringDescriptor>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n readonly name: \"image\";\n readonly api: {\n insertUrl: (getUrl: () => string | null | undefined | Promise, options?: BlockInsertOptions & {\n caption?: MediaInsertInput['caption'];\n }) => Promise;\n normalizeUrl: (url: string) => MediaUrlProperties | undefined;\n };\n readonly commands: true;\n readonly contributions: true;\n readonly formats: true;\n readonly initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n readonly disableEmbedInsert: boolean;\n };\n readonly update: {\n insert: TxDeclaredMethod<(input: ImageInsertInput, options?: BlockInsertOptions) => boolean>;\n setUrl: TxDeclaredMethod<(input: {\n element: Element;\n url: string;\n }) => boolean>;\n upsert: TxDeclaredMethod<(input: ImageInsertInput, options?: BlockUpsertOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/media:BaseMediaEmbedPlugin": { "aliases": [], "documentation": "Enables support for embeddable media such as YouTube or Vimeo videos,\nInstagram posts and tweets or Google Maps.", "entrypoint": "platejs/media", "kind": "const", "name": "BaseMediaEmbedPlugin", "runtime": true, "signature": "BaseMediaEmbedPlugin: BasePlugin>;\n key: \"provider\";\n localId: \"provider\";\n ownerName: \"mediaEmbed\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"sourceUrl\";\n localId: \"sourceUrl\";\n ownerName: \"mediaEmbed\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"mediaEmbed\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"mediaEmbed\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n readonly schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n readonly provider: PropertyStringDescriptor>;\n readonly sourceUrl: PropertyStringDescriptor<{\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n readonly name: \"mediaEmbed\";\n readonly api: {\n insertUrl: (getUrl: () => string | null | undefined | Promise, options?: BlockInsertOptions & {\n caption?: MediaInsertInput['caption'];\n }) => Promise;\n normalizeUrl: (url: string) => MediaUrlProperties | undefined;\n };\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) & ((url: string) => string);\n };\n readonly update: {\n insert: TxDeclaredMethod<(input: ProviderMediaInsertInput, options?: BlockInsertOptions) => boolean>;\n setUrl: TxDeclaredMethod<(input: {\n element: Element;\n url: string;\n }) => boolean>;\n upsert: TxDeclaredMethod<(input: ProviderMediaInsertInput, options?: BlockUpsertOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/media:BaseVideoPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "const", "name": "BaseVideoPlugin", "runtime": true, "signature": "BaseVideoPlugin: BasePlugin>;\n key: \"provider\";\n localId: \"provider\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"sourceUrl\";\n localId: \"sourceUrl\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n readonly schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n readonly provider: PropertyStringDescriptor>;\n readonly sourceUrl: PropertyStringDescriptor<{\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n readonly name: \"video\";\n readonly api: MediaPluginApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n };\n readonly update: MediaPluginUpdate & Readonly<{\n name: \"video\";\n }> & Readonly> & Readonly<{\n initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n };\n }> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"provider\";\n localId: \"provider\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"sourceUrl\";\n localId: \"sourceUrl\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n readonly provider: PropertyStringDescriptor>;\n readonly sourceUrl: PropertyStringDescriptor<{\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>;\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/media:defineMediaPlugin": { "aliases": [], "documentation": "Installs direct-caption editing, URL normalization, and media construction.", "entrypoint": "platejs/media", "kind": "function", "name": "defineMediaPlugin", "runtime": true, "signature": "declare function defineMediaPlugin(kind: MediaUrlKind, normalizeUrlInput?: (state: Readonly, url: string) => MediaUrlProperties): (context: BasePluginContext) => {\n api: (context: BasePluginContext) => MediaPluginApi;\n commands: NonNullable['commands']>;\n update: (context: BasePluginContext & {\n context: EditorUpdateContext;\n tx: PluginTransaction;\n }) => MediaPluginUpdate;\n};", "source": null, "typeParameters": [ "const C extends MediaElementPluginDefinition" ] }, "platejs/media:EmbedUrlData": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "EmbedUrlData", "runtime": false, "signature": "type EmbedUrlData = {\n id?: string;\n provider?: string;\n sourceKind?: 'allowlisted_snippet' | 'iframe' | 'url';\n sourceUrl?: string;\n url?: string;\n};", "source": null, "typeParameters": [] }, "platejs/media:EmbedUrlParser": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "EmbedUrlParser", "runtime": false, "signature": "type EmbedUrlParser = (url: string) => EmbedUrlData | undefined;", "source": null, "typeParameters": [] }, "platejs/media:FileElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "FileElement", "runtime": false, "signature": "type FileElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/media:FileInsertInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "FileInsertInput", "runtime": false, "signature": "type FileInsertInput = MediaInsertInput & {\n name?: string;\n};", "source": null, "typeParameters": [] }, "platejs/media:FilePluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "FilePluginState", "runtime": false, "signature": "type FilePluginState = MediaPluginState;", "source": null, "typeParameters": [] }, "platejs/media:ImageDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "ImageDefinition", "runtime": false, "signature": "type ImageDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/media:ImageElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "ImageElement", "runtime": false, "signature": "type ImageElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/media:ImageInsertInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "ImageInsertInput", "runtime": false, "signature": "type ImageInsertInput = AlignedMediaInsertInput & {\n alt?: string;\n naturalHeight?: number;\n naturalWidth?: number;\n};", "source": null, "typeParameters": [] }, "platejs/media:ImagePluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "ImagePluginState", "runtime": false, "signature": "type ImagePluginState = {\n /** Disable url embed on insert data. */\n disableEmbedInsert: boolean;\n} & MediaPluginState;", "source": null, "typeParameters": [] }, "platejs/media:mediaElementProperties": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "const", "name": "mediaElementProperties", "runtime": true, "signature": "mediaElementProperties: {\n width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n}", "source": null, "typeParameters": [] }, "platejs/media:MediaEmbedDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "MediaEmbedDefinition", "runtime": false, "signature": "type MediaEmbedDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/media:MediaEmbedElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "MediaEmbedElement", "runtime": false, "signature": "type MediaEmbedElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/media:MediaEmbedPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "MediaEmbedPluginState", "runtime": false, "signature": "type MediaEmbedPluginState = MediaPluginState & {\n transformUrl: (url: string) => string;\n};", "source": null, "typeParameters": [] }, "platejs/media:MediaInsertInput": { "aliases": [], "documentation": "Construction input shared by scoped media insert commands.", "entrypoint": "platejs/media", "kind": "type", "name": "MediaInsertInput", "runtime": false, "signature": "type MediaInsertInput = {\n url: string;\n /**\n * Initial caption content compiled into the media element's direct children.\n * This construction-only field is never persisted.\n */\n caption?: string | readonly Descendant[];\n id?: string;\n width?: number | string;\n};", "source": null, "typeParameters": [] }, "platejs/media:MediaPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "MediaPluginState", "runtime": false, "signature": "type MediaPluginState = {\n isUrl: ((text: string) => boolean) | null;\n /** Transforms the url. */\n transformUrl: ((url: string) => string) | null;\n};", "source": null, "typeParameters": [] }, "platejs/media:MediaUrlKind": { "aliases": [], "documentation": "What a media URL loads: an image, audio or video, a file download, or an\nembedded page. Insertion refuses a URL its kind cannot load.", "entrypoint": "platejs/media", "kind": "type", "name": "MediaUrlKind", "runtime": false, "signature": "type MediaUrlKind = 'embed' | 'file' | 'image' | 'media';", "source": null, "typeParameters": [] }, "platejs/media:MediaUrlProperties": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "MediaUrlProperties", "runtime": false, "signature": "type MediaUrlProperties = {\n url: string;\n provider?: string;\n sourceUrl?: string;\n};", "source": null, "typeParameters": [] }, "platejs/media:parseIframeUrl": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "const", "name": "parseIframeUrl", "runtime": true, "signature": "parseIframeUrl: (url: string) => string", "source": null, "typeParameters": [] }, "platejs/media:parseMediaUrl": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "const", "name": "parseMediaUrl", "runtime": true, "signature": "parseMediaUrl: (url: string, { urlParsers }: {\n urlParsers: EmbedUrlParser[];\n}) => EmbedUrlData | undefined", "source": null, "typeParameters": [] }, "platejs/media:parseTwitterUrl": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "const", "name": "parseTwitterUrl", "runtime": true, "signature": "parseTwitterUrl: (url: string) => EmbedUrlData | undefined", "source": null, "typeParameters": [] }, "platejs/media:parseVideoUrl": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "const", "name": "parseVideoUrl", "runtime": true, "signature": "parseVideoUrl: (url: string) => EmbedUrlData | undefined", "source": null, "typeParameters": [] }, "platejs/media:ProviderMediaInsertInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "ProviderMediaInsertInput", "runtime": false, "signature": "type ProviderMediaInsertInput = AlignedMediaInsertInput & {\n provider?: string;\n sourceUrl?: string;\n};", "source": null, "typeParameters": [] }, "platejs/media:ResizableElement": { "aliases": [], "documentation": "Any element that carries the media width capability.", "entrypoint": "platejs/media", "kind": "type", "name": "ResizableElement", "runtime": false, "signature": "type ResizableElement = ElementWith>;", "source": null, "typeParameters": [] }, "platejs/media:VIDEO_PROVIDERS": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "const", "name": "VIDEO_PROVIDERS", "runtime": true, "signature": "VIDEO_PROVIDERS: string[]", "source": null, "typeParameters": [] }, "platejs/media:VideoElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "VideoElement", "runtime": false, "signature": "type VideoElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/media:VideoPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/media", "kind": "type", "name": "VideoPluginState", "runtime": false, "signature": "type VideoPluginState = MediaPluginState;", "source": null, "typeParameters": [] }, "platejs/media/react:AudioPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/media/react", "kind": "const", "name": "AudioPlugin", "runtime": true, "signature": "AudioPlugin: Plugin value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"audio\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"audio\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n readonly schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n readonly name: \"audio\";\n readonly api: {\n insertUrl: (getUrl: () => string | null | undefined | Promise, options?: BlockInsertOptions & {\n caption?: MediaInsertInput['caption'];\n }) => Promise;\n normalizeUrl: (url: string) => MediaUrlProperties | undefined;\n };\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n };\n readonly update: {\n insert: TxDeclaredMethod<(input: AlignedMediaInsertInput, options?: BlockInsertOptions) => boolean>;\n setUrl: TxDeclaredMethod<(input: {\n element: Element;\n url: string;\n }) => boolean>;\n upsert: TxDeclaredMethod<(input: AlignedMediaInsertInput, options?: BlockUpsertOptions) => boolean>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/media/react:FilePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/media/react", "kind": "const", "name": "FilePlugin", "runtime": true, "signature": "FilePlugin: Plugin>;\n key: \"name\";\n localId: \"name\";\n ownerName: \"file\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"file\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"file\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n readonly schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n readonly name: PropertyStringDescriptor>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n readonly name: \"file\";\n readonly api: {\n insertUrl: (getUrl: () => string | null | undefined | Promise, options?: BlockInsertOptions & {\n caption?: MediaInsertInput['caption'];\n }) => Promise;\n normalizeUrl: (url: string) => MediaUrlProperties | undefined;\n };\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n };\n readonly update: {\n insert: TxDeclaredMethod<(input: FileInsertInput, options?: BlockInsertOptions) => boolean>;\n setUrl: TxDeclaredMethod<(input: {\n element: Element;\n url: string;\n }) => boolean>;\n upsert: TxDeclaredMethod<(input: FileInsertInput, options?: BlockUpsertOptions) => boolean>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/media/react:ImagePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/media/react", "kind": "const", "name": "ImagePlugin", "runtime": true, "signature": "ImagePlugin: Plugin>;\n key: \"alt\";\n localId: \"alt\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"naturalHeight\";\n localId: \"naturalHeight\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"naturalWidth\";\n localId: \"naturalWidth\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"title\";\n localId: \"title\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"image\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n readonly schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n readonly alt: PropertyStringDescriptor>;\n readonly naturalHeight: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n readonly naturalWidth: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n readonly title: PropertyStringDescriptor>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n readonly name: \"image\";\n readonly api: {\n insertUrl: (getUrl: () => string | null | undefined | Promise, options?: BlockInsertOptions & {\n caption?: MediaInsertInput['caption'];\n }) => Promise;\n normalizeUrl: (url: string) => MediaUrlProperties | undefined;\n };\n readonly commands: true;\n readonly contributions: true;\n readonly formats: true;\n readonly initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n readonly disableEmbedInsert: boolean;\n };\n readonly update: {\n insert: TxDeclaredMethod<(input: ImageInsertInput, options?: BlockInsertOptions) => boolean>;\n setUrl: TxDeclaredMethod<(input: {\n element: Element;\n url: string;\n }) => boolean>;\n upsert: TxDeclaredMethod<(input: ImageInsertInput, options?: BlockUpsertOptions) => boolean>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/media/react:MediaEmbedPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/media/react", "kind": "const", "name": "MediaEmbedPlugin", "runtime": true, "signature": "MediaEmbedPlugin: Plugin>;\n key: \"provider\";\n localId: \"provider\";\n ownerName: \"mediaEmbed\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"sourceUrl\";\n localId: \"sourceUrl\";\n ownerName: \"mediaEmbed\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"mediaEmbed\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"mediaEmbed\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n readonly schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n readonly provider: PropertyStringDescriptor>;\n readonly sourceUrl: PropertyStringDescriptor<{\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n readonly name: \"mediaEmbed\";\n readonly api: {\n insertUrl: (getUrl: () => string | null | undefined | Promise, options?: BlockInsertOptions & {\n caption?: MediaInsertInput['caption'];\n }) => Promise;\n normalizeUrl: (url: string) => MediaUrlProperties | undefined;\n };\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) & ((url: string) => string);\n };\n readonly update: {\n insert: TxDeclaredMethod<(input: ProviderMediaInsertInput, options?: BlockInsertOptions) => boolean>;\n setUrl: TxDeclaredMethod<(input: {\n element: Element;\n url: string;\n }) => boolean>;\n upsert: TxDeclaredMethod<(input: ProviderMediaInsertInput, options?: BlockUpsertOptions) => boolean>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/media/react:MediaPlugin": { "aliases": [], "documentation": "Exact React media descriptors accepted by shared media controls.", "entrypoint": "platejs/media/react", "kind": "type", "name": "MediaPlugin", "runtime": false, "signature": "type MediaPlugin = typeof AudioPlugin | typeof FilePlugin | typeof ImagePlugin | typeof MediaEmbedPlugin | typeof VideoPlugin;", "source": null, "typeParameters": [] }, "platejs/media/react:VideoPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/media/react", "kind": "const", "name": "VideoPlugin", "runtime": true, "signature": "VideoPlugin: Plugin>;\n key: \"provider\";\n localId: \"provider\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"sourceUrl\";\n localId: \"sourceUrl\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n key: \"width\";\n localId: \"width\";\n ownerName: \"video\";\n placement: \"element\";\n unaliased: true;\n value: string | number;\n }>;\n readonly schema: {\n readonly element: Readonly<{\n readonly object: true;\n readonly properties: {\n readonly width: PropertyJsonDescriptor value is number | string;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: string | number | undefined;\n generate?: (() => string | number) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is string | number;\n validationVersion: number;\n }>>;\n readonly url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n readonly provider: PropertyStringDescriptor>;\n readonly sourceUrl: PropertyStringDescriptor<{\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n } & {\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n readonly name: \"video\";\n readonly api: {\n insertUrl: (getUrl: () => string | null | undefined | Promise, options?: BlockInsertOptions & {\n caption?: MediaInsertInput['caption'];\n }) => Promise;\n normalizeUrl: (url: string) => MediaUrlProperties | undefined;\n };\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly isUrl: ((text: string) => boolean) | null;\n readonly transformUrl: ((url: string) => string) | null;\n };\n readonly update: {\n insert: TxDeclaredMethod<(input: ProviderMediaInsertInput, options?: BlockInsertOptions) => boolean>;\n setUrl: TxDeclaredMethod<(input: {\n element: Element;\n url: string;\n }) => boolean>;\n upsert: TxDeclaredMethod<(input: ProviderMediaInsertInput, options?: BlockUpsertOptions) => boolean>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/mention:BaseMentionPlugin": { "aliases": [], "documentation": "Enables support for autocompleting", "entrypoint": "platejs/mention", "kind": "const", "name": "BaseMentionPlugin", "runtime": true, "signature": "BaseMentionPlugin: BasePlugin & Readonly<{\n name: \"mention\";\n}> & Readonly> & Readonly<{\n initialState: {\n readonly trigger: readonly string[] | RegExp | string;\n readonly triggerPreviousCharPattern: RegExp | null;\n readonly triggerQuery: ((editor: ComboboxEditor) => boolean) | null;\n readonly maxQueryLength: number;\n readonly queryPattern: RegExp | null;\n readonly insertSpaceAfterMention: boolean;\n };\n}> & Readonly<{\n update: {\n readonly insert: TxDeclaredMethod<({ label, ref }: {\n ref: string;\n label?: string;\n }, options?: NodeInsertOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"label\";\n localId: \"label\";\n ownerName: \"mention\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: typeof isNonBlankRef;\n readonly validationVersion: 1;\n }>;\n key: \"ref\";\n localId: \"ref\";\n ownerName: \"mention\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly properties: {\n label: PropertyStringDescriptor>;\n ref: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: typeof isNonBlankRef;\n readonly validationVersion: 1;\n }>;\n };\n readonly void: \"markable-inline\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/mention:MentionDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/mention", "kind": "type", "name": "MentionDefinition", "runtime": false, "signature": "type MentionDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/mention:MentionElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/mention", "kind": "type", "name": "MentionElement", "runtime": false, "signature": "type MentionElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/mention:MentionPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/mention", "kind": "type", "name": "MentionPluginState", "runtime": false, "signature": "type MentionPluginState = ComboboxState & {\n insertSpaceAfterMention: boolean;\n};", "source": null, "typeParameters": [] }, "platejs/mention:TMentionItemBase": { "aliases": [], "documentation": "", "entrypoint": "platejs/mention", "kind": "type", "name": "TMentionItemBase", "runtime": false, "signature": "type TMentionItemBase = {\n label: string;\n ref: TRef;\n};", "source": null, "typeParameters": [ "TRef = string" ] }, "platejs/mention/react:MentionPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/mention/react", "kind": "const", "name": "MentionPlugin", "runtime": true, "signature": "MentionPlugin: Plugin & Readonly<{\n name: \"mention\";\n}> & Readonly> & Readonly<{\n initialState: {\n readonly trigger: readonly string[] | RegExp | string;\n readonly triggerPreviousCharPattern: RegExp | null;\n readonly triggerQuery: ((editor: ComboboxEditor) => boolean) | null;\n readonly maxQueryLength: number;\n readonly queryPattern: RegExp | null;\n readonly insertSpaceAfterMention: boolean;\n };\n}> & Readonly<{\n update: {\n readonly insert: TxDeclaredMethod<({ label, ref }: {\n ref: string;\n label?: string;\n }, options?: NodeInsertOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"label\";\n localId: \"label\";\n ownerName: \"mention\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"ref\";\n localId: \"ref\";\n ownerName: \"mention\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly element: {\n readonly properties: {\n label: PropertyStringDescriptor>;\n ref: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n readonly void: \"markable-inline\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/migrations:ClosedMigrationDocument": { "aliases": [], "documentation": "A migration document admits only `children`, `meta`, `roots` and `records`;\nany other key fails to compile with a message naming the `legacy` channel.", "entrypoint": "platejs/migrations", "kind": "type", "name": "ClosedMigrationDocument", "runtime": false, "signature": "type ClosedMigrationDocument = { readonly [TKey in keyof TDocument]: TKey extends keyof EditorDocumentValue ? TDocument[TKey] : `Return top-level field \"${TKey & string}\" in legacy`; };", "source": null, "typeParameters": [ "TDocument" ] }, "platejs/migrations:defineDocumentMigrations": { "aliases": [], "documentation": "Compile one named current target and its exact historical migration chain.", "entrypoint": "platejs/migrations", "kind": "const", "name": "defineDocumentMigrations", "runtime": true, "signature": "defineDocumentMigrations: (options: Readonly<{\n plugins: TPlugins;\n schema: TSchema;\n sourceFingerprints?: Readonly>;\n steps: TSteps;\n}> & MigrationClosure & MigrationContinuity) => DocumentMigrations", "source": null, "typeParameters": [] }, "platejs/migrations:DocumentMigration": { "aliases": [], "documentation": "", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigration", "runtime": false, "signature": "type DocumentMigration = EditorDocumentValue, ToDocument extends EditorDocumentValue & ClosedMigrationDocument = EditorDocumentValue, FromVersion extends number = number, ToVersion extends number = number> = {\n bivarianceHack(context: DocumentMigrationContext): DocumentMigrationStepResult;\n}['bivarianceHack'];", "source": null, "typeParameters": [ "FromDocument extends EditorDocumentValue & ClosedMigrationDocument = EditorDocumentValue", "ToDocument extends EditorDocumentValue & ClosedMigrationDocument = EditorDocumentValue", "FromVersion extends number = number", "ToVersion extends number = number" ] }, "platejs/migrations:DocumentMigrationContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigrationContext", "runtime": false, "signature": "type DocumentMigrationContext = EditorDocumentValue, FromVersion extends number = number, ToVersion extends number = number> = Readonly<{\n document: DeepReadonly;\n from: FromVersion;\n /** Legacy top-level fields no earlier step lifted. */\n legacy: DocumentMigrationLegacy;\n target: DocumentMigrationTarget;\n to: ToVersion;\n}>;", "source": null, "typeParameters": [ "FromDocument extends EditorDocumentValue & ClosedMigrationDocument = EditorDocumentValue", "FromVersion extends number = number", "ToVersion extends number = number" ] }, "platejs/migrations:DocumentMigrationLegacy": { "aliases": [], "documentation": "Stored top-level fields outside `children`, `meta`, `roots` and `records`.", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigrationLegacy", "runtime": false, "signature": "type DocumentMigrationLegacy = Readonly>;", "source": null, "typeParameters": [] }, "platejs/migrations:DocumentMigrationRanges": { "aliases": [], "documentation": "Saved ranges by thread id. A range's points name the root it covers, and a\npoint that names none is in the primary root.", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigrationRanges", "runtime": false, "signature": "type DocumentMigrationRanges = Readonly>;", "source": null, "typeParameters": [] }, "platejs/migrations:DocumentMigrationRangesContext": { "aliases": [], "documentation": "The ranges still mapped before a step, in order, each in the root it names.", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigrationRangesContext", "runtime": false, "signature": "type DocumentMigrationRangesContext = Readonly<{\n ranges: readonly Range[];\n}>;", "source": null, "typeParameters": [] }, "platejs/migrations:DocumentMigrationResult": { "aliases": [], "documentation": "The migrated envelope, plus the mapped ranges when `ranges` was passed.", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigrationResult", "runtime": false, "signature": "type DocumentMigrationResult = Readonly<{\n applied: readonly number[];\n output: PersistedDocumentInput;\n source: number;\n}> & (undefined extends TRanges ? unknown : Readonly<{\n ranges: MigratedDocumentRanges;\n}>);", "source": null, "typeParameters": [ "TRanges extends DocumentMigrationRanges | undefined = undefined" ] }, "platejs/migrations:DocumentMigrations": { "aliases": [], "documentation": "Opaque, precompiled migration definition.", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigrations", "runtime": false, "signature": "type DocumentMigrations = Readonly<{\n [documentMigrationsBrand]: true;\n id: TId;\n sourceFingerprints: Readonly>;\n steps: TSteps;\n version: TVersion;\n}>;", "source": null, "typeParameters": [ "TSteps extends DocumentMigrationSteps = DocumentMigrationSteps", "TId extends string = string", "TVersion extends number = number" ] }, "platejs/migrations:DocumentMigrationSchema": { "aliases": [], "documentation": "", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigrationSchema", "runtime": false, "signature": "type DocumentMigrationSchema = Pick;", "source": null, "typeParameters": [] }, "platejs/migrations:DocumentMigrationSelectionContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigrationSelectionContext", "runtime": false, "signature": "type DocumentMigrationSelectionContext = Readonly<{\n mappedSelection: Selection;\n selection: Exclude;\n}>;", "source": null, "typeParameters": [] }, "platejs/migrations:DocumentMigrationStepResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigrationStepResult", "runtime": false, "signature": "type DocumentMigrationStepResult = EditorDocumentValue> = Readonly<{\n document: ToDocument;\n /** Legacy fields left to lift. Omitted, the step's input passes on. */\n legacy?: DocumentMigrationLegacy;\n /**\n * Map every range in one call, returning one range or `null` per range in\n * order. A returned range keeps its input's root, or it maps to `null`.\n * Omitted, every range maps to `null` when the step changes the document.\n */\n mapRanges?: (context: DocumentMigrationRangesContext) => ReadonlyArray;\n mapSelection?: (context: DocumentMigrationSelectionContext) => Selection;\n}>;", "source": null, "typeParameters": [ "ToDocument extends EditorDocumentValue & ClosedMigrationDocument = EditorDocumentValue" ] }, "platejs/migrations:DocumentMigrationTarget": { "aliases": [], "documentation": "Immutable current-schema facts available to historical migration steps.", "entrypoint": "platejs/migrations", "kind": "type", "name": "DocumentMigrationTarget", "runtime": false, "signature": "type DocumentMigrationTarget = Readonly<{\n schema: DocumentMigrationSchema;\n}>;", "source": null, "typeParameters": [] }, "platejs/migrations:extractLegacyCommentRanges": { "aliases": [], "documentation": "Extracts legacy document comment marks for an offline application migration.\nThe returned document contains no live comment compatibility properties, and\neach range points into it, so pass both to one `migrateDocument` call.", "entrypoint": "platejs/migrations", "kind": "const", "name": "extractLegacyCommentRanges", "runtime": true, "signature": "extractLegacyCommentRanges: (document: readonly Descendant[], options?: ExtractLegacyCommentRangesOptions) => ExtractLegacyCommentRangesResult", "source": null, "typeParameters": [] }, "platejs/migrations:ExtractLegacyCommentRangesOptions": { "aliases": [], "documentation": "Stored thread ids, so a marked id without a thread is reported.", "entrypoint": "platejs/migrations", "kind": "type", "name": "ExtractLegacyCommentRangesOptions", "runtime": false, "signature": "type ExtractLegacyCommentRangesOptions = Readonly<{\n threadIds?: readonly string[] | ReadonlySet;\n}>;", "source": null, "typeParameters": [] }, "platejs/migrations:ExtractLegacyCommentRangesResult": { "aliases": [], "documentation": "The sanitized document, one range per thread id into it, ready for\n`migrateDocument`'s `ranges`, and every mark problem found.", "entrypoint": "platejs/migrations", "kind": "type", "name": "ExtractLegacyCommentRangesResult", "runtime": false, "signature": "type ExtractLegacyCommentRangesResult = Readonly<{\n document: readonly Descendant[];\n ranges: Readonly>;\n report: readonly LegacyCommentReportRow[];\n}>;", "source": null, "typeParameters": [] }, "platejs/migrations:LegacyCommentReportRow": { "aliases": [], "documentation": "One problem the extractor found in a thread's legacy comment marks.", "entrypoint": "platejs/migrations", "kind": "type", "name": "LegacyCommentReportRow", "runtime": false, "signature": "type LegacyCommentReportRow = Readonly<{\n code: 'anonymous-comment';\n path: Path;\n}> | Readonly<{\n code: 'draft-only';\n path: Path;\n}> | Readonly<{\n code: 'invalid-range';\n id: string;\n path: Path;\n reason: 'caption-text' | 'empty-text' | 'non-boolean-mark' | 'non-text-node';\n}> | Readonly<{\n code: 'missing-thread';\n id: string;\n}> | Readonly<{\n code: 'orphan-id';\n id: string;\n path: Path;\n}> |\n/** Unmarked visible text split the thread into these ranges, in order. */\nReadonly<{\n code: 'split-group';\n id: string;\n ranges: readonly Range[];\n}>;", "source": null, "typeParameters": [] }, "platejs/migrations:MigratedDocumentRanges": { "aliases": [], "documentation": "Migrated ranges by thread id; `null` when the text a range covered is gone,\na step put its ends in the opposite order, or the range collapsed, covers no\ntext or points outside the input document.", "entrypoint": "platejs/migrations", "kind": "type", "name": "MigratedDocumentRanges", "runtime": false, "signature": "type MigratedDocumentRanges = Readonly>;", "source": null, "typeParameters": [] }, "platejs/migrations:migrateDocument": { "aliases": [], "documentation": "Convert one external document into the definition's exact current envelope,\nmapping `ranges`, keyed by thread id, through every step and the final fit.", "entrypoint": "platejs/migrations", "kind": "const", "name": "migrateDocument", "runtime": true, "signature": "migrateDocument: (input: TInput, options: MigrationOptions, TRanges>) => DocumentMigrationResult", "source": null, "typeParameters": [] }, "platejs/migrations:migrateListIdentity": { "aliases": [], "documentation": "Give every list item a stored `listId`, so a document saved before list\nidentity keeps its numbers once numbering follows ids. A list there was a\nrun of sibling items of one kind, style and heading role at one indent,\nwalking past deeper blocks and ending at any other block at that indent or\nabove. An item without an id takes the nearest id held before it in its run,\nelse the run's first held id, else one fresh id for the run. Running the\nstep again changes nothing.", "entrypoint": "platejs/migrations", "kind": "const", "name": "migrateListIdentity", "runtime": true, "signature": "migrateListIdentity: DocumentMigration", "source": null, "typeParameters": [] }, "platejs/migrations:migrateV54": { "aliases": [], "documentation": "Upgrade the frozen first-party Plate v53 document profile to v54. Links and\nmedia whose stored URL the current schema rejects keep their label, caption,\nalt text or file name as ordinary content.", "entrypoint": "platejs/migrations", "kind": "const", "name": "migrateV54", "runtime": true, "signature": "migrateV54: PlateV54Migration", "source": null, "typeParameters": [] }, "platejs/migrations:PlateV54Migration": { "aliases": [], "documentation": "", "entrypoint": "platejs/migrations", "kind": "type", "name": "PlateV54Migration", "runtime": false, "signature": "type PlateV54Migration = (context: DocumentMigrationContext) => DocumentMigrationStepResult;", "source": null, "typeParameters": [] }, "platejs/pagination:createEstimatedPageLayoutEngine": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "const", "name": "createEstimatedPageLayoutEngine", "runtime": true, "signature": "createEstimatedPageLayoutEngine: () => PageLayoutEngine", "source": null, "typeParameters": [] }, "platejs/pagination:createPretextPageLayoutEngine": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "const", "name": "createPretextPageLayoutEngine", "runtime": true, "signature": "createPretextPageLayoutEngine: ({ estimateBlock, maxPreparedEntries, whiteSpace, wordBreak }?: PretextPageLayoutEngineOptions) => PageLayoutEngine", "source": null, "typeParameters": [] }, "platejs/pagination:measurePages": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "const", "name": "measurePages", "runtime": true, "signature": "measurePages: (editor: Editor, options: MeasurePagesOptions, NoInfer>>>) => PageLayoutSnapshot", "source": null, "typeParameters": [] }, "platejs/pagination:MeasurePagesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "MeasurePagesOptions", "runtime": false, "signature": "type MeasurePagesOptions = PaginationInputs & Readonly<{\n engine: PageLayoutEngine;\n root?: NamedRootKey;\n}>;", "source": null, "typeParameters": [ "TElement extends Element = Element" ] }, "platejs/pagination:NodeFragmentationPlan": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "NodeFragmentationPlan", "runtime": false, "signature": "type NodeFragmentationPlan = Readonly<{\n keepTogether?: boolean;\n type: 'text';\n}> | Readonly<{\n size: PageLayoutSize;\n type: 'atomic';\n}> | Readonly<{\n sizes: readonly PageLayoutSize[];\n type: 'direct-children';\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:NodeFragmentationProvider": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "NodeFragmentationProvider", "runtime": false, "signature": "type NodeFragmentationProvider = (context: {\n content: PageLayoutSize;\n element: TElement;\n path: Path;\n}) => NodeFragmentationPlan | undefined;", "source": null, "typeParameters": [ "TElement extends Element = Element" ] }, "platejs/pagination:PageLayoutBlock": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutBlock", "runtime": false, "signature": "type PageLayoutBlock = Readonly<{\n path: Path;\n spacingAfter: number;\n} & ({\n keepTogether: boolean;\n lineHeight: number;\n runs: readonly PageLayoutRun[];\n type: 'text';\n} | {\n size: PageLayoutSize;\n type: 'atomic';\n} | {\n children: ReadonlyArray>;\n type: 'direct-children';\n})>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutBlockStyle": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutBlockStyle", "runtime": false, "signature": "type PageLayoutBlockStyle = Readonly<{\n blockSpacing?: number;\n lineHeight: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutEngine": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutEngine", "runtime": false, "signature": "type PageLayoutEngine = Readonly<{\n compose: (input: PageLayoutEngineInput) => PageLayoutEngineOutput;\n invalidate?: () => void;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutEngineInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutEngineInput", "runtime": false, "signature": "type PageLayoutEngineInput = Readonly<{\n blocks: readonly PageLayoutBlock[];\n page: PageLayoutPage;\n settings: PageSettings;\n version: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutEngineOutput": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutEngineOutput", "runtime": false, "signature": "type PageLayoutEngineOutput = Pick;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutFragment": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutFragment", "runtime": false, "signature": "type PageLayoutFragment = Readonly<{\n pageIndex: number;\n path: Path;\n rect: PageRect;\n} & ({\n lines: ReadonlyArray>;\n source: Range;\n }>>;\n type: 'text';\n} | {\n type: 'atomic';\n} | {\n children: ReadonlyArray>;\n type: 'direct-children';\n})>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutMode": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutMode", "runtime": false, "signature": "type PageLayoutMode = 'single' | 'spread';", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutPage": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutPage", "runtime": false, "signature": "type PageLayoutPage = Readonly<{\n content: PageRect;\n height: number;\n index: number;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutRun": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutRun", "runtime": false, "signature": "type PageLayoutRun = Readonly<{\n source: Range;\n text: string;\n textStyle: PageLayoutTextStyle;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutSize": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutSize", "runtime": false, "signature": "type PageLayoutSize = Readonly<{\n height: number;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutSnapshot": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutSnapshot", "runtime": false, "signature": "type PageLayoutSnapshot = Readonly<{\n fragments: readonly PageLayoutFragment[];\n pages: readonly PageLayoutPage[];\n root?: NamedRootKey;\n settings: PageSettings;\n version: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutTextStyle": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutTextStyle", "runtime": false, "signature": "type PageLayoutTextStyle = Readonly<{\n font: string;\n letterSpacing?: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageLayoutTypography": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageLayoutTypography", "runtime": false, "signature": "type PageLayoutTypography = Readonly<{\n block?: (context: {\n element: TElement;\n path: Path;\n }) => PageLayoutBlockStyle;\n text?: (context: {\n element: TElement;\n leaf: TextOf;\n path: Path;\n }) => PageLayoutTextStyle;\n}>;", "source": null, "typeParameters": [ "TElement extends Element = Element" ] }, "platejs/pagination:PageMargins": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageMargins", "runtime": false, "signature": "type PageMargins = number | Readonly<{\n bottom: number;\n left: number;\n right: number;\n top: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PagePreset": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PagePreset", "runtime": false, "signature": "type PagePreset = 'a4' | 'letter';", "source": null, "typeParameters": [] }, "platejs/pagination:PageRect": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageRect", "runtime": false, "signature": "type PageRect = Readonly<{\n height: number;\n left: number;\n top: number;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageSettings": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageSettings", "runtime": false, "signature": "type PageSettings = Readonly<{\n margins: PageMargins;\n preset: PagePreset;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:pageSettingsCodec": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "const", "name": "pageSettingsCodec", "runtime": true, "signature": "pageSettingsCodec: Readonly<{\n decode: typeof decodePageSettings;\n encode: (value: PageSettings) => PageSettingsJson;\n}>", "source": null, "typeParameters": [] }, "platejs/pagination:PageSettingsJson": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageSettingsJson", "runtime": false, "signature": "type PageSettingsJson = Readonly<{\n [key: string]: EditorJsonValue;\n margins: number | Readonly<{\n bottom: number;\n left: number;\n right: number;\n top: number;\n }>;\n preset: PagePreset;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination:PageSettingsSource": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PageSettingsSource", "runtime": false, "signature": "type PageSettingsSource = EditorStateField | TSettings;", "source": null, "typeParameters": [ "TSettings extends PageSettings = PageSettings" ] }, "platejs/pagination:PretextPageLayoutEngineOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination", "kind": "type", "name": "PretextPageLayoutEngineOptions", "runtime": false, "signature": "type PretextPageLayoutEngineOptions = Readonly<{\n estimateBlock?: (context: {\n block: PageLayoutBlock;\n blockIndex: number;\n page: PageLayoutPage;\n settings: PageSettings;\n }) => boolean;\n maxPreparedEntries?: number;\n whiteSpace?: 'normal' | 'pre-wrap';\n wordBreak?: 'keep-all' | 'normal';\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:createEstimatedPageLayoutEngine": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "const", "name": "createEstimatedPageLayoutEngine", "runtime": true, "signature": "createEstimatedPageLayoutEngine: () => PageLayoutEngine", "source": null, "typeParameters": [] }, "platejs/pagination/react:createPretextPageLayoutEngine": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "const", "name": "createPretextPageLayoutEngine", "runtime": true, "signature": "createPretextPageLayoutEngine: ({ estimateBlock, maxPreparedEntries, whiteSpace, wordBreak }?: PretextPageLayoutEngineOptions) => PageLayoutEngine", "source": null, "typeParameters": [] }, "platejs/pagination/react:measurePages": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "const", "name": "measurePages", "runtime": true, "signature": "measurePages: (editor: Editor, options: MeasurePagesOptions, NoInfer>>>) => PageLayoutSnapshot", "source": null, "typeParameters": [] }, "platejs/pagination/react:MeasurePagesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "MeasurePagesOptions", "runtime": false, "signature": "type MeasurePagesOptions = PaginationInputs & Readonly<{\n engine: PageLayoutEngine;\n root?: NamedRootKey;\n}>;", "source": null, "typeParameters": [ "TElement extends Element = Element" ] }, "platejs/pagination/react:NodeFragmentationPlan": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "NodeFragmentationPlan", "runtime": false, "signature": "type NodeFragmentationPlan = Readonly<{\n keepTogether?: boolean;\n type: 'text';\n}> | Readonly<{\n size: PageLayoutSize;\n type: 'atomic';\n}> | Readonly<{\n sizes: readonly PageLayoutSize[];\n type: 'direct-children';\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:NodeFragmentationProvider": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "NodeFragmentationProvider", "runtime": false, "signature": "type NodeFragmentationProvider = (context: {\n content: PageLayoutSize;\n element: TElement;\n path: Path;\n}) => NodeFragmentationPlan | undefined;", "source": null, "typeParameters": [ "TElement extends Element = Element" ] }, "platejs/pagination/react:PagedEditablePageAttributes": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PagedEditablePageAttributes", "runtime": false, "signature": "type PagedEditablePageAttributes = Readonly<{\n 'data-editor-page': true;\n 'data-editor-page-index': number;\n style: CSSProperties;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PagedEditablePageView": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PagedEditablePageView", "runtime": false, "signature": "type PagedEditablePageView = Readonly<{\n gap?: number;\n mode?: PageLayoutMode;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PagedEditableRenderPageProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PagedEditableRenderPageProps", "runtime": false, "signature": "type PagedEditableRenderPageProps = Readonly<{\n attributes: PagedEditablePageAttributes;\n page: PageLayoutPage;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PagedEditorContent": { "aliases": [], "documentation": "Render Plate content on measured pages: `EditorContent` with its plugin\nrenderers, handlers and slots, laid out by `PagedEditable`. The app owns\n`fragmentation` sizes and `typography`; keep both stable across renders.", "entrypoint": "platejs/pagination/react", "kind": "const", "name": "PagedEditorContent", "runtime": true, "signature": "PagedEditorContent: ({ engine, fragmentation, page, pageView, renderPage, typography, virtualize, ...props }: PagedEditorContentProps) => React.JSX.Element", "source": null, "typeParameters": [] }, "platejs/pagination/react:PagedEditorContentProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PagedEditorContentProps", "runtime": false, "signature": "type PagedEditorContentProps = EditorContentProps & Pick, 'engine' | 'fragmentation' | 'page' | 'pageView' | 'renderPage' | 'typography' | 'virtualize'>;", "source": null, "typeParameters": [ "TElement extends Element = Element", "TRoot extends RootKey = RootKey" ] }, "platejs/pagination/react:PageLayoutBlock": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutBlock", "runtime": false, "signature": "type PageLayoutBlock = Readonly<{\n path: Path;\n spacingAfter: number;\n} & ({\n keepTogether: boolean;\n lineHeight: number;\n runs: readonly PageLayoutRun[];\n type: 'text';\n} | {\n size: PageLayoutSize;\n type: 'atomic';\n} | {\n children: ReadonlyArray>;\n type: 'direct-children';\n})>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutBlockStyle": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutBlockStyle", "runtime": false, "signature": "type PageLayoutBlockStyle = Readonly<{\n blockSpacing?: number;\n lineHeight: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutEngine": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutEngine", "runtime": false, "signature": "type PageLayoutEngine = Readonly<{\n compose: (input: PageLayoutEngineInput) => PageLayoutEngineOutput;\n invalidate?: () => void;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutEngineInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutEngineInput", "runtime": false, "signature": "type PageLayoutEngineInput = Readonly<{\n blocks: readonly PageLayoutBlock[];\n page: PageLayoutPage;\n settings: PageSettings;\n version: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutEngineOutput": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutEngineOutput", "runtime": false, "signature": "type PageLayoutEngineOutput = Pick;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutFragment": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutFragment", "runtime": false, "signature": "type PageLayoutFragment = Readonly<{\n pageIndex: number;\n path: Path;\n rect: PageRect;\n} & ({\n lines: ReadonlyArray>;\n source: Range;\n }>>;\n type: 'text';\n} | {\n type: 'atomic';\n} | {\n children: ReadonlyArray>;\n type: 'direct-children';\n})>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutMode": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutMode", "runtime": false, "signature": "type PageLayoutMode = 'single' | 'spread';", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutPage": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutPage", "runtime": false, "signature": "type PageLayoutPage = Readonly<{\n content: PageRect;\n height: number;\n index: number;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutRun": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutRun", "runtime": false, "signature": "type PageLayoutRun = Readonly<{\n source: Range;\n text: string;\n textStyle: PageLayoutTextStyle;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutSize": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutSize", "runtime": false, "signature": "type PageLayoutSize = Readonly<{\n height: number;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutSnapshot": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutSnapshot", "runtime": false, "signature": "type PageLayoutSnapshot = Readonly<{\n fragments: readonly PageLayoutFragment[];\n pages: readonly PageLayoutPage[];\n root?: NamedRootKey;\n settings: PageSettings;\n version: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutTextStyle": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutTextStyle", "runtime": false, "signature": "type PageLayoutTextStyle = Readonly<{\n font: string;\n letterSpacing?: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageLayoutTypography": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageLayoutTypography", "runtime": false, "signature": "type PageLayoutTypography = Readonly<{\n block?: (context: {\n element: TElement;\n path: Path;\n }) => PageLayoutBlockStyle;\n text?: (context: {\n element: TElement;\n leaf: TextOf;\n path: Path;\n }) => PageLayoutTextStyle;\n}>;", "source": null, "typeParameters": [ "TElement extends Element = Element" ] }, "platejs/pagination/react:PageMargins": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageMargins", "runtime": false, "signature": "type PageMargins = number | Readonly<{\n bottom: number;\n left: number;\n right: number;\n top: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PagePreset": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PagePreset", "runtime": false, "signature": "type PagePreset = 'a4' | 'letter';", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageRect": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageRect", "runtime": false, "signature": "type PageRect = Readonly<{\n height: number;\n left: number;\n top: number;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageSettings": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageSettings", "runtime": false, "signature": "type PageSettings = Readonly<{\n margins: PageMargins;\n preset: PagePreset;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:pageSettingsCodec": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "const", "name": "pageSettingsCodec", "runtime": true, "signature": "pageSettingsCodec: Readonly<{\n decode: typeof decodePageSettings;\n encode: (value: PageSettings) => PageSettingsJson;\n}>", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageSettingsJson": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageSettingsJson", "runtime": false, "signature": "type PageSettingsJson = Readonly<{\n [key: string]: EditorJsonValue;\n margins: number | Readonly<{\n bottom: number;\n left: number;\n right: number;\n top: number;\n }>;\n preset: PagePreset;\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:PageSettingsSource": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PageSettingsSource", "runtime": false, "signature": "type PageSettingsSource = EditorStateField | TSettings;", "source": null, "typeParameters": [ "TSettings extends PageSettings = PageSettings" ] }, "platejs/pagination/react:PretextPageLayoutEngineOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "type", "name": "PretextPageLayoutEngineOptions", "runtime": false, "signature": "type PretextPageLayoutEngineOptions = Readonly<{\n estimateBlock?: (context: {\n block: PageLayoutBlock;\n blockIndex: number;\n page: PageLayoutPage;\n settings: PageSettings;\n }) => boolean;\n maxPreparedEntries?: number;\n whiteSpace?: 'normal' | 'pre-wrap';\n wordBreak?: 'keep-all' | 'normal';\n}>;", "source": null, "typeParameters": [] }, "platejs/pagination/react:usePageLayout": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "const", "name": "usePageLayout", "runtime": true, "signature": "usePageLayout: (editableRef: RefObject) => PageLayoutSnapshot | null", "source": null, "typeParameters": [] }, "platejs/pagination/react:usePageLayoutFragments": { "aliases": [], "documentation": "", "entrypoint": "platejs/pagination/react", "kind": "const", "name": "usePageLayoutFragments", "runtime": true, "signature": "usePageLayoutFragments: () => readonly MountedFragment[]", "source": null, "typeParameters": [] }, "platejs/react:AddMarkCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AddMarkCommand", "runtime": false, "signature": "type AddMarkCommand = {\n key: string;\n value: unknown;\n};", "source": null, "typeParameters": [] }, "platejs/react:AffinityDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AffinityDefinition", "runtime": false, "signature": "type AffinityDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:AffinityEdgeNodes": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AffinityEdgeNodes", "runtime": false, "signature": "type AffinityEdgeNodes = [NodeEntry, NodeEntry] | [NodeEntry, null] | [null, NodeEntry];", "source": null, "typeParameters": [] }, "platejs/react:AffinityPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "AffinityPlugin", "runtime": true, "signature": "AffinityPlugin: BasePlugin> & Readonly>", "source": null, "typeParameters": [] }, "platejs/react:AffinityPluginUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AffinityPluginUpdate", "runtime": false, "signature": "type AffinityPluginUpdate = {\n setSelection: TxDeclaredMethod<(edgeNodes: AffinityEdgeNodes, affinity: 'backward' | 'forward') => void>;\n};", "source": null, "typeParameters": [] }, "platejs/react:Alignment": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Alignment", "runtime": false, "signature": "type Alignment = 'center' | 'end' | 'justify' | 'left' | 'right' | 'start';", "source": null, "typeParameters": [] }, "platejs/react:Ancestor": { "aliases": [], "documentation": "The `Ancestor` union type represents nodes that are ancestors in the tree.\nIt is returned as a convenience in certain cases to narrow a value further\nthan the more generic `Node` union.", "entrypoint": "platejs/react", "kind": "type", "name": "Ancestor", "runtime": false, "signature": "type Ancestor = AnyPluginEditor$1 | Element;", "source": null, "typeParameters": [] }, "platejs/react:AncestorEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AncestorEntry", "runtime": false, "signature": "type AncestorEntry = NodeEntry>;", "source": null, "typeParameters": [ "N = Node" ] }, "platejs/react:AncestorEntryOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AncestorEntryOf", "runtime": false, "signature": "type AncestorEntryOf = NodeEntry>;", "source": null, "typeParameters": [ "E" ] }, "platejs/react:AncestorIn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AncestorIn", "runtime": false, "signature": "type AncestorIn = AncestorOf | V[number]>;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs/react:AncestorOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AncestorOf", "runtime": false, "signature": "type AncestorOf = N extends {\n getChildren: () => infer V;\n} ? N | (V extends ReadonlyArray ? ElementOf : never) : N extends AnyEditor ? N | ElementIn : N extends Element ? N | ElementOf : never;", "source": null, "typeParameters": [ "N" ] }, "platejs/react:Anchor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "Anchor", "runtime": false, "signature": "interface Anchor {\n readonly association: TValue extends Range ? RangeAnchorAssociation : AnchorAssociation;\n readonly deletion: AnchorDeletionPolicy;\n readonly kind: TValue extends Range ? 'range' : TValue extends Point ? 'point' : 'path';\n readonly root: NamedRootKey | undefined;\n release(): TValue | null;\n /**\n * Resolve in the stored document, or as `view` reads it. `view` must be a\n * view of the same editor whose root is the anchor's root or the page.\n */\n resolve(view?: AnyEditor): TValue | null;\n}", "source": null, "typeParameters": [ "TValue extends AnchorValue" ] }, "platejs/react:AnchorAssociation": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AnchorAssociation", "runtime": false, "signature": "type AnchorAssociation = 'backward' | 'forward';", "source": null, "typeParameters": [] }, "platejs/react:AnchorDeletionPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AnchorDeletionPolicy", "runtime": false, "signature": "type AnchorDeletionPolicy = 'drop' | 'nearest';", "source": null, "typeParameters": [] }, "platejs/react:AnchorOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AnchorOptions", "runtime": false, "signature": "type AnchorOptions = Readonly<{\n association?: TValue extends Range ? RangeAnchorAssociation : AnchorAssociation;\n deletion: AnchorDeletionPolicy;\n root?: NamedRootKey;\n}>;", "source": null, "typeParameters": [ "TValue extends AnchorValue", "TRoot extends RootKey = RootKey" ] }, "platejs/react:AnchorValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AnchorValue", "runtime": false, "signature": "type AnchorValue = Path | Point | Range;", "source": null, "typeParameters": [] }, "platejs/react:Annotation": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "Annotation", "runtime": false, "signature": "interface Annotation {\n anchor: AnnotationAnchor;\n data?: TData;\n id: string;\n}", "source": null, "typeParameters": [ "TData = unknown" ] }, "platejs/react:AnnotationAnchor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AnnotationAnchor", "runtime": false, "signature": "type AnnotationAnchor = Pick, 'resolve'>;", "source": null, "typeParameters": [] }, "platejs/react:AnnotationChange": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AnnotationChange", "runtime": false, "signature": "type AnnotationChange = Readonly<{\n ids: readonly string[];\n nodeKeys: readonly NodeKey[];\n reason: 'annotation' | 'editor' | 'external' | 'refresh';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:AnnotationRefreshOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AnnotationRefreshOptions", "runtime": false, "signature": "type AnnotationRefreshOptions = Readonly<{\n ids?: readonly string[];\n reason?: 'annotation' | 'external' | 'refresh';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:AnnotationSnapshot": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "AnnotationSnapshot", "runtime": false, "signature": "interface AnnotationSnapshot {\n allIds: readonly string[];\n byId: ReadonlyMap>;\n}", "source": null, "typeParameters": [ "TData = unknown" ] }, "platejs/react:AnnotationStore": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "AnnotationStore", "runtime": false, "signature": "interface AnnotationStore {\n getAnnotation: (id: string) => ResolvedAnnotation | null;\n getAnnotationsAt: (nodeKey: NodeKey) => ReadonlyArray>;\n getSnapshot: () => AnnotationSnapshot;\n refresh: (options?: AnnotationRefreshOptions) => void;\n subscribe: (listener: () => void) => () => void;\n subscribeAnnotation: (id: string, listener: () => void) => () => void;\n subscribeChanges: (listener: (change: AnnotationChange) => void) => () => void;\n}", "source": null, "typeParameters": [ "TData = unknown" ] }, "platejs/react:AnnotationStoreOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AnnotationStoreOptions", "runtime": false, "signature": "type AnnotationStoreOptions = Readonly<{\n id?: string;\n onError?: ViewSourceErrorSink;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:AnyObject": { "aliases": [], "documentation": "Dynamic object whose values are intentionally unchecked. Prefer `UnknownObject` for narrowing.", "entrypoint": "platejs/react", "kind": "type", "name": "AnyObject", "runtime": false, "signature": "type AnyObject = Record;", "source": null, "typeParameters": [] }, "platejs/react:applyDeepToNodes": { "aliases": [], "documentation": "Recursively apply a transform to child nodes matching a query.", "entrypoint": "platejs/react", "kind": "const", "name": "applyDeepToNodes", "runtime": true, "signature": "applyDeepToNodes: ({ apply, match, node, path, source }: ApplyDeepToNodesOptions) => void", "source": null, "typeParameters": [] }, "platejs/react:ApplyDeepToNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ApplyDeepToNodesOptions", "runtime": false, "signature": "type ApplyDeepToNodesOptions = {\n apply: (node: NodeOf, source: (() => Record) | Record) => void;\n node: N;\n match?: NodeMatch;\n source: (() => Record) | Record;\n path?: Path;\n};", "source": null, "typeParameters": [ "N extends Descendant" ] }, "platejs/react:AuthoredDocumentProjection": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AuthoredDocumentProjection", "runtime": false, "signature": "type AuthoredDocumentProjection = Readonly<{\n diagnostics: readonly AuthoredProjectionDiagnostic[];\n document: EditorDocumentValue;\n ok: true;\n /** Pending changes the projection decided. */\n pending: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:AuthoredProjectionDiagnostic": { "aliases": [], "documentation": "`authored-lossy-projection` reports pending changes a projection decided.\n`authored-uncorrected` names a container whose children a decision\nremoved, merged, unwrapped or pulled apart: the pure resolver runs no\nplugin corrections, so values derived from those children, such as column\nwidths, are not recomputed.", "entrypoint": "platejs/react", "kind": "type", "name": "AuthoredProjectionDiagnostic", "runtime": false, "signature": "type AuthoredProjectionDiagnostic = Readonly<{\n code: 'authored-lossy-projection';\n message: string;\n severity: 'warning';\n}> | Readonly<{\n code: 'authored-uncorrected';\n message: string;\n path: readonly number[];\n severity: 'warning';\n type: string | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:AuthoredTouch": { "aliases": [], "documentation": "How a change touches an element that a veto reads:\n\n- `'content'`: it edits only what the element holds.\n- `'whole'`: the element is the outermost one the change inserts or removes.\n- `'inside'`: the change inserts or removes the element inside a `'whole'`\n one.\n- `'properties'`: it sets or unsets the element's properties, a retype\n included.\n- `'boundary'`: it splits, joins, wraps or unwraps the element, or cuts\n through it.", "entrypoint": "platejs/react", "kind": "type", "name": "AuthoredTouch", "runtime": false, "signature": "type AuthoredTouch = 'boundary' | 'content' | 'inside' | 'properties' | 'whole';", "source": null, "typeParameters": [] }, "platejs/react:authoredVeto": { "aliases": [], "documentation": "Contribute a reason Suggesting refuses a change that touches an element.", "entrypoint": "platejs/react", "kind": "const", "name": "authoredVeto", "runtime": true, "signature": "authoredVeto: Readonly<{\n id: string;\n of: (value: AuthoredVeto) => PluginContribution;\n}>", "source": null, "typeParameters": [] }, "platejs/react:AuthoredVeto": { "aliases": [], "documentation": "The reason Suggesting cannot hold a change that touches `element`, such as\n`'table'`, or null. A feature whose blocks review marks cannot hold yet\ncontributes one, and drops it once they can. A `'properties'` touch reads\nthe element's properties both before and after the change.", "entrypoint": "platejs/react", "kind": "type", "name": "AuthoredVeto", "runtime": false, "signature": "type AuthoredVeto = (element: Readonly>, touch: AuthoredTouch) => string | null;", "source": null, "typeParameters": [] }, "platejs/react:AutoScrollApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AutoScrollApi", "runtime": false, "signature": "type AutoScrollApi = {\n isAutoScrolling: () => boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:AutoScrollChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AutoScrollChangeKind", "runtime": false, "signature": "type AutoScrollChangeKind = 'properties' | 'structure' | 'text';", "source": null, "typeParameters": [] }, "platejs/react:AutoScrollChangesMap": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AutoScrollChangesMap", "runtime": false, "signature": "type AutoScrollChangesMap = Partial>;", "source": null, "typeParameters": [] }, "platejs/react:AutoScrollOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AutoScrollOptions", "runtime": false, "signature": "type AutoScrollOptions = {\n mode?: ScrollMode;\n changes?: AutoScrollChangesMap;\n scrollOptions?: ScrollIntoViewOptions;\n};", "source": null, "typeParameters": [] }, "platejs/react:AutoScrollUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "AutoScrollUpdate", "runtime": false, "signature": "type AutoScrollUpdate = (tx: EditorUpdateTransaction & TTx) => void;", "source": null, "typeParameters": [ "TTx extends object = {}" ] }, "platejs/react:BaseBlockquotePlugin": { "aliases": [], "documentation": "Enables support for block quotes, useful for quotations and passages.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseBlockquotePlugin", "runtime": true, "signature": "BaseBlockquotePlugin: BasePlugin & Readonly<{\n name: \"blockquote\";\n}> & Readonly> & Readonly<{\n update: {\n readonly wrap: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n };\n}> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: {\n content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n };\n };\n}> & Readonly<{\n shortcuts: true;\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseBoldPlugin": { "aliases": [], "documentation": "Enables support for bold formatting.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseBoldPlugin", "runtime": true, "signature": "BaseBoldPlugin: BasePlugin & Readonly<{\n name: \"bold\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"bold\";\n localId: \"bold\";\n ownerName: \"bold\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseCodeBlockPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseCodeBlockPlugin", "runtime": true, "signature": "BaseCodeBlockPlugin: BasePlugin>;\n key: \"language\";\n localId: \"language\";\n ownerName: \"codeBlock\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n readonly max: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly ownsExit: true;\n readonly properties: {\n language: PropertyStringDescriptor>;\n };\n readonly slice: {\n readonly preserveContext: true;\n };\n };\n };\n readonly shortcuts: true;\n readonly name: \"codeBlock\";\n readonly commands: true;\n readonly contributions: true;\n readonly dataTransferFormats: true;\n readonly formats: true;\n readonly read: {\n readonly entry: ({ at }?: {\n at?: Location | null;\n }) => {\n codeBlock: NodeEntry & Readonly<{} & {\n language?: string | undefined;\n }>>;\n } | undefined;\n readonly indentDepth: () => number;\n readonly isEmpty: () => boolean;\n };\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockInsertOptions) => boolean>;\n readonly resetBlock: () => boolean;\n readonly selectAll: () => boolean;\n readonly tab: TxDeclaredMethod<({ reverse }?: {\n reverse?: boolean;\n }) => boolean>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n readonly upsert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockUpsertOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/react:BaseCodeHighlightPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseCodeHighlightPlugin", "runtime": true, "signature": "BaseCodeHighlightPlugin: BasePlugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"language\";\n localId: \"language\";\n ownerName: \"codeBlock\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n }> & Readonly {\n codeBlock: NodeEntry & Readonly<{} & {\n language?: string | undefined;\n }>>;\n } | undefined;\n readonly indentDepth: () => number;\n readonly isEmpty: () => boolean;\n }>> & Readonly;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n readonly max: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly ownsExit: true;\n readonly properties: {\n language: PropertyStringDescriptor>;\n };\n readonly slice: {\n readonly preserveContext: true;\n };\n };\n }>> & Readonly & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockInsertOptions) => boolean>;\n readonly resetBlock: () => boolean;\n readonly selectAll: () => boolean;\n readonly tab: TxDeclaredMethod<({ reverse }?: {\n reverse?: boolean;\n }) => boolean>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n readonly upsert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockUpsertOptions) => boolean>;\n }>> & Readonly>> & Pick>;\n key: \"language\";\n localId: \"language\";\n ownerName: \"codeBlock\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n readonly max: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly ownsExit: true;\n readonly properties: {\n language: PropertyStringDescriptor>;\n };\n readonly slice: {\n readonly preserveContext: true;\n };\n };\n };\n readonly shortcuts: true;\n readonly name: \"codeBlock\";\n readonly commands: true;\n readonly contributions: true;\n readonly dataTransferFormats: true;\n readonly formats: true;\n readonly read: {\n readonly entry: ({ at }?: {\n at?: Location | null;\n }) => {\n codeBlock: NodeEntry & Readonly<{} & {\n language?: string | undefined;\n }>>;\n } | undefined;\n readonly indentDepth: () => number;\n readonly isEmpty: () => boolean;\n };\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockInsertOptions) => boolean>;\n readonly resetBlock: () => boolean;\n readonly selectAll: () => boolean;\n readonly tab: TxDeclaredMethod<({ reverse }?: {\n reverse?: boolean;\n }) => boolean>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n readonly upsert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly name: \"codeSyntax\";\n readonly decorate: true;\n readonly initialState: {\n readonly defaultLanguage: string | null;\n readonly lowlight: {\n readonly highlight: (language: string, value: string, options?: Readonly<{\n prefix?: string | null;\n }> | null) => HighlightResult;\n readonly listLanguages: () => string[];\n readonly registered: (aliasOrName: string) => boolean;\n } | null;\n };\n readonly on: true;\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/react:BaseCodePlugin": { "aliases": [], "documentation": "Enables support for code formatting.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseCodePlugin", "runtime": true, "signature": "BaseCodePlugin: BasePlugin & Readonly<{\n name: \"code\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"code\";\n localId: \"code\";\n ownerName: \"code\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseElement": { "aliases": [], "documentation": "`Element` objects are nodes in a document that contain other\nelement nodes or text nodes. They can be either \"blocks\" or \"inlines\"\ndepending on the editor's configuration.", "entrypoint": "platejs/react", "kind": "interface", "name": "BaseElement", "runtime": false, "signature": "interface BaseElement {\n readonly children: readonly Descendant[];\n readonly type: string;\n readonly [key: string]: unknown;\n}", "source": null, "typeParameters": [] }, "platejs/react:BaseFontBackgroundColorPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseFontBackgroundColorPlugin", "runtime": true, "signature": "BaseFontBackgroundColorPlugin: BasePlugin & Readonly<{\n name: \"backgroundColor\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"backgroundColor\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseFontColorPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseFontColorPlugin", "runtime": true, "signature": "BaseFontColorPlugin: BasePlugin & Readonly<{\n name: \"color\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"color\";\n localId: \"color\";\n ownerName: \"color\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseFontFamilyPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseFontFamilyPlugin", "runtime": true, "signature": "BaseFontFamilyPlugin: BasePlugin & Readonly<{\n name: \"fontFamily\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"fontFamily\";\n localId: \"fontFamily\";\n ownerName: \"fontFamily\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseFontSizePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseFontSizePlugin", "runtime": true, "signature": "BaseFontSizePlugin: BasePlugin & Readonly<{\n name: \"fontSize\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"fontSize\";\n localId: \"fontSize\";\n ownerName: \"fontSize\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseFormattingPlugin": { "aliases": [], "documentation": "Clear formatting: remove text styles inside a range, and block styles from\nthe blocks it fully covers, in one undo step. At a caret it removes only the\npending styles, so the next typed text is plain. Capture and apply copy the\nlook of one range onto another, as a format painter does.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseFormattingPlugin", "runtime": true, "signature": "BaseFormattingPlugin: BasePlugin & Readonly<{\n name: \"formatting\";\n}> & Readonly> & Readonly<{\n read: {\n /**\n * Take the look at the start of a range, the selection by default: the\n * content properties of its first selected text and, when the range\n * covers that text's whole block, the block's settings and its paragraph\n * or heading type. Returns undefined when the range selects no text.\n */\n readonly capture: (options?: Readonly<{\n at?: Range;\n }>) => CapturedFormat | undefined;\n };\n}> & Readonly<{\n update: {\n /**\n * Copy a look `read.capture` took onto a range, the selection by\n * default, in one new undo step. The range is cleared as `clear` does,\n * except that its blocks keep their settings unless the look came from\n * a whole block, and then takes the look's text properties. When the\n * look came from a whole block, each block the range fully covers takes\n * its settings, and a whole paragraph or heading takes its paragraph or\n * heading type where the schema allows. Returns false and changes\n * nothing when the format is not one `capture` returned, or when the\n * range is missing, collapsed or a block selection.\n */\n readonly apply: TxDeclaredMethod<(format: CapturedFormat, options?: Readonly<{\n at?: Range;\n }>) => boolean>;\n readonly clear: TxDeclaredMethod<(options?: Readonly<{\n at?: Range;\n }>) => void>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseHeadingPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseHeadingPlugin", "runtime": true, "signature": "BaseHeadingPlugin: BasePlugin HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"heading\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly properties: {\n level: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly name: \"heading\";\n readonly formats: true;\n readonly read: {\n readonly level: (node: Element) => HeadingLevel | undefined;\n };\n readonly rules: true;\n readonly update: {\n readonly setLevel: TxDeclaredMethod<(level: HeadingLevel) => boolean>;\n readonly toggle: TxDeclaredMethod<({ level }: ToggleHeadingOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/react:BaseHighlightPlugin": { "aliases": [], "documentation": "Enables support for highlights, useful when reviewing content or highlighting\nit for future reference.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseHighlightPlugin", "runtime": true, "signature": "BaseHighlightPlugin: BasePlugin & Readonly<{\n name: \"highlight\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"highlight\";\n localId: \"highlight\";\n ownerName: \"highlight\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseHorizontalRulePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseHorizontalRulePlugin", "runtime": true, "signature": "BaseHorizontalRulePlugin: BasePlugin & Readonly<{\n name: \"horizontalRule\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: {\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseIndentPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseIndentPlugin", "runtime": true, "signature": "BaseIndentPlugin: BasePlugin;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/react:BaseInjectProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BaseInjectProps", "runtime": false, "signature": "type BaseInjectProps = {\n /**\n * Object whose keys are node values and values are classNames which will be\n * extended.\n */\n classNames?: Record;\n /** Node key to map to the styles. */\n nodeKey?: string;\n /**\n * Style key to override.\n *\n * @default nodeKey\n */\n styleKey?: string;\n /**\n * Text this injection runs on. `'nodeKey'` runs it, `query` and transforms\n * included, only on text whose node key value is not null or undefined, and\n * on every text when no node key resolves. `'all'` runs it on every text and\n * overrides an inherited `'nodeKey'`. Elements are unaffected.\n *\n * @default 'all'\n */\n textScope?: 'all' | 'nodeKey';\n};", "source": null, "typeParameters": [] }, "platejs/react:BaseInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BaseInputRule", "runtime": false, "signature": "type BaseInputRule = {\n enabled?: BivariantCallback<[context: TReadContext], boolean>;\n priority?: number;\n};", "source": null, "typeParameters": [ "TReadContext = SelectionInputRuleContext" ] }, "platejs/react:BaseItalicPlugin": { "aliases": [], "documentation": "Enables support for italic formatting.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseItalicPlugin", "runtime": true, "signature": "BaseItalicPlugin: BasePlugin & Readonly<{\n name: \"italic\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"italic\";\n localId: \"italic\";\n ownerName: \"italic\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseKbdPlugin": { "aliases": [], "documentation": "Enables support for keyboard-input formatting.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseKbdPlugin", "runtime": true, "signature": "BaseKbdPlugin: BasePlugin & Readonly<{\n name: \"kbd\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"kbd\";\n localId: \"kbd\";\n ownerName: \"kbd\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseLineHeightPlugin": { "aliases": [], "documentation": "Enables configurable line spacing on targeted block elements.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseLineHeightPlugin", "runtime": true, "signature": "BaseLineHeightPlugin: BasePlugin & Readonly<{\n name: \"lineHeight\";\n}> & Readonly> & Readonly<{\n update: {\n clear: TxDeclaredMethod<(options?: NodeSetNodesOptions) => void>;\n set: TxDeclaredMethod<(value: number, options?: NodeSetNodesOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isLineHeight;\n readonly validationVersion: 1;\n }>;\n key: \"lineHeight\";\n localId: \"lineHeight\";\n ownerName: \"lineHeight\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly properties: {\n lineHeight: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n}> & Readonly<{\n targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseLinkDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BaseLinkDefinition", "runtime": false, "signature": "type BaseLinkDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:BaseLinkPlugin": { "aliases": [], "documentation": "Enables support for hyperlinks.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseLinkPlugin", "runtime": true, "signature": "BaseLinkPlugin: BasePlugin>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/react:BaseLinkPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BaseLinkPluginState", "runtime": false, "signature": "type BaseLinkPluginState = {\n /**\n * URL schemes the link feature accepts when it inserts, types, pastes or\n * imports a link, and that a rendered link may use. A link pasted as an\n * exact editor fragment keeps its URL. Relative URLs are always allowed;\n * script-capable schemes such as `javascript:` and `data:` never are.\n */\n allowedSchemes: readonly string[];\n defaultLinkAttributes: LinkAttributes;\n /** Keeps selected text on pasting links by default. */\n keepSelectedTextOnPaste: boolean;\n /**\n * Returns the href for typed or pasted text, or `undefined` when the text is\n * not a link. `defaultParseUrl` accepts a whole token with an explicit\n * scheme. The href still has to pass `allowedSchemes`.\n */\n parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n /** Configures the range used to find text before the selection. */\n rangeBeforeOptions: NonNullable[1]>;\n};", "source": null, "typeParameters": [] }, "platejs/react:BaseListDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BaseListDefinition", "runtime": false, "signature": "type BaseListDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:BaseListPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseListPlugin", "runtime": true, "signature": "BaseListPlugin: BasePlugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/react:BaseNode": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BaseNode", "runtime": false, "signature": "type BaseNode = AnyPluginEditor$1 | Element | Text;", "source": null, "typeParameters": [] }, "platejs/react:BaseParagraphDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BaseParagraphDefinition", "runtime": false, "signature": "type BaseParagraphDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:BaseParagraphPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseParagraphPlugin", "runtime": true, "signature": "BaseParagraphPlugin: BasePlugin & Readonly<{\n name: \"paragraph\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BasePlugin": { "aliases": [], "documentation": "Exact Plate plugin descriptor with schema, behavior, and rendering.", "entrypoint": "platejs/react", "kind": "interface", "name": "BasePlugin", "runtime": false, "signature": "interface BasePlugin extends BasePluginRuntime, BasePluginMethods, PluginWitnessFor<() => LowerBasePlugin>, BasePluginInstalledCapabilityWitness, InferPluginNodeTypeProvider, EditorSchemaPluginProvider<() => InternalSchemaPluginsForPlugin>, EditorSchemaSourceProvider<() => InferPluginSchemaContribution>, PluginReference, PluginDefinitionWitness {\n api?: (context: BasePluginApiContext) => InferApi;\n readonly conflicts: BasePluginDependencyDescriptors>;\n dependencies: BasePluginDependencyDescriptors>;\n readonly initialState: InferPluginStoreState;\n readonly name: C['name'];\n read?: (context: BasePluginContext & {\n state: PluginReadState;\n }) => InferPluginRead;\n readonly schema: InferPluginSchema;\n readonly selectors: InferSelectors;\n readonly targetPlugins: C extends {\n targetPlugins: infer TTargetPlugins extends ReadonlyArray;\n } ? TTargetPlugins : readonly [];\n update?: (context: BasePluginContext & {\n context: EditorUpdateContext;\n tx: PluginTransaction;\n }) => InferUpdate;\n}", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:BasePluginConfiguration": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BasePluginConfiguration", "runtime": false, "signature": "type BasePluginConfiguration = Omit, 'activate' | 'api' | 'dataTransferFormats' | 'formats' | 'commands' | 'conflicts' | 'contributions' | 'corrections' | 'decorate' | 'dependencies' | 'enabled' | 'effectTypes' | 'initialState' | 'initialViewState' | 'key' | 'name' | 'read' | 'readMiddleware' | 'schema' | 'stateFields' | 'targetPlugins' | 'type' | 'update' | 'validate'> & {\n /** Replace this descriptor's node component for static or live consumers. */\n component?: NodeComponent;\n decorate?: DecorateInput | null;\n enabled?: boolean;\n initialState?: Partial>;\n targetPlugins?: ReadonlyArray;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition" ] }, "platejs/react:BasePluginContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BasePluginContext", "runtime": false, "signature": "type BasePluginContext = { [K in keyof BasePluginContextFields]: BasePluginContextFields[K]; };", "source": null, "typeParameters": [ "in out C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:BasePluginDefinition": { "aliases": [], "documentation": "Compact inferred definition carried by every Base plugin descriptor.\n\nAuthor callbacks are normalized to their capability results before reaching\nthis boundary, so declarations do not serialize callback graphs.", "entrypoint": "platejs/react", "kind": "type", "name": "BasePluginDefinition", "runtime": false, "signature": "type BasePluginDefinition = Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:BasePluginDefinitionInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BasePluginDefinitionInput", "runtime": false, "signature": "type BasePluginDefinitionInput = BasePluginInputFields & Readonly<{\n component?: NodeComponent;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:BasePluginExtendInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BasePluginExtendInput", "runtime": false, "signature": "type BasePluginExtendInput = BasePluginStageObject | PluginReference$1 | ((context: BasePluginContext) => BasePluginStageObject | PluginReference$1);", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition" ] }, "platejs/react:BasePluginImplementationContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BasePluginImplementationContext", "runtime": false, "signature": "type BasePluginImplementationContext = PluginBaseContext & {\n editor: BasePluginContextEditor;\n plugin: ResolvedPlugin;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:BasePluginInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BasePluginInput", "runtime": false, "signature": "type BasePluginInput = PluginReference;", "source": null, "typeParameters": [] }, "platejs/react:BasePluginOn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BasePluginOn", "runtime": false, "signature": "type BasePluginOn = Readonly<{\n commit?: (context: BasePluginLifecycleContext>>) => void;\n nodeChange?: (context: BasePluginLifecycleContext>>) => void;\n textChange?: (context: BasePluginLifecycleContext>>) => void;\n transactionChange?: (context: BasePluginLifecycleContext>>) => void;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:BasePluginOverride": { "aliases": [], "documentation": "Configuration-only patch for an already-installed foreign plugin.\n\nThe target name cannot provide target-specific inference. Pass the target\nconfig type explicitly when exact initial-state checking is required.", "entrypoint": "platejs/react", "kind": "type", "name": "BasePluginOverride", "runtime": false, "signature": "type BasePluginOverride = Omit, 'configure' | 'dependencies' | 'extend' | 'name' | 'override' | 'schema'>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = AnyBasePluginDefinition" ] }, "platejs/react:BasePluginPortal": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BasePluginPortal", "runtime": false, "signature": "type BasePluginPortal['api']> = Omit, keyof PluginPortalContext | 'schema'> & PluginReference & Omit, 'api' | 'read' | 'update'> & {\n /** API scoped directly to this plugin. */\n api: TApi;\n /** State-bound reads scoped directly to this plugin. */\n read: PluginReadCapability;\n /** One-shot updates scoped directly to this plugin. */\n update: PluginDirectUpdate;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition", "S = C", "TApi = PluginPortalContext['api']" ] }, "platejs/react:BasePoint": { "aliases": [], "documentation": "`Point` objects refer to a specific location in a text node in a\ndocument. Its path refers to the location of the node in the tree, and its\noffset refers to the distance into the node's string of text. Points can\nonly refer to `Text` nodes.", "entrypoint": "platejs/react", "kind": "interface", "name": "BasePoint", "runtime": false, "signature": "interface BasePoint {\n readonly offset: number;\n readonly path: Path;\n readonly root?: string;\n}", "source": null, "typeParameters": [] }, "platejs/react:BaseRange": { "aliases": [], "documentation": "`Range` objects are a set of points that refer to a specific span of a\ndocument. They can define a span inside a single node or can span across\nmultiple nodes.", "entrypoint": "platejs/react", "kind": "interface", "name": "BaseRange", "runtime": false, "signature": "interface BaseRange {\n readonly anchor: Point;\n readonly focus: Point;\n}", "source": null, "typeParameters": [] }, "platejs/react:BaseScriptPlugin": { "aliases": [], "documentation": "Enables subscript and superscript through one enum-valued mark.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseScriptPlugin", "runtime": true, "signature": "BaseScriptPlugin: BasePlugin & Readonly<{\n name: \"script\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"script\";\n localId: \"script\";\n ownerName: \"script\";\n placement: \"text\";\n unaliased: true;\n value: \"sub\" | \"sup\";\n }>;\n schema: {\n readonly mark: PropertyEnumDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseStrikethroughPlugin": { "aliases": [], "documentation": "Enables support for strikethrough formatting.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseStrikethroughPlugin", "runtime": true, "signature": "BaseStrikethroughPlugin: BasePlugin & Readonly<{\n name: \"strikethrough\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"strikethrough\";\n localId: \"strikethrough\";\n ownerName: \"strikethrough\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseText": { "aliases": [], "documentation": "`Text` objects represent the nodes that contain the actual text content of a\ndocument along with any formatting properties. They are always leaf\nnodes in the document tree as they cannot contain any children.", "entrypoint": "platejs/react", "kind": "interface", "name": "BaseText", "runtime": false, "signature": "interface BaseText {\n readonly text: string;\n readonly [key: string]: unknown;\n}", "source": null, "typeParameters": [] }, "platejs/react:BaseTextAlignPlugin": { "aliases": [], "documentation": "Creates a plugin that adds alignment functionality to the editor.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseTextAlignPlugin", "runtime": true, "signature": "BaseTextAlignPlugin: BasePlugin & Readonly<{\n name: \"textAlign\";\n}> & Readonly> & Readonly<{\n update: {\n clear: TxDeclaredMethod<(options?: NodeSetNodesOptions) => void>;\n set: TxDeclaredMethod<(value: Alignment, options?: NodeSetNodesOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textAlign\";\n localId: \"textAlign\";\n ownerName: \"textAlign\";\n placement: \"element\";\n unaliased: true;\n value: \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\";\n }>;\n schema: {\n readonly properties: {\n textAlign: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n}> & Readonly<{\n targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseTextIndentPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BaseTextIndentPlugin", "runtime": true, "signature": "BaseTextIndentPlugin: BasePlugin & Readonly<{\n name: \"textIndent\";\n}> & Readonly> & Readonly<{\n initialState: {\n readonly offset: number;\n readonly unit: string;\n };\n}> & Readonly<{\n update: {\n clear: TxDeclaredMethod<(options?: NodeSetNodesOptions) => void>;\n set: TxDeclaredMethod<(value: number, options?: NodeSetNodesOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor>;\n key: \"textIndent\";\n localId: \"textIndent\";\n ownerName: \"textIndent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly properties: {\n textIndent: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n}> & Readonly<{\n targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BaseUnderlinePlugin": { "aliases": [], "documentation": "Enables support for underline formatting.", "entrypoint": "platejs/react", "kind": "const", "name": "BaseUnderlinePlugin", "runtime": true, "signature": "BaseUnderlinePlugin: BasePlugin & Readonly<{\n name: \"underline\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"underline\";\n localId: \"underline\";\n ownerName: \"underline\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BlockDuplicateOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BlockDuplicateOptions", "runtime": false, "signature": "type BlockDuplicateOptions = {\n at?: Location;\n match?: NodeMatch;\n type?: TType;\n mode?: RangeMode;\n voids?: boolean;\n} & Pick;", "source": null, "typeParameters": [ "T extends Element = Element", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:BlockFenceInputRuleConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BlockFenceInputRuleConfig", "runtime": false, "signature": "type BlockFenceInputRuleConfig = BaseInputRule & MatchBlockFenceOptions & {\n apply: (context: BlockFenceApplyContext, match: TMatch) => InputRuleDecline | undefined;\n on: 'break' | 'match';\n};", "source": null, "typeParameters": [ "TMatch = BlockFenceInputRuleMatch" ] }, "platejs/react:BlockFenceInputRuleMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BlockFenceInputRuleMatch", "runtime": false, "signature": "type BlockFenceInputRuleMatch = BlockStartInputRuleMatch & {\n path: Path;\n};", "source": null, "typeParameters": [] }, "platejs/react:BlockInsertOptions": { "aliases": [], "documentation": "Placement options for feature commands that insert whole blocks: one of\n`after` a block, `before` a block or a path `at`.", "entrypoint": "platejs/react", "kind": "type", "name": "BlockInsertOptions", "runtime": false, "signature": "type BlockInsertOptions = BlockInsertOptions$1;", "source": null, "typeParameters": [] }, "platejs/react:BlockPlaceholderDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BlockPlaceholderDefinition", "runtime": false, "signature": "type BlockPlaceholderDefinition = DefinitionOf$1;", "source": null, "typeParameters": [] }, "platejs/react:BlockPlaceholderPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BlockPlaceholderPlugin", "runtime": true, "signature": "BlockPlaceholderPlugin: Plugin boolean;\n };\n readonly editOnly: true;\n readonly render: true;\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BlockPlaceholderPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BlockPlaceholderPluginState", "runtime": false, "signature": "type BlockPlaceholderPluginState = {\n className: string | null;\n placeholders: Record;\n query: (context: BlockPlaceholderQueryContext) => boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:BlockPlaceholderQueryContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BlockPlaceholderQueryContext", "runtime": false, "signature": "type BlockPlaceholderQueryContext = {\n editor: Editor;\n node: Element$1;\n path: Path;\n type: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:BlockquotePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BlockquotePlugin", "runtime": true, "signature": "BlockquotePlugin: Plugin & Readonly<{\n name: \"blockquote\";\n}> & Readonly> & Readonly<{\n update: {\n readonly wrap: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n };\n}> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: {\n content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n };\n };\n}> & Readonly<{\n shortcuts: true;\n}>>", "source": null, "typeParameters": [] }, "platejs/react:BlockquoteRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BlockquoteRules", "runtime": true, "signature": "BlockquoteRules: {\n markdown: ({ enabled, marker, priority }?: {\n enabled?: (context: InsertTextInputRuleReadContext) => boolean;\n marker?: string;\n priority?: number;\n }) => InsertTextInputRule<{\n range: Range;\n text: string;\n blockPath: Path;\n }, InternalBaseEditorWithInstalledPlugins>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference$1[]>>;\n}", "source": null, "typeParameters": [] }, "platejs/react:BlockStartInputRuleConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BlockStartInputRuleConfig", "runtime": false, "signature": "type BlockStartInputRuleConfig = BaseInputRule & {\n apply?: (context: InsertTextInputRuleContext, match: BlockStartInputRuleMatch & TMatch) => ReturnType;\n mode?: 'set' | 'toggle' | 'wrap';\n node?: PluginReference | string;\n removeMatchedText?: boolean;\n trigger: string;\n} & MatchBlockStartOptions;", "source": null, "typeParameters": [ "TMatch extends object = {}" ] }, "platejs/react:BlockStartInputRuleMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BlockStartInputRuleMatch", "runtime": false, "signature": "type BlockStartInputRuleMatch = {\n range: Range;\n text: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:BlockUpsertOptions": { "aliases": [], "documentation": "Placement options for a block upsert. A matching empty editable block is\nreused; every other source follows the standard semantic insertion policy.", "entrypoint": "platejs/react", "kind": "type", "name": "BlockUpsertOptions", "runtime": false, "signature": "type BlockUpsertOptions = Exclude & {\n replaceEmpty?: never;\n};", "source": null, "typeParameters": [] }, "platejs/react:BoldPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BoldPlugin", "runtime": true, "signature": "BoldPlugin: InternalReactPluginAdapterResult & Readonly<{\n name: \"bold\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"bold\";\n localId: \"bold\";\n ownerName: \"bold\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>, {\n readonly shortcuts: {\n readonly toggle: {\n readonly keys: \"mod+b\";\n };\n };\n}>", "source": null, "typeParameters": [] }, "platejs/react:BoldRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BoldRules", "runtime": true, "signature": "BoldRules: {\n markdown: ({ variant, ...options }?: MarkdownMarkRuleOptions & {\n variant?: '*' | '_';\n }) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs/react:BooleanMarkKeysOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BooleanMarkKeysOf", "runtime": false, "signature": "type BooleanMarkKeysOf = Extract>, string>;", "source": null, "typeParameters": [ "N" ] }, "platejs/react:BooleanMarksOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BooleanMarksOf", "runtime": false, "signature": "type BooleanMarksOf = Partial, BooleanMarkKeysOf & keyof MarksOf>>;", "source": null, "typeParameters": [ "N" ] }, "platejs/react:BreakRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "BreakRules", "runtime": false, "signature": "type BreakRules = {\n /** Action when Enter is pressed in an empty block. */\n empty?: RuleDecision;\n /**\n * Action when Enter is pressed at the end of an empty line. This is typically\n * used with `default: 'lineBreak'`.\n *\n * Example:\n *\n * ```tsx\n *

          \n * This is some text\\n\n * |\n *
          \n * ```\n *\n * Plugin resolution refuses a static `'exit'` or `'deleteExit'` on a text\n * block that is not an object and whose schema element does not declare\n * `ownsExit: true`, because exit from a nested block would land after its\n * container instead of after the block. A rule written as a function is not\n * checked.\n */\n emptyLineEnd?: RuleDecision<'default' | 'deleteExit' | 'exit', C>;\n /**\n * Default action when Enter is pressed. Defaults to splitting the block.\n * Use `'none'` to handle Enter without changing the document.\n */\n default?: RuleDecision<'default' | 'deleteExit' | 'exit' | 'lineBreak' | 'none', C>;\n /**\n * If true, the new block after splitting resets to its container's default\n * type. When the container has no default it can become, the split stays\n * and the new block keeps its type.\n */\n splitReset?: RuleDecision;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:BULLETED_LIST_STYLES": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BULLETED_LIST_STYLES", "runtime": true, "signature": "BULLETED_LIST_STYLES: readonly [\"disc\", \"circle\", \"square\", \"disclosure-open\", \"disclosure-closed\"]", "source": null, "typeParameters": [] }, "platejs/react:BulletedListRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "BulletedListRules", "runtime": true, "signature": "BulletedListRules: {\n markdown: ({ enabled, priority, variant }?: MarkdownListRuleOptions & {\n variant?: '*' | '-';\n }) => InsertTextInputRule & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>>, readonly []>>;\n}", "source": null, "typeParameters": [] }, "platejs/react:CapturedFormat": { "aliases": [], "documentation": "The look `read.capture` took from a range, for `update.apply`. It is\nopaque: pass it back, never read it.", "entrypoint": "platejs/react", "kind": "interface", "name": "CapturedFormat", "runtime": false, "signature": "interface CapturedFormat {\n readonly [capturedFormatBrand]: true;\n}", "source": null, "typeParameters": [] }, "platejs/react:ChildOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ChildOf", "runtime": false, "signature": "type ChildOf = N extends {\n children: readonly unknown[];\n} ? N['children'][I] : never;", "source": null, "typeParameters": [ "N", "I extends number = number" ] }, "platejs/react:CodeBlockDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "CodeBlockDefinition", "runtime": false, "signature": "type CodeBlockDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:CodeBlockElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "CodeBlockElement", "runtime": false, "signature": "type CodeBlockElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/react:CodeBlockPlugin": { "aliases": [], "documentation": "Enables support for pre-formatted code blocks.", "entrypoint": "platejs/react", "kind": "const", "name": "CodeBlockPlugin", "runtime": true, "signature": "CodeBlockPlugin: Plugin>;\n key: \"language\";\n localId: \"language\";\n ownerName: \"codeBlock\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n readonly max: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly ownsExit: true;\n readonly properties: {\n language: PropertyStringDescriptor>;\n };\n readonly slice: {\n readonly preserveContext: true;\n };\n };\n };\n readonly shortcuts: true;\n readonly name: \"codeBlock\";\n readonly commands: true;\n readonly contributions: true;\n readonly dataTransferFormats: true;\n readonly formats: true;\n readonly read: {\n readonly entry: ({ at }?: {\n at?: Location | null;\n }) => {\n codeBlock: NodeEntry & Readonly<{} & {\n language?: string | undefined;\n }>>;\n } | undefined;\n readonly indentDepth: () => number;\n readonly isEmpty: () => boolean;\n };\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockInsertOptions) => boolean>;\n readonly resetBlock: () => boolean;\n readonly selectAll: () => boolean;\n readonly tab: TxDeclaredMethod<({ reverse }?: {\n reverse?: boolean;\n }) => boolean>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n readonly upsert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockUpsertOptions) => boolean>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:CodeBlockRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "CodeBlockRules", "runtime": true, "signature": "CodeBlockRules: {\n markdown: ({ block, enabled, fence, on, priority }: {\n block?: PluginReference | string;\n enabled?: (context: SelectionInputRuleContext) => boolean;\n fence?: string;\n on: 'break' | 'match';\n priority?: number;\n }) => InsertBreakInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference$1[]>> | InsertTextInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference$1[]>>;\n}", "source": null, "typeParameters": [] }, "platejs/react:CodeHighlightDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "CodeHighlightDefinition", "runtime": false, "signature": "type CodeHighlightDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:CodeHighlightLowlight": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "CodeHighlightLowlight", "runtime": false, "signature": "type CodeHighlightLowlight = {\n highlight(language: string, value: string, options?: Readonly<{\n prefix?: string | null;\n }> | null): HighlightResult;\n listLanguages(): string[];\n registered(aliasOrName: string): boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:CodeHighlightPlugin": { "aliases": [], "documentation": "Adds Lowlight syntax highlighting to code blocks.", "entrypoint": "platejs/react", "kind": "const", "name": "CodeHighlightPlugin", "runtime": true, "signature": "CodeHighlightPlugin: Plugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"language\";\n localId: \"language\";\n ownerName: \"codeBlock\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n }> & Readonly {\n codeBlock: NodeEntry & Readonly<{} & {\n language?: string | undefined;\n }>>;\n } | undefined;\n readonly indentDepth: () => number;\n readonly isEmpty: () => boolean;\n }>> & Readonly;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n readonly max: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly ownsExit: true;\n readonly properties: {\n language: PropertyStringDescriptor>;\n };\n readonly slice: {\n readonly preserveContext: true;\n };\n };\n }>> & Readonly & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockInsertOptions) => boolean>;\n readonly resetBlock: () => boolean;\n readonly selectAll: () => boolean;\n readonly tab: TxDeclaredMethod<({ reverse }?: {\n reverse?: boolean;\n }) => boolean>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n readonly upsert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockUpsertOptions) => boolean>;\n }>> & Readonly>> & Pick>;\n key: \"language\";\n localId: \"language\";\n ownerName: \"codeBlock\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n readonly max: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly ownsExit: true;\n readonly properties: {\n language: PropertyStringDescriptor>;\n };\n readonly slice: {\n readonly preserveContext: true;\n };\n };\n };\n readonly shortcuts: true;\n readonly name: \"codeBlock\";\n readonly commands: true;\n readonly contributions: true;\n readonly dataTransferFormats: true;\n readonly formats: true;\n readonly read: {\n readonly entry: ({ at }?: {\n at?: Location | null;\n }) => {\n codeBlock: NodeEntry & Readonly<{} & {\n language?: string | undefined;\n }>>;\n } | undefined;\n readonly indentDepth: () => number;\n readonly isEmpty: () => boolean;\n };\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockInsertOptions) => boolean>;\n readonly resetBlock: () => boolean;\n readonly selectAll: () => boolean;\n readonly tab: TxDeclaredMethod<({ reverse }?: {\n reverse?: boolean;\n }) => boolean>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n readonly upsert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly name: \"codeSyntax\";\n readonly conflicts: readonly [];\n readonly enabled: boolean;\n readonly targetPlugins: readonly [];\n readonly corrections?: true | undefined;\n readonly initialViewState?: {} | undefined;\n readonly inputRules?: true | undefined;\n readonly decorate: true;\n readonly dataTransferFormats?: true | undefined;\n readonly formats?: true | undefined;\n readonly inject?: true | undefined;\n readonly on: true;\n readonly render: true;\n readonly shortcuts?: true | undefined;\n readonly api: {};\n readonly initialState: {\n readonly defaultLanguage: string | null;\n readonly lowlight: {\n readonly highlight: (language: string, value: string, options?: Readonly<{\n prefix?: string | null;\n }> | null) => HighlightResult;\n readonly listLanguages: () => string[];\n readonly registered: (aliasOrName: string) => boolean;\n } | null;\n };\n readonly read: {};\n readonly selectors: {};\n readonly update: {};\n}>, \"dependencies\" | \"name\"> & Readonly<{\n name: \"codeSyntax\";\n}> & Readonly<{\n dependencies: readonly [Plugin>;\n key: \"language\";\n localId: \"language\";\n ownerName: \"codeBlock\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n readonly max: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly ownsExit: true;\n readonly properties: {\n language: PropertyStringDescriptor>;\n };\n readonly slice: {\n readonly preserveContext: true;\n };\n };\n };\n readonly shortcuts: true;\n readonly name: \"codeBlock\";\n readonly commands: true;\n readonly contributions: true;\n readonly dataTransferFormats: true;\n readonly formats: true;\n readonly read: {\n readonly entry: ({ at }?: {\n at?: Location | null;\n }) => {\n codeBlock: NodeEntry & Readonly<{} & {\n language?: string | undefined;\n }>>;\n } | undefined;\n readonly indentDepth: () => number;\n readonly isEmpty: () => boolean;\n };\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockInsertOptions) => boolean>;\n readonly resetBlock: () => boolean;\n readonly selectAll: () => boolean;\n readonly tab: TxDeclaredMethod<({ reverse }?: {\n reverse?: boolean;\n }) => boolean>;\n readonly toggle: () => boolean;\n readonly untab: () => boolean;\n readonly upsert: TxDeclaredMethod<(input?: Pick & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, Readonly<{\n text: string;\n }> & Readonly<{} & {}>> | undefined;\n }> & Readonly<{\n children: BaseElement['children'];\n type: \"codeBlock\";\n }> & Readonly<{} & {\n language?: string | undefined;\n }> & Readonly>, \"language\">, options?: BlockUpsertOptions) => boolean>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs/react:CodeHighlightPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "CodeHighlightPluginState", "runtime": false, "signature": "type CodeHighlightPluginState = {\n defaultLanguage: string | null;\n lowlight: CodeHighlightLowlight | null;\n};", "source": null, "typeParameters": [] }, "platejs/react:CodePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "CodePlugin", "runtime": true, "signature": "CodePlugin: Plugin & Readonly<{\n name: \"code\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"code\";\n localId: \"code\";\n ownerName: \"code\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:CodeRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "CodeRules", "runtime": true, "signature": "CodeRules: {\n markdown: (options?: MarkdownMarkRuleOptions) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs/react:CollapseSelectionCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "CollapseSelectionCommand", "runtime": false, "signature": "type CollapseSelectionCommand = {\n options?: SelectionCollapseOptions;\n};", "source": null, "typeParameters": [] }, "platejs/react:CommitContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "CommitContext", "runtime": false, "signature": "type CommitContext = Omit & {\n editor: E;\n};", "source": null, "typeParameters": [ "E = Editor" ] }, "platejs/react:CompatibleEditorCommand": { "aliases": [], "documentation": "A command accepted only when the actual editor meets its requirements.", "entrypoint": "platejs/react", "kind": "type", "name": "CompatibleEditorCommand", "runtime": false, "signature": "type CompatibleEditorCommand = IsDefaultEditor> extends true ? TCommand : EditorCommandCapabilities extends EditorCommandCapabilities> ? TCommand : never;", "source": null, "typeParameters": [ "TEditor", "TCommand extends EditorCommandDescriptor" ] }, "platejs/react:compileEditorSchemaContract": { "aliases": [], "documentation": "Compile plugins against one unchanged raw editor without publishing them.\nAPI factories and schema validators run; document defaults and activation do not.", "entrypoint": "platejs/react", "kind": "const", "name": "compileEditorSchemaContract", "runtime": true, "signature": "compileEditorSchemaContract: (editor: AnyEditor, input: PluginInput) => Readonly<{\n diagnostics: readonly EditorSchemaDiagnostic[];\n elements: Readonly<{\n allowedChildren: ReadonlyArray;\n allowedParents: ReadonlyArray;\n byType: readonly EditorSchemaContractElement[];\n contentPrograms: ReadonlyArray]>;\n defaultPlans: ReadonlyArray;\n groups: ReadonlyArray;\n textGroups: readonly string[];\n wrapperPlans: ReadonlyArray;\n }>;\n fingerprint: string;\n formatVersion: 1;\n identity: EditorSchemaIdentity;\n primaryRoot: EditorSchemaContractRoot;\n properties: Readonly<{\n byId: readonly StructuralCompiledSchemaProperty[];\n conflictsByPropertyId: ReadonlyArray;\n elementAllowedByType: ReadonlyArray;\n lifecycle: ReadonlyArray;\n split: 'drop' | 'preserve';\n typeChange: 'drop' | 'preserve-if-allowed';\n unique?: true;\n }>]>;\n lookup: Readonly<{\n element: Readonly<{\n exact: ReadonlyArray;\n prefixes: readonly CompiledSchemaPropertyKeyPrefix[];\n }>;\n text: Readonly<{\n exact: ReadonlyArray;\n prefixes: readonly CompiledSchemaPropertyKeyPrefix[];\n }>;\n }>;\n mergeStrategies: ReadonlyArray;\n membersByExclusiveGroup: ReadonlyArray;\n textAllowedByParentType: ReadonlyArray;\n }>;\n revision: number;\n roots: readonly EditorSchemaContractRoot[];\n storageRevision?: 1 | 2;\n unknown: EditorSchemaUnknownPolicy;\n vocabulary: CompiledSchemaVocabulary;\n}>", "source": null, "typeParameters": [] }, "platejs/react:ConfiguredBasePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ConfiguredBasePlugin", "runtime": false, "signature": "type ConfiguredBasePlugin = Omit, 'configure' | 'extend'> & ConfiguredPluginDescriptor & {\n configure: never;\n extend: never;\n} & PluginReference;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:ConfiguredPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ConfiguredPlugin", "runtime": false, "signature": "type ConfiguredPlugin = PluginDescriptor & ConfiguredPluginDescriptor & {\n configure: never;\n extend: never;\n} & PluginReference$1;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:ContainerSiblingProps": { "aliases": [], "documentation": "Props passed to components rendered beside the Plate container.", "entrypoint": "platejs/react", "kind": "type", "name": "ContainerSiblingProps", "runtime": false, "signature": "type ContainerSiblingProps = {\n /** The mounted container element owned by this Plate view. */\n readonly containerRef: React$1.RefObject;\n};", "source": null, "typeParameters": [] }, "platejs/react:ContentRootController": { "aliases": [], "documentation": "Resolved child root and chrome controller for nested editable content.", "entrypoint": "platejs/react", "kind": "type", "name": "ContentRootController", "runtime": false, "signature": "type ContentRootController = {\n chrome: RootChromeController;\n root: NamedRootKey;\n};", "source": null, "typeParameters": [] }, "platejs/react:ContentSlice": { "aliases": [], "documentation": "Immutable open document content carried across host and insertion boundaries.", "entrypoint": "platejs/react", "kind": "type", "name": "ContentSlice", "runtime": true, "signature": "type ContentSlice = ContentSlice$1;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:createBlockFenceInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "function", "name": "createBlockFenceInputRule", "runtime": true, "signature": "declare function createBlockFenceInputRule(config: BlockFenceInputRuleConfig): InsertBreakInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, readonly PluginReference$1[]>> | InsertTextInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, readonly PluginReference$1[]>>;", "source": null, "typeParameters": [ "TMatch = BlockFenceInputRuleMatch" ] }, "platejs/react:createBlockStartInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "createBlockStartInputRule", "runtime": true, "signature": "createBlockStartInputRule: (config: BlockStartInputRuleConfig) => InsertTextInputRule>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, readonly PluginReference$1[]>>", "source": null, "typeParameters": [] }, "platejs/react:createEditor": { "aliases": [], "documentation": "Creates a Plate editor (React version).\n\nThis function creates a fully configured Plate editor instance with\nReact-specific enhancements including component rendering, event handlers,\nand hooks integration. It applies all specified plugins and configurations to\ncreate a functional editor.\n\nExamples:\n\n```ts\nconst editor = createEditor({\n plugins: [ParagraphPlugin, HeadingPlugin],\n initialValue: [{ type: 'paragraph', children: [{ text: 'Hello world!' }] }],\n});\n\n// Editor with custom components\nconst editor = createEditor({\n plugins: [\n ParagraphPlugin.configure({ component: ParagraphElement }),\n CodePlugin.configure({ component: CodeLeaf }),\n ],\n});\n\n// Editor-wide React behavior, such as a key handler, goes in an app plugin\nconst AppPlugin = definePlugin('app', {\n on: { keyDown: customKeyHandler },\n});\nconst editor = createEditor({\n plugins: [AppPlugin, ParagraphPlugin],\n});\n\n// Name the schema only when persisted or collaborative state needs lineage.\nconst persistedEditor = createEditor({\n schema: { id: 'acme-document', version: 1 },\n});\n```", "entrypoint": "platejs/react", "kind": "function", "name": "createEditor", "runtime": true, "signature": "declare function createEditor(options?: CreateEditorOptions): Editor;", "source": null, "typeParameters": [ "const TSchema extends EditorApplicationSchema | undefined = undefined" ] }, "platejs/react:CreateEditorOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "CreateEditorOptions", "runtime": false, "signature": "type CreateEditorOptions = Partial, 'id' | 'plugins' | 'schema'>> & {\n /** Stable logical identity for the created editor. */\n id?: string;\n initialValue?: ((context: {\n editor: Editor, TSchema>;\n }) => EditorValueInput) | EditorValueInput;\n plugins?: TPlugins;\n schema?: TSchema;\n};", "source": null, "typeParameters": [ "TPlugins extends readonly PluginReference[] = readonly PluginInput[]", "TSchema extends EditorApplicationSchema | undefined = EditorApplicationSchema | undefined" ] }, "platejs/react:createEditorView": { "aliases": [], "documentation": "Create a root-scoped editor view while preserving layered capabilities.", "entrypoint": "platejs/react", "kind": "const", "name": "createEditorView", "runtime": true, "signature": "createEditorView: CreateEditorView", "source": null, "typeParameters": [] }, "platejs/react:createHotkey": { "aliases": [], "documentation": "Create a platform-aware hotkey checker.", "entrypoint": "platejs/react", "kind": "const", "name": "createHotkey", "runtime": true, "signature": "createHotkey: (key: string) => (event: KeyboardEventLike) => boolean", "source": null, "typeParameters": [] }, "platejs/react:CreateLinkNodeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "CreateLinkNodeOptions", "runtime": false, "signature": "type CreateLinkNodeOptions = {\n url: string;\n children?: Text$1[];\n target?: string;\n text?: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:createMarkInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "createMarkInputRule", "runtime": true, "signature": "createMarkInputRule: (config: MarkInputRuleConfig) => InsertTextInputRule", "source": null, "typeParameters": [] }, "platejs/react:createTextSubstitutionInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "createTextSubstitutionInputRule", "runtime": true, "signature": "createTextSubstitutionInputRule: ({ enabled, patterns, priority }: TextSubstitutionInputRuleConfig) => InsertTextInputRule<{\n end: string;\n pattern: TextSubstitutionPattern;\n points: {\n afterStartMatchPoint: BasePoint | undefined;\n beforeEndMatchPoint: BasePoint;\n beforeStartMatchPoint: BasePoint | undefined;\n };\n}, InternalBaseEditorWithInstalledPlugins>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n}>, readonly PluginReference$1[]>>", "source": null, "typeParameters": [] }, "platejs/react:DebugApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DebugApi", "runtime": false, "signature": "type DebugApi = {\n error: (message: unknown, type?: DebugErrorType, details?: unknown) => void;\n info: LogFunction;\n log: LogFunction;\n warn: LogFunction;\n};", "source": null, "typeParameters": [] }, "platejs/react:DebugDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DebugDefinition", "runtime": false, "signature": "type DebugDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:DebugErrorType": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DebugErrorType", "runtime": false, "signature": "type DebugErrorType = (string & {}) | 'DEFAULT' | 'OVERRIDE_MISSING' | 'PLUGIN_DEPENDENCY_MISSING' | 'PLUGIN_MISSING' | 'USE_CREATE_PLUGIN' | 'USE_ELEMENT_CONTEXT';", "source": null, "typeParameters": [] }, "platejs/react:DebugPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "DebugPlugin", "runtime": true, "signature": "DebugPlugin: BasePlugin & Readonly<{\n name: \"debug\";\n}> & Readonly> & Readonly<{\n initialState: {\n readonly isProduction: boolean;\n readonly logger: {\n readonly error?: LogFunction | undefined;\n readonly info?: LogFunction | undefined;\n readonly log?: LogFunction | undefined;\n readonly warn?: LogFunction | undefined;\n };\n readonly logLevel: LogLevel;\n readonly throwErrors: boolean;\n };\n}> & Readonly<{\n api: {\n readonly error: (message: unknown, type?: DebugErrorType, details?: unknown) => void;\n readonly info: (message: string, type?: DebugErrorType, details?: unknown) => void;\n readonly log: (message: string, type?: DebugErrorType, details?: unknown) => void;\n readonly warn: (message: string, type?: DebugErrorType, details?: unknown) => void;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:DebugPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DebugPluginState", "runtime": false, "signature": "type DebugPluginState = {\n isProduction: boolean;\n logger: Partial>;\n logLevel: LogLevel;\n throwErrors: boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:DebugValueScrubber": { "aliases": [], "documentation": "Hook for replacing values before debug output is stringified.", "entrypoint": "platejs/react", "kind": "type", "name": "DebugValueScrubber", "runtime": false, "signature": "type DebugValueScrubber = (key: string, value: unknown) => unknown;", "source": null, "typeParameters": [] }, "platejs/react:DeclaredPluginShortcutInput": { "aliases": [], "documentation": "Shortcut declarations for capabilities already named by an explicit config.", "entrypoint": "platejs/react", "kind": "type", "name": "DeclaredPluginShortcutInput", "runtime": false, "signature": "type DeclaredPluginShortcutInput = Partial<{ [K in PluginShortcutApiKey | PluginShortcutUpdateKey]: PluginShortcutForKey | null; }>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition", "TShortcut = EditorShortcut" ] }, "platejs/react:decodeEditorEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "decodeEditorEffect", "runtime": true, "signature": "decodeEditorEffect: (type: EditorEffectType, input: unknown) => EditorEffect", "source": null, "typeParameters": [] }, "platejs/react:Decorate": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Decorate", "runtime": false, "signature": "type Decorate = Readonly<{\n /** Pure presentation applied after read. Observation remains owned by observe. */\n attributes?: DecorationAttributes | ((context: PluginContext & {\n decoration: Decoration;\n entry: NodeEntry;\n }) => DecorationAttributes) | null;\n observe?: (context: PluginContext & {\n refresh: (input: DecorationRefresh) => void;\n }) => () => void;\n read: (context: PluginContext & {\n entry: NodeEntry;\n }) => readonly Decoration[];\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:Decoration": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Decoration", "runtime": false, "signature": "type Decoration = Readonly<{\n attributes: DecorationAttributes;\n key: string;\n range: Range;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:DecorationAttributes": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DecorationAttributes", "runtime": false, "signature": "type DecorationAttributes = Readonly<{\n className?: string;\n style?: Readonly>;\n} & {\n [name: `aria-${string}`]: DecorationAttributeValue;\n [name: `data-${string}`]: DecorationAttributeValue;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:DecorationRefresh": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DecorationRefresh", "runtime": false, "signature": "type DecorationRefresh = Readonly<{\n nodeKeys: 'all' | readonly NodeKey[];\n}>;", "source": null, "typeParameters": [] }, "platejs/react:DecorationSource": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DecorationSource", "runtime": false, "signature": "type DecorationSource = Readonly<{\n id: string;\n /** Attach external ownership before the source's first mounted read. */\n observe?: (context: {\n editor: E;\n refresh: (input: DecorationRefresh) => void;\n }) => () => void;\n read: (context: {\n editor: E;\n entry: NodeEntry;\n }) => readonly Decoration[];\n}>;", "source": null, "typeParameters": [ "E = Editor" ] }, "platejs/react:defaultsDeepToNodes": { "aliases": [], "documentation": "Recursively merge a source object to children nodes with a query.", "entrypoint": "platejs/react", "kind": "const", "name": "defaultsDeepToNodes", "runtime": true, "signature": "defaultsDeepToNodes: (options: Omit, 'apply'>) => void", "source": null, "typeParameters": [] }, "platejs/react:defineCommand": { "aliases": [ "defineCommand$1" ], "documentation": "Define a semantic command with descriptor-owned identity and pure behavior.", "entrypoint": "platejs/react", "kind": "const", "name": "defineCommand", "runtime": true, "signature": "defineCommand$1: = Editor>(id: string, spec?: CommandDefinitionSpec) => EditorCommand", "source": null, "typeParameters": [] }, "platejs/react:defineEditorSchema": { "aliases": [], "documentation": "Define one complete schema as a nominal editor plugin.", "entrypoint": "platejs/react", "kind": "const", "name": "defineEditorSchema", "runtime": true, "signature": "defineEditorSchema: (name: N, definition: EditorSchemaDefinitionInput) => Plugin;\n}>, N>>", "source": null, "typeParameters": [] }, "platejs/react:defineEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "defineEffect", "runtime": true, "signature": "defineEffect: (options: DefineEffectOptions) => EditorEffectType", "source": null, "typeParameters": [] }, "platejs/react:defineInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "function", "name": "defineInputRule", "runtime": true, "signature": "declare function defineInputRule(rule: InsertBreakInputRule): InsertBreakInputRule;", "source": null, "typeParameters": [ "TMatch = true", "TEditor extends Editor = Editor" ] }, "platejs/react:definePlugin": { "aliases": [], "documentation": "Create one exact React-capable Plate definition.\nEvery top-level state field needs a defined default; use `null` for an empty\nvalue. Nested domain objects may retain optional properties.", "entrypoint": "platejs/react", "kind": "function", "name": "definePlugin", "runtime": true, "signature": "declare function definePlugin object, const TApi extends object = {}, const TUpdate extends object = {}, const TSchema extends PluginSchemaDeclaration = never, const D extends PluginDependencies = readonly [], const TConflicts extends PluginDependencies = readonly [], const TTargetPlugins extends ReadonlyArray = readonly [], const TRead extends object = {}, const TSelectors extends PluginSelectors> = {}, const TEnabled extends boolean = boolean, TViewState extends object = 'initialViewState' extends TKeys ? ReturnType : {}>(name: N, definition: Readonly> & Readonly<{\n schema?: PluginConstructorSchemaInput, PluginConstructorState, TTargetPlugins, TSchema>;\n}> & PluginConstructorRestInput, PluginConstructorState, NoInfer<'schema' extends TKeys ? TSchema : never>, TTargetPlugins, TViewState> & ('decorate' extends TKeys ? Readonly<{\n decorate: Decorate, PluginConstructorState, 'schema' extends TKeys ? TSchema : never, TTargetPlugins, TViewState>>>;\n}> : Readonly<{\n decorate?: never;\n}>) & ('initialState' extends TKeys ? Readonly<{\n initialState: PluginConstructorInitialStateInput, TTargetPlugins>;\n}> & Readonly<{\n initialState: TInitialStateInput & PluginInitialStateInput>;\n}> : Readonly<{\n initialState?: never;\n}>) & ('initialViewState' extends TKeys ? Readonly<{\n initialViewState: TInitialViewStateInput & PluginInitialStateInput>;\n}> : Readonly<{\n initialViewState?: never;\n}>) & PluginConstructorStagedStateConsumerInput, PluginConstructorState, 'schema' extends TKeys ? TSchema : never, TApi, TRead, TSelectors, TUpdate, TTargetPlugins, TViewState> & ('shortcuts' extends TKeys ? Readonly<{\n shortcuts?: ValidatedShortcuts, PluginConstructorState, TSchema, TTargetPlugins, TViewState>, Shortcuts>;\n}> : Readonly>) & Readonly<{\n conflicts?: TConflicts;\n dependencies?: D;\n enabled?: TEnabled;\n targetPlugins?: TTargetPlugins;\n}>): Plugin, TApi, TRead, TSelectors, TUpdate, TEnabled, 'schema' extends TKeys ? TSchema : never, TTargetPlugins, TViewState>>, 'dependencies'> & ('dependencies' extends TKeys ? Readonly<{\n dependencies: PluginConstructorDependencies;\n}> : Readonly>)>>;", "source": null, "typeParameters": [ "const N extends string", "const TKeys extends PluginConstructorKey", "TInitialStateInput", "TInitialViewStateInput extends () => object", "const TApi extends object = {}", "const TUpdate extends object = {}", "const TSchema extends PluginSchemaDeclaration = never", "const D extends PluginDependencies = readonly []", "const TConflicts extends PluginDependencies = readonly []", "const TTargetPlugins extends ReadonlyArray = readonly []", "const TRead extends object = {}", "const TSelectors extends PluginSelectors> = {}", "const TEnabled extends boolean = boolean", "TViewState extends object = 'initialViewState' extends TKeys ? ReturnType : {}" ] }, "platejs/react:definePluginPoint": { "aliases": [], "documentation": "Define a typed plugin point for ordered cross-plugin contributions.", "entrypoint": "platejs/react", "kind": "const", "name": "definePluginPoint", "runtime": true, "signature": "definePluginPoint: (id: string) => PluginPoint", "source": null, "typeParameters": [] }, "platejs/react:definePluginSlot": { "aliases": [], "documentation": "Define a named plugin boundary that can be replaced as one atomic unit.", "entrypoint": "platejs/react", "kind": "const", "name": "definePluginSlot", "runtime": true, "signature": "definePluginSlot: (key: TKey) => PluginSlot", "source": null, "typeParameters": [] }, "platejs/react:defineStateField": { "aliases": [], "documentation": "Creates an editor-scoped state field from a keyed descriptor.\n\nState fields register when their plugin is installed and are read through\nthe editor state API.", "entrypoint": "platejs/react", "kind": "const", "name": "defineStateField", "runtime": true, "signature": "defineStateField: (descriptor: StateFieldDescriptor) => EditorStateField", "source": null, "typeParameters": [] }, "platejs/react:defineUpdateAnnotation": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "defineUpdateAnnotation", "runtime": true, "signature": "defineUpdateAnnotation: (options: DefineUpdateAnnotationOptions) => EditorUpdateAnnotation", "source": null, "typeParameters": [] }, "platejs/react:DefinitionOf": { "aliases": [], "documentation": "Extract the exact normalized public definition from a Base or Plate descriptor.", "entrypoint": "platejs/react", "kind": "type", "name": "DefinitionOf", "runtime": false, "signature": "type DefinitionOf

          = P extends unknown ? [ExactPluginDefinitionOf$1

          ] extends [never] ? DefinitionOf$1

          extends (infer D extends AnyBasePluginDefinition) ? D : never : ExactPluginDefinitionOf$1

          extends (infer D extends AnyBasePluginDefinition) ? PublicPluginDefinition : never : never;", "source": null, "typeParameters": [ "P" ] }, "platejs/react:DeleteCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DeleteCommand", "runtime": false, "signature": "type DeleteCommand = {\n direction: 'backward' | 'forward';\n unit: TextUnit;\n};", "source": null, "typeParameters": [] }, "platejs/react:DeleteFragmentCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DeleteFragmentCommand", "runtime": false, "signature": "type DeleteFragmentCommand = {\n at?: NodeTarget;\n direction: 'backward' | 'forward';\n};", "source": null, "typeParameters": [] }, "platejs/react:DeleteRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DeleteRules", "runtime": false, "signature": "type DeleteRules = {\n /**\n * Action when Backspace is pressed at the start of the block. This applies\n * whether the block is empty or not.\n *\n * Example:\n *\n * ```tsx\n *

          \n * |Text\n *
          \n * ```\n */\n start?: RuleDecision<'default' | 'lift' | 'reset', C>;\n /**\n * Action when a deletion starts from or leaves the block empty. `'reset'`\n * converts the emptied block to its container's default type; when the\n * container has no default it can become, the deletion stays and the block\n * keeps its type.\n */\n empty?: RuleDecision<'default' | 'reset', C>;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:DelimitedInlineInputRuleMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DelimitedInlineInputRuleMatch", "runtime": false, "signature": "type DelimitedInlineInputRuleMatch = {\n content: string;\n deleteRange: Range;\n};", "source": null, "typeParameters": [] }, "platejs/react:DerivedEditorSchemaIdentity": { "aliases": [], "documentation": "Exact semantic identity for a schema without application-owned lineage.", "entrypoint": "platejs/react", "kind": "type", "name": "DerivedEditorSchemaIdentity", "runtime": false, "signature": "type DerivedEditorSchemaIdentity = Readonly<{\n fingerprint: string;\n kind: 'derived';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:Descendant": { "aliases": [], "documentation": "The `Descendant` union type represents nodes that are descendants in the\ntree. It is returned as a convenience in certain cases to narrow a value\nfurther than the more generic `Node` union.", "entrypoint": "platejs/react", "kind": "type", "name": "Descendant", "runtime": false, "signature": "type Descendant = Element | Text;", "source": null, "typeParameters": [] }, "platejs/react:DescendantEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DescendantEntry", "runtime": false, "signature": "type DescendantEntry = NodeEntry>;", "source": null, "typeParameters": [ "N = Node" ] }, "platejs/react:DescendantEntryIn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DescendantEntryIn", "runtime": false, "signature": "type DescendantEntryIn = NodeEntry>;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs/react:DescendantEntryOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DescendantEntryOf", "runtime": false, "signature": "type DescendantEntryOf = NodeEntry>;", "source": null, "typeParameters": [ "E" ] }, "platejs/react:DescendantIn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DescendantIn", "runtime": false, "signature": "type DescendantIn = DescendantOf;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs/react:DescendantOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DescendantOf", "runtime": false, "signature": "type DescendantOf = N extends {\n getChildren: () => infer V;\n} ? V extends ReadonlyArray ? ElementOf | TextOf : never : N extends AnyEditor ? DescendantIn : N extends Element ? ElementOf | TextOf : N extends Text ? N : never;", "source": null, "typeParameters": [ "N" ] }, "platejs/react:diffEditorSchemaContracts": { "aliases": [], "documentation": "Classify structural compatibility without inventing a semantic migration.", "entrypoint": "platejs/react", "kind": "const", "name": "diffEditorSchemaContracts", "runtime": true, "signature": "diffEditorSchemaContracts: (previousInput: unknown, nextInput: unknown) => EditorSchemaContractDiff", "source": null, "typeParameters": [] }, "platejs/react:DocumentChange": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "class", "name": "DocumentChange", "runtime": true, "signature": "declare class DocumentChange {\n static readonly empty: DocumentChange;\n /** Named roots created by this change. */\n readonly createRoots: ReadonlySet;\n /** Named roots deleted by this change. */\n readonly deleteRoots: ReadonlySet;\n /** Derived classification for the primary change. */\n readonly primaryClassification: DocumentChangeRootClassification | null;\n /** Derived classifications keyed only by named roots. */\n readonly rootClassifications: ReadonlyMap;\n private constructor();\n static between(before: JsonEditorValue, after: JsonEditorValue, options?: Readonly<{\n isSetValued?: DocumentSetPropertyResolver;\n }>): DocumentChange;\n get empty(): boolean;\n /** Validate a document change without relying on constructor identity. */\n static isDocumentChange(value: unknown): value is DocumentChange;\n static fromJSON(json: DocumentChangeJson): DocumentChange;\n /**\n * Rebase two changes from the same value for pairwise convergence.\n * Multi-peer ordering belongs to a collaboration adapter such as Yjs.\n */\n static transform(a: DocumentChange, b: DocumentChange, value: JsonEditorValue): {\n a: DocumentChange;\n b: DocumentChange;\n };\n /**\n * Compose sequential changes. Overlapping root lifecycle transitions require\n * the source value because deleting a root discards content that no\n * value-free change algebra can recover.\n */\n compose(other: DocumentChange, value?: JsonEditorValue): DocumentChange;\n /** Compose one transaction-wide structural correction into this change. */\n correct(value: JsonEditorValue, correction: DocumentCorrection): DocumentChange;\n iterChangedRanges(visit: (root: string | null, fromA: number, toA: number, fromB: number, toB: number) => void): void;\n mapPosition(position: number, options?: DocumentChangeMapPositionOptions): number | null;\n apply(value: T): T;\n invert(value: JsonEditorValue): DocumentChange;\n toJSON(): DocumentChangeJson;\n}", "source": null, "typeParameters": [] }, "platejs/react:documentReplacement": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "documentReplacement", "runtime": true, "signature": "documentReplacement: Readonly<{\n combine: (previous: boolean, next: boolean) => boolean;\n key: string;\n}>", "source": null, "typeParameters": [] }, "platejs/react:DomApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DomApi", "runtime": false, "signature": "type DomApi = AutoScrollApi & DOMApi & {\n clipboard: DOMClipboardApi;\n};", "source": null, "typeParameters": [] }, "platejs/react:DOMHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DOMHandler", "runtime": false, "signature": "type DOMHandler = (ctx: PluginContext & {\n event: EV;\n}) => HandlerReturnType;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition", "EV = {}" ] }, "platejs/react:DOMHandlers": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DOMHandlers", "runtime": false, "signature": "type DOMHandlers = { [K in DOMHandlerProp as K extends 'onDOMBeforeInput' ? 'domBeforeInput' : K extends `on${infer Name}` ? Uncapitalize : never]?: DOMHandler ? Parameters[K]>>[0] : never>; };", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:DomPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DomPluginState", "runtime": false, "signature": "type DomPluginState = {\n /** Choose the first or last matching change as the scroll target. */\n scrollMode: ScrollMode;\n /** Change map; true enables scrolling for that canonical change kind. */\n scrollChanges: AutoScrollChangesMap;\n /** Options passed to scrollIntoView. */\n scrollOptions: ScrollIntoViewOptions;\n};", "source": null, "typeParameters": [] }, "platejs/react:DomPluginUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "DomPluginUpdate", "runtime": false, "signature": "type DomPluginUpdate = AutoScrollPluginUpdate & Pick;", "source": null, "typeParameters": [] }, "platejs/react:EditableDOMBeforeInputContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableDOMBeforeInputContext", "runtime": false, "signature": "type EditableDOMBeforeInputContext = EditableInputEventContext & {\n event: InputEvent;\n inputType: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditableDOMBeforeInputHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableDOMBeforeInputHandler", "runtime": false, "signature": "type EditableDOMBeforeInputHandler = (event: InputEvent, context: EditableDOMBeforeInputContext) => EditableHandlerResult;", "source": null, "typeParameters": [] }, "platejs/react:EditableDOMCoverageBoundaryMaterializePayload": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableDOMCoverageBoundaryMaterializePayload", "runtime": false, "signature": "type EditableDOMCoverageBoundaryMaterializePayload = DOMCoverageBoundaryMaterializePayload;", "source": null, "typeParameters": [] }, "platejs/react:EditableDOMCoverageBoundaryPlaceholderContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableDOMCoverageBoundaryPlaceholderContext", "runtime": false, "signature": "type EditableDOMCoverageBoundaryPlaceholderContext = {\n materialize: () => void;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditableDOMCoverageBoundaryProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableDOMCoverageBoundaryProps", "runtime": false, "signature": "type EditableDOMCoverageBoundaryProps = {\n boundaryId?: string;\n children?: ReactNode;\n copyPolicy?: DOMCoverageCopyPolicy;\n mounted?: boolean;\n onMaterialize?: (payload: DOMCoverageBoundaryMaterializePayload) => void;\n reason?: DOMCoverageReason;\n renderPlaceholder?: (context: EditableDOMCoverageBoundaryPlaceholderContext) => ReactNode;\n scope: EditableDOMCoverageBoundaryScope;\n selectionPolicy?: DOMCoverageSelectionPolicy;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditableDOMCoverageBoundaryScope": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableDOMCoverageBoundaryScope", "runtime": false, "signature": "type EditableDOMCoverageBoundaryScope = {\n from: number;\n to?: number;\n type: 'children';\n} | {\n type: 'self';\n};", "source": null, "typeParameters": [] }, "platejs/react:EditableDropResult": { "aliases": [], "documentation": "What one drop the Editable settled did.", "entrypoint": "platejs/react", "kind": "type", "name": "EditableDropResult", "runtime": false, "signature": "type EditableDropResult = Readonly<{\n kind: 'data';\n /** Format reports for external data inserted on the paste path. */\n diagnostics: readonly DataTransferDiagnostic[];\n inserted: boolean;\n}> | Readonly<{\n kind: 'transfer';\n outcome: TransferOutcome;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditableElementSlots": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableElementSlots", "runtime": false, "signature": "type EditableElementSlots = {\n children: (range?: {\n from?: number;\n to?: number;\n }) => ReactNode;\n /** Delegate one exact-one-Text block to an adapter while the editor owns its value. */\n externalText: (options: ExternalTextOptions) => ReactNode;\n /**\n * Renders model-present content whose editable DOM may be intentionally\n * absent, such as closed accordion bodies or inactive tab panels.\n */\n contentBoundary: (props: EditableDOMCoverageBoundaryProps) => ReactNode;\n contentRoot: (slot: string, options?: EditableContentRootSlotOptions) => ReactNode;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditableHandlerContext": { "aliases": [], "documentation": "What an editable passes each DOM handler after its event. `editor` is the\nview whose editable runs the handler, such as a content root's.", "entrypoint": "platejs/react", "kind": "type", "name": "EditableHandlerContext", "runtime": false, "signature": "type EditableHandlerContext = {\n editor: ReactRuntimeEditor;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditableHandlerResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableHandlerResult", "runtime": false, "signature": "type EditableHandlerResult = boolean | EditableRepairRequest | void;", "source": null, "typeParameters": [] }, "platejs/react:EditableHistoryReplayEvent": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableHistoryReplayEvent", "runtime": false, "signature": "type EditableHistoryReplayEvent = Readonly<{\n direction: 'redo' | 'undo';\n result: EditableHistoryReplayResult;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditableHistoryReplayResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableHistoryReplayResult", "runtime": false, "signature": "type EditableHistoryReplayResult = HistoryOutcome | Readonly<{\n reason: 'composing' | 'not-installed' | 'unmounted';\n status: 'unavailable';\n}> | Readonly<{\n /** No shown `Editable` of the presentation can edit `root`. */\n reason: 'hidden' | 'read-only';\n /** The root the replay would change, `undefined` for the primary document. */\n root: RootKey | undefined;\n status: 'unavailable';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditableInputEventContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableInputEventContext", "runtime": false, "signature": "type EditableInputEventContext = EditableHandlerContext & {\n data: unknown;\n event?: InputEvent | React$1.KeyboardEvent;\n inputType?: string;\n intent: InputIntent | null;\n native: boolean;\n selection: Range | null;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditableKeyDownHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableKeyDownHandler", "runtime": false, "signature": "type EditableKeyDownHandler = (event: React$1.KeyboardEvent, context: EditableHandlerContext) => EditableHandlerResult;", "source": null, "typeParameters": [] }, "platejs/react:EditablePasteResult": { "aliases": [], "documentation": "Outcome of one paste that an editable's built-in insertion handled.", "entrypoint": "platejs/react", "kind": "type", "name": "EditablePasteResult", "runtime": false, "signature": "type EditablePasteResult = Readonly<{\n /**\n * Reports from the format that inserted or claimed the payload, plus loss\n * from payloads that could not be used. `impact: 'lossy'` means pasted\n * content was left out.\n */\n diagnostics: readonly DataTransferDiagnostic[];\n /** Whether the paste committed content. */\n inserted: boolean;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditableProps": { "aliases": [], "documentation": "`EditableProps` are passed to the component.", "entrypoint": "platejs/react", "kind": "type", "name": "EditableProps", "runtime": false, "signature": "type EditableProps = {\n as?: any;\n disableDefaultStyles?: boolean;\n placeholder?: string;\n readOnly?: boolean;\n renderElement?: RenderElementFn;\n renderLeaf?: RenderLeafFn;\n renderText?: RenderTextFn;\n role?: string;\n style?: any;\n decorate?: (entry: NodeEntry) => Range[];\n renderPlaceholder?: (props: {\n attributes: {\n contentEditable: boolean;\n 'data-editor-placeholder': boolean;\n ref: (element: any) => void;\n style: any;\n dir?: 'rtl';\n };\n children: any;\n }) => any;\n scrollSelectionIntoView?: (editor: Editor, domRange: DOMRange) => void;\n onDOMBeforeInput?: (event: InputEvent) => void;\n [key: string]: unknown;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditableSiblingComponent": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditableSiblingComponent", "runtime": false, "signature": "type EditableSiblingComponent = (props: EditableSiblingProps) => React$1.ReactElement | null;", "source": null, "typeParameters": [] }, "platejs/react:EditableSiblingProps": { "aliases": [], "documentation": "Props passed to components rendered beside the Editable.", "entrypoint": "platejs/react", "kind": "type", "name": "EditableSiblingProps", "runtime": false, "signature": "type EditableSiblingProps = {\n /** The mounted Editable element owned by this Plate view. */\n readonly editableRef: React$1.RefObject;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditOnlyConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditOnlyConfig", "runtime": false, "signature": "type EditOnlyConfig = {\n /**\n * If true, `on` DOM event handlers are only active when the editor is not\n * read-only. Commit, transaction, node, and text observations always run.\n *\n * @default true (when `editOnly` is an object or `true` boolean)\n */\n on?: boolean;\n /**\n * If true, `inject.nodeProps` is only active when the editor is not\n * read-only.\n *\n * @default true (when `editOnly` is an object or `true` boolean)\n */\n inject?: boolean;\n /**\n * If true, `render` functions are only active when the editor is not\n * read-only.\n *\n * @default true (when `editOnly` is an object or `true` boolean)\n */\n render?: boolean;\n /**\n * If true, structural slots are only active when the editor is not read-only.\n *\n * @default true (when `editOnly` is an object or `true` boolean)\n */\n slots?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:Editor": { "aliases": [], "documentation": "Editor selected by value, runtime plugins, Plate plugins, and schema.", "entrypoint": "platejs/react", "kind": "type", "name": "Editor", "runtime": false, "signature": "type Editor = [TPlugins] extends [never] ? InternalReactEditorWithInstalledPlugins : InferEditorPlugins extends (infer D) ? InternalReactEditorWithInstalledPlugins, [TRuntimePlugins] extends [never] ? readonly [] : TRuntimePlugins> : never;", "source": null, "typeParameters": [ "V extends Value = Value", "TRuntimePlugins extends readonly unknown[] = never", "TPlugins = never", "TSchema = undefined" ] }, "platejs/react:EditorAboveOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorAboveOptions", "runtime": false, "signature": "interface EditorAboveOptions {\n at?: Location;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Ancestor", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:EditorApplicationSchema": { "aliases": [], "documentation": "Application-owned schema policy and optional persisted lineage.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorApplicationSchema", "runtime": false, "signature": "type EditorApplicationSchema = Readonly<{\n overrides?: readonly EditorSchemaOverrideInput[];\n properties?: Readonly>;\n /**\n * Primary-root grammar with a positive integer minimum. Omit it for Plate's\n * standard paragraph root. Descriptor sources must match the installed\n * plugin family; the first source in `schema.content.elements` is default.\n */\n root?: SchemaContent & (Readonly<{\n min: number;\n }> | Readonly<{\n prefix: readonly SchemaContentPrefixSlot[];\n }>);\n}> & EditorSchemaLineage;", "source": null, "typeParameters": [] }, "platejs/react:EditorBlockOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorBlockOptions", "runtime": false, "signature": "interface EditorBlockOptions {\n at?: Location;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Element = Element", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:EditorBlockToggleOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorBlockToggleOptions", "runtime": false, "signature": "type EditorBlockToggleOptions = {\n at?: NodeSelectionTarget;\n voids?: boolean;\n wrap?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorBreakExitOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorBreakExitOptions", "runtime": false, "signature": "type EditorBreakExitOptions = {\n /** Land before the exited structure instead of after it. */\n before?: boolean;\n /**\n * Which levels may be exited: the selected block when it owns its exit, then\n * its ancestors. The selected block stays the last resort.\n */\n match?: (node: Element, path: Path) => boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorCanonicalUpdateTag": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCanonicalUpdateTag", "runtime": false, "signature": "type EditorCanonicalUpdateTag = 'history-push' | 'history-merge' | 'history-skip' | 'historic' | 'paste' | 'collaboration' | 'skip-collab' | 'skip-dom-selection' | 'skip-scroll-into-view' | 'skip-selection-focus' | 'native-text-input' | 'semantic-command' | 'focus' | 'composition-start' | 'composition-end';", "source": null, "typeParameters": [] }, "platejs/react:EditorCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommand", "runtime": false, "signature": "type EditorCommand = Editor> = Readonly<{\n /** Stable configuration and diagnostics identity. */\n id: string;\n}> & PrivateEditorCommandTypes;", "source": null, "typeParameters": [ "Input = void", "TEditor extends BaseEditor = Editor" ] }, "platejs/react:EditorCommandAroundHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommandAroundHandler", "runtime": false, "signature": "type EditorCommandAroundHandler = (context: EditorCommandContext & {\n next: EditorCommandContinuation;\n}) => EditorCommandResult;", "source": null, "typeParameters": [ "Input", "TEditor = Editor" ] }, "platejs/react:EditorCommandContinuation": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommandContinuation", "runtime": false, "signature": "type EditorCommandContinuation = ((...input: [] | [input: Input]) => EditorCommandResult) & {\n /** Run downstream against the immutable state produced by the prefix. */\n after: (prefix: TransactionSpec, ...input: [] | [input: Input]) => EditorCommandResult;\n};", "source": null, "typeParameters": [ "Input" ] }, "platejs/react:EditorCommandDescriptor": { "aliases": [], "documentation": "Minimal descriptor shape shared by every semantic editor command.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommandDescriptor", "runtime": false, "signature": "type EditorCommandDescriptor = Readonly<{\n id: string;\n}> & PrivateEditorCommandTypes;", "source": null, "typeParameters": [] }, "platejs/react:EditorCommandDispatch": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommandDispatch", "runtime": false, "signature": "type EditorCommandDispatch = (command: TCommand & CompatibleEditorCommand, ...input: [EditorCommandInput] extends [void] ? [] | [input: EditorCommandInput] : [input: EditorCommandInput]) => boolean;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorCommandHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommandHandler", "runtime": false, "signature": "type EditorCommandHandler = (context: EditorCommandContext) => EditorCommandResult;", "source": null, "typeParameters": [ "Input", "TEditor = Editor" ] }, "platejs/react:EditorCommandInput": { "aliases": [], "documentation": "Input accepted by one semantic command descriptor.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommandInput", "runtime": false, "signature": "type EditorCommandInput = TCommand extends PrivateEditorCommandTypes ? Input : never;", "source": null, "typeParameters": [ "TCommand extends EditorCommandDescriptor" ] }, "platejs/react:EditorCommandPlace": { "aliases": [], "documentation": "Where a command's stored targets land in the document it decides on. A\npoint lands where typing there would land, a range keeps content at its\nedges out, and a path or a span's paths land on their nodes' paths. A node\nor node key names its node in both documents, so it stays as given. Each\ntarget keeps its kind, and `location` returns null when it has no place\nthere.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommandPlace", "runtime": false, "signature": "type EditorCommandPlace = Readonly<{\n location: (at: T) => T | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorCommandResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommandResult", "runtime": false, "signature": "type EditorCommandResult = false | TransactionSpec;", "source": null, "typeParameters": [] }, "platejs/react:editorCommands": { "aliases": [], "documentation": "Typed semantic command tokens exposed to plugin command handlers.", "entrypoint": "platejs/react", "kind": "const", "name": "editorCommands", "runtime": true, "signature": "editorCommands: EditorCommands", "source": null, "typeParameters": [] }, "platejs/react:EditorCommands": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommands", "runtime": false, "signature": "type EditorCommands = Readonly<{\n addMark: EditorCommand;\n collapse: EditorCommand;\n delete: EditorCommand;\n deleteFragment: EditorCommand;\n insertBreak: EditorCommand;\n insertNodes: EditorCommand;\n insertSoftBreak: EditorCommand;\n insertText: EditorCommand;\n move: EditorCommand;\n removeMark: EditorCommand;\n removeNodes: EditorCommand;\n replaceSlice: EditorCommand;\n select: EditorCommand;\n setNodes: EditorCommand;\n setSelection: EditorCommand;\n toggleBlock: EditorCommand;\n toggleMark: EditorCommand;\n transposeCharacter: EditorCommand;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorCommit": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommit", "runtime": false, "signature": "type EditorCommit = Readonly<{\n annotations: Readonly>;\n after: EditorSnapshot;\n before: EditorSnapshot;\n changed: EditorCommitChanged;\n changes: DocumentChange;\n inverseChanges: DocumentChange;\n dirtyStateKeys: readonly string[];\n effects: readonly EditorEffect[];\n previousVersion: number;\n selectionAfter: Selection;\n /** Named selection root, or `undefined` for the primary document. */\n selectionAfterRoot: NamedRootKey | undefined;\n selectionBefore: Selection;\n /** Named selection root, or `undefined` for the primary document. */\n selectionBeforeRoot: NamedRootKey | undefined;\n selectionChanged: boolean;\n tags: readonly EditorUpdateTag[];\n version: number;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorCommitChanged": { "aliases": [], "documentation": "Lazy commit queries derived from canonical changes and snapshot indexes.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommitChanged", "runtime": false, "signature": "type EditorCommitChanged = {\n has: (kind: EditorCommitChangeKind, root?: NamedRootKey) => boolean;\n /**\n * Whether any document root has this change kind. A record write counts as\n * a `document` and `snapshot` change too, since records hold no root.\n */\n hasAny: (kind: EditorCommitChangeKind) => boolean;\n /**\n * Whether this key has this change kind in `root`, where `undefined` means\n * the primary document. A key that left the root, or whose root the commit\n * deleted, reports `'presence'` there, not `'path'`. For `'path'` and\n * `'presence'`, a root whose children the commit did not change answers\n * `false` without reading any index.\n */\n hasNodeKey: (nodeKey: NodeKey, kind: EditorCommitRuntimeChangeKind, root: NamedRootKey | undefined) => boolean;\n /** Final-coordinate paths touching changed ranges in one document root. */\n paths: (root?: NamedRootKey) => readonly Path[];\n nodeKeys: (kind: EditorCommitRuntimeChangeKind, root?: NamedRootKey) => readonly NodeKey[];\n /** Node keys with this change kind across every document root. */\n nodeKeysAll: (kind: EditorCommitRuntimeChangeKind) => readonly NodeKey[];\n topLevelRanges: (root?: NamedRootKey) => readonly TopLevelRuntimeRange[];\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorCommitChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommitChangeKind", "runtime": false, "signature": "type EditorCommitChangeKind = 'document' | 'marks' | 'properties' | 'replace' | 'root-order' | 'selection' | 'snapshot' | 'state' | 'structure' | 'text';", "source": null, "typeParameters": [] }, "platejs/react:EditorCommitContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommitContext", "runtime": false, "signature": "type EditorCommitContext = {\n commit: EditorCommit>;\n editor: TEditor;\n snapshot: EditorSnapshot>;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorCommitHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommitHandler", "runtime": false, "signature": "type EditorCommitHandler = (context: EditorCommitContext) => void;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorCommitListener": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommitListener", "runtime": false, "signature": "type EditorCommitListener = BivariantMethod<[commit: EditorCommit, snapshot: EditorSnapshot], void>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorCommitRuntimeChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCommitRuntimeChangeKind", "runtime": false, "signature": "type EditorCommitRuntimeChangeKind = 'decoration' | 'node' | 'path' |\n/** Runtime node identities added to or removed from a document root. */\n'presence' | 'selection' | 'text';", "source": null, "typeParameters": [] }, "platejs/react:EditorContainer": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "function", "name": "EditorContainer", "runtime": true, "signature": "declare function EditorContainer({ children, ...props }: HTMLAttributes): React$1.JSX.Element;", "source": null, "typeParameters": [] }, "platejs/react:EditorContent": { "aliases": [], "documentation": "Editable with plugins.\n\n- DOM handler props\n- ReadOnly prop\n- Slots.afterEditable\n- Slots.beforeEditable\n- Plugin renderers and hooks", "entrypoint": "platejs/react", "kind": "function", "name": "EditorContent", "runtime": true, "signature": "declare function EditorContent(props: EditorContentProps): React$1.JSX.Element;", "source": null, "typeParameters": [ "TElement extends Element$1 = Element$1", "TRoot extends RootKey = RootKey" ] }, "platejs/react:EditorContentProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorContentProps", "runtime": false, "signature": "type EditorContentProps = Omit, 'renderElement' | 'renderLeaf' | 'renderPlaceholder' | 'renderText' | 'renderVoid'> & {\n /** Autofocus when it becomes editable (readOnly true -> false). */\n autoFocusOnEditable?: boolean;\n disabled?: boolean;\n ref?: React$1.Ref;\n};", "source": null, "typeParameters": [ "TElement extends Element$1 = Element$1", "TRoot extends RootKey = RootKey" ] }, "platejs/react:EditorController": { "aliases": [], "documentation": "Share the mounted editor the user focused or pressed last with controls outside individual Plate providers.", "entrypoint": "platejs/react", "kind": "function", "name": "EditorController", "runtime": true, "signature": "declare function EditorController({ children }: {\n children: React$1.ReactNode;\n}): React$1.JSX.Element;", "source": null, "typeParameters": [] }, "platejs/react:EditorCoreStateView": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCoreStateView", "runtime": false, "signature": "type EditorCoreStateView = {\n /**\n * Read the primary document children without cloning the full serializable\n * document value. Treat the returned nodes as read-only live state.\n */\n children: () => readonly [...V];\n fragment: EditorStateFragmentApi;\n getField: (field: EditorStateField) => TValue;\n lastCommit: () => EditorCommit | null;\n /** Return the stable runtime key for a live node or location. */\n key: EditorKeyApi;\n marks: EditorStateMarksApi;\n /**\n * Read persisted document metadata. Use state fields for typed access.\n */\n meta: () => Readonly> | undefined;\n nodes: EditorStateNodesApi;\n points: EditorStatePointsApi;\n ranges: EditorStateRangesApi;\n /**\n * Read a named secondary root. Use `children()` for the primary document.\n */\n root: (root: NamedRootKey) => ReadonlyArray;\n /**\n * List every named root in reading order, a root right after its first\n * owner's place, with the elements that own it. Roots no chain of owners\n * reaches from the page come last: each root no other root owns, in key\n * order, then the roots it owns. Any root left, which only a ring of owners\n * reaches, follows the same way.\n */\n roots: () => readonly EditorRootEntry[];\n runtime: EditorStateRuntimeApi;\n schema: EditorStateSchemaApi;\n selection: EditorStateSelectionApi;\n slice: EditorStateSliceApi;\n text: EditorStateTextApi;\n unique: EditorStateUniqueApi;\n value: EditorStateValueApi;\n view: EditorStateViewApi;\n};", "source": null, "typeParameters": [ "V extends Value = Value", "TSelection extends SelectionValue = SelectionValue" ] }, "platejs/react:EditorCoreUpdateMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCoreUpdateMethods", "runtime": false, "signature": "type EditorCoreUpdateMethods = {\n annotations: EditorDirectMethods;\n blocks: EditorDirectMethods>;\n break: EditorDirectMethods;\n changes: EditorDirectMethods;\n /** Dispatch a typed semantic command in one update. */\n command: EditorDirectCommandDispatch>;\n effects: EditorDirectMethods;\n plugins: EditorDirectMethods>;\n fragment: EditorDirectMethods, 'delete' | 'replace'>>;\n marks: EditorDirectMethods, 'add' | 'remove' | 'set' | 'toggle'>>;\n nodes: EditorDirectMethods, 'insert' | 'lift' | 'merge' | 'move' | 'remove' | 'replace' | 'replaceChildren' | 'split' | 'unwrap' | 'wrap'>> & Pick, 'set' | 'unset'>;\n records: EditorTransactionRecordsApi;\n roots: EditorDirectMethods>;\n slice: EditorDirectMethods, 'replace'>>;\n selection: EditorDirectMethods, 'collapse' | 'move' | 'set' | 'setNodes' | 'setPoint'>>;\n setField: BivariantFunction['setField']>;\n text: EditorDirectMethods>;\n value: EditorDirectMethods, 'repair' | 'replace'>>;\n};", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorCoreUpdateTransaction": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorCoreUpdateTransaction", "runtime": false, "signature": "type EditorCoreUpdateTransaction = Omit, 'marks' | 'nodes' | 'roots' | 'selection' | 'slice' | 'text' | 'value'> & {\n /** Track a location from the current draft until this transaction ends. */\n anchor: EditorTransactionAnchorApi;\n annotations: EditorTransactionAnnotationsApi;\n blocks: EditorTransactionBlocksApi;\n break: EditorTransactionBreakApi;\n changes: EditorTransactionChangesApi;\n effects: EditorTransactionEffectsApi;\n plugins: EditorTransactionPluginsApi;\n fragment: EditorTransactionFragmentApi;\n marks: EditorTransactionMarksApi;\n nodes: EditorTransactionNodesApi;\n records: EditorTransactionRecordsApi;\n roots: EditorTransactionRootsApi;\n slice: EditorTransactionSliceApi;\n selection: EditorTransactionSelectionApi;\n setField: (field: EditorStateField, value: StateFieldValueInput) => void;\n tags: EditorTransactionTagsApi;\n text: EditorTransactionTextApi;\n value: EditorTransactionValueApi;\n};", "source": null, "typeParameters": [ "V extends Value = Value", "TSelection extends SelectionValue = SelectionValue" ] }, "platejs/react:EditorDirectCommandDispatch": { "aliases": [], "documentation": "Dispatch a command in its own update. It answers `undefined` when the editor\nrefuses that update.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorDirectCommandDispatch", "runtime": false, "signature": "type EditorDirectCommandDispatch = (command: TCommand & CompatibleEditorCommand, ...input: [EditorCommandInput] extends [void] ? [] | [input: EditorCommandInput] : [input: EditorCommandInput]) => boolean | undefined;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorDocumentRange": { "aliases": [], "documentation": "Opaque, versioned range JSON saved alongside its document.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorDocumentRange", "runtime": false, "signature": "type EditorDocumentRange = Readonly<{\n kind: 'range';\n version: 1;\n value: unknown;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorDocumentRecords": { "aliases": [], "documentation": "Keyed data a plugin keeps beside the document's children, by record set and\nthen by record id. Records have no position, so no read of `children` or\n`roots` meets them, and a set never drops a record while people edit.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorDocumentRecords", "runtime": false, "signature": "type EditorDocumentRecords = Readonly>>>>>;", "source": null, "typeParameters": [] }, "platejs/react:EditorDocumentValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorDocumentValue", "runtime": false, "signature": "type EditorDocumentValue = Readonly<{\n children: V;\n meta?: Readonly>;\n /** Omitted when no record set holds a record. */\n records?: EditorDocumentRecords;\n roots?: Readonly>;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorEffect", "runtime": false, "signature": "type EditorEffect = Readonly<{\n type: EditorEffectType;\n value: TValue;\n}>;", "source": null, "typeParameters": [ "TValue = any", "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs/react:EditorEffectCollabDecodeContext": { "aliases": [], "documentation": "Yjs-agnostic helpers supplied by a collaboration adapter while decoding.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorEffectCollabDecodeContext", "runtime": false, "signature": "type EditorEffectCollabDecodeContext = Readonly<{\n point: (value: unknown) => Point | null;\n range: (value: unknown) => Range | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorEffectCollabEncodeContext": { "aliases": [], "documentation": "Yjs-agnostic helpers supplied by a collaboration adapter while encoding.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorEffectCollabEncodeContext", "runtime": false, "signature": "type EditorEffectCollabEncodeContext = Readonly<{\n point: (point: Point) => unknown;\n range: (range: Range) => unknown;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorEffectCollabReplay": { "aliases": [], "documentation": "Persistence semantics for a shared collaboration effect.\n\n`latest` is reserved for absolute, idempotent restore values. `live` effects\nare delivered exactly once to causally registered active peers and are\nintentionally absent from late-join checkpoints.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorEffectCollabReplay", "runtime": false, "signature": "type EditorEffectCollabReplay = 'latest' | 'live';", "source": null, "typeParameters": [] }, "platejs/react:EditorEffectCollabTransport": { "aliases": [], "documentation": "Maps a persisted effect payload through collaboration-relative positions.\nReturning `undefined` while decoding drops an effect whose target vanished.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorEffectCollabTransport", "runtime": false, "signature": "type EditorEffectCollabTransport = Readonly<{\n decode: (value: unknown, context: EditorEffectCollabDecodeContext) => TValue | undefined;\n encode: (value: TValue, context: EditorEffectCollabEncodeContext) => unknown;\n}>;", "source": null, "typeParameters": [ "TValue = unknown" ] }, "platejs/react:EditorEffectHistoryReplayResult": { "aliases": [], "documentation": "Result of replaying one live-session history effect.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorEffectHistoryReplayResult", "runtime": false, "signature": "type EditorEffectHistoryReplayResult = Readonly<{\n status: 'applied';\n value: TValue;\n}> | Readonly<{\n reason: string;\n status: 'blocked';\n}>;", "source": null, "typeParameters": [ "TValue = unknown" ] }, "platejs/react:EditorEffectType": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorEffectType", "runtime": false, "signature": "type EditorEffectType = EditorEffectLocalType | EditorEffectSharedLatestType | EditorEffectSharedLiveType;", "source": null, "typeParameters": [ "TValue = any", "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs/react:EditorElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "EditorElement", "runtime": true, "signature": "EditorElement: {\n (props: Omit, 'attributes' | 'path'> & Pick, 'ref'> & {\n attributes: React$1.PropsWithoutRef & UnknownObject;\n as?: T;\n className?: string;\n insetProp?: boolean;\n plugin?: {\n rules: {\n selection?: SelectionRules;\n };\n };\n style?: React$1.CSSProperties;\n }): React$1.ReactElement;\n (props: Omit & Pick & {\n attributes: React$1.PropsWithoutRef & UnknownObject;\n as?: T;\n className?: string;\n insetProp?: boolean;\n plugin?: {\n rules: {\n selection?: SelectionRules;\n };\n };\n style?: React$1.CSSProperties;\n }): React$1.ReactElement;\n}", "source": null, "typeParameters": [] }, "platejs/react:EditorElementBehavior": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorElementBehavior", "runtime": false, "signature": "type EditorElementBehavior = Readonly<{\n atom: boolean;\n inline: boolean;\n isolating: boolean;\n markableVoid: boolean;\n object: boolean;\n /**\n * Whether the element owns its exit, which every void and object does, as\n * does a text block that declares `ownsExit`. `tx.break.exit` treats a\n * selected block that owns its exit as a structure of its own.\n */\n ownsExit: boolean;\n readOnly: boolean;\n selectable: boolean;\n void: boolean;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorElementProps": { "aliases": [], "documentation": "Props for the element component owned by a plugin descriptor.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorElementProps", "runtime": false, "signature": "type EditorElementProps = TPlugin extends NodePropsDescriptor ? ElementRenderProps, ElementPropsConfig> : never;", "source": null, "typeParameters": [ "TPlugin extends NodePropsDescriptor" ] }, "platejs/react:EditorError": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "class", "name": "EditorError", "runtime": true, "signature": "declare class EditorError extends Error {\n type: DebugErrorType;\n constructor(message: string, type?: DebugErrorType);\n}", "source": null, "typeParameters": [] }, "platejs/react:EditorFragmentDeletionOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorFragmentDeletionOptions", "runtime": false, "signature": "interface EditorFragmentDeletionOptions {\n at?: Location;\n direction?: TextDirection;\n}", "source": null, "typeParameters": [] }, "platejs/react:EditorFragmentReadOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorFragmentReadOptions", "runtime": false, "signature": "type EditorFragmentReadOptions = {\n at?: Range;\n unwrap?: readonly string[];\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorHistoryController": { "aliases": [], "documentation": "Undo/redo availability and command handlers for the document's history.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorHistoryController", "runtime": false, "signature": "type EditorHistoryController = {\n canRedo: boolean;\n canUndo: boolean;\n onKeyDown: (event: KeyboardEvent$1) => void;\n pending: HistoryDirection | null;\n redo: () => void;\n undo: () => void;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorHistoryFocusPolicy": { "aliases": [], "documentation": "Focus behavior after mounted undo or redo applies a history batch.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorHistoryFocusPolicy", "runtime": false, "signature": "type EditorHistoryFocusPolicy = EditorHistoryFocusPolicy$1;", "source": null, "typeParameters": [] }, "platejs/react:EditorHTMLProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorHTMLProps", "runtime": false, "signature": "type EditorHTMLProps | keyof HTMLElementTagNameMap = 'div'> = EditorNodeProps & {\n /** HTML attributes to pass to the underlying HTML element */\n attributes: React$1.PropsWithoutRef ? React$1.ComponentProps : T extends keyof HTMLElementTagNameMap ? React$1.JSX.IntrinsicElements[T] : never>;\n as?: T;\n /** Class to be merged with `attributes.className` */\n className?: string;\n /** Style to be merged with `attributes.style` */\n style?: React$1.CSSProperties;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = never", "T extends React$1.ComponentType | keyof HTMLElementTagNameMap = 'div'" ] }, "platejs/react:EditorInstalledApiGroups": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorInstalledApiGroups", "runtime": false, "signature": "type EditorInstalledApiGroups = IsAny extends true ? Record : UnionToIntersection[number]>>;", "source": null, "typeParameters": [ "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorInstalledReadGroups": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorInstalledReadGroups", "runtime": false, "signature": "type EditorInstalledReadGroups = IsAny extends true ? Record : UnionToIntersection[number]>>;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorInstalledUpdateGroups": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorInstalledUpdateGroups", "runtime": false, "signature": "type EditorInstalledUpdateGroups = IsAny extends true ? Record : UnionToIntersection[number]>>;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorIsEditorOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorIsEditorOptions", "runtime": false, "signature": "interface EditorIsEditorOptions {\n deep?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:EditorJsonValue": { "aliases": [], "documentation": "Immutable JSON data admitted by editor persistence and schema properties.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorJsonValue", "runtime": false, "signature": "type EditorJsonValue = boolean | null | number | string | readonly EditorJsonValue[] | Readonly<{\n [key: string]: EditorJsonValue;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorLeaf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "EditorLeaf", "runtime": true, "signature": "EditorLeaf: ({ className, ...props }: (EditorNodeProps & RenderLeafProps$1 & {\n attributes: UnknownObject;\n inset?: boolean;\n}) & EditorHTMLProps) => React$1.ReactElement", "source": null, "typeParameters": [] }, "platejs/react:EditorLeafProps": { "aliases": [], "documentation": "Props for the leaf component owned by a plugin descriptor.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorLeafProps", "runtime": false, "signature": "type EditorLeafProps = TPlugin extends NodePropsDescriptor ? LeafRenderProps, TextPropsConfig> : never;", "source": null, "typeParameters": [ "TPlugin extends NodePropsDescriptor" ] }, "platejs/react:EditorLevelsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorLevelsOptions", "runtime": false, "signature": "interface EditorLevelsOptions {\n at?: Location;\n match?: NodeMatch;\n type?: TType;\n reverse?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:EditorLifecycleError": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorLifecycleError", "runtime": false, "signature": "type EditorLifecycleError = Readonly<{\n cause: unknown;\n editor: TEditor;\n phase: 'cleanup' | 'measure' | 'publish';\n source: 'pagination';\n}> | Readonly<{\n cause: unknown;\n editor: TEditor;\n phase: 'mount' | 'update' | 'focus' | 'offsetAt' | 'destroy';\n source: 'external-text';\n}> | Readonly<{\n cause: unknown;\n editor: TEditor;\n pluginName: string;\n phase: 'after-commit' | 'afterPublish' | 'cleanup' | 'commit-listener' | 'node-change-listener' | 'snapshot-listener' | 'source-listener' | 'text-change-listener';\n}> | Readonly<{\n cause: unknown;\n editor: TEditor;\n pluginName: string;\n mimeType: string;\n key: string;\n phase: 'accept' | 'decode' | 'encode';\n source: 'data-transfer-format';\n}> | Readonly<{\n cause: unknown;\n direction: 'redo' | 'undo';\n editor: TEditor;\n /**\n * `replay` when the replay could not finish; `observer` when a step\n * after its outcome threw, such as `onHistoryReplay` or focus repair.\n */\n phase: 'observer' | 'replay';\n source: 'history';\n}> | Readonly<{\n cause: Error;\n /** The editable child the renderer left without DOM or a DOM coverage boundary. */\n childPath: Path;\n editor: TEditor;\n /** The element whose `renderElement` omitted the child. */\n element: Element;\n path: Path;\n /**\n * `commit` from the development check after an element renders;\n * `selection-export` from a failed post-commit selection export.\n */\n phase: 'commit' | 'selection-export';\n source: 'render-element';\n}> | Readonly<{\n cause: Error;\n editor: TEditor;\n /** This peer's copy of the root, which the merge replaced. */\n lost: readonly Descendant[];\n /**\n * `merge` when a teammate's concurrent write of a root replaced this\n * peer's copy, such as when both restored one deleted board apart.\n */\n phase: 'merge';\n root: NamedRootKey;\n source: 'yjs';\n}>;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorLifecycleErrorSink": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorLifecycleErrorSink", "runtime": false, "signature": "type EditorLifecycleErrorSink = (error: EditorLifecycleError) => void;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorMarks": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorMarks", "runtime": false, "signature": "type EditorMarks = Partial, 'text'>>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorMarksOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorMarksOf", "runtime": false, "signature": "type EditorMarksOf = Editor> = EditorMarks>;", "source": null, "typeParameters": [ "E extends BaseEditor = Editor" ] }, "platejs/react:EditorNextOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorNextOptions", "runtime": false, "signature": "interface EditorNextOptions {\n at?: Location;\n from?: 'after' | 'child';\n match?: NodeMatch;\n type?: TType;\n mode?: SelectionMode;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Descendant", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:EditorNodeChangeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorNodeChangeContext", "runtime": false, "signature": "type EditorNodeChangeContext = {\n commit: EditorCommit>;\n editor: TEditor;\n kind: EditorNodeChangeKind;\n node: DescendantIn> | null;\n path: Path;\n previousPath: Path | null;\n previousNode: DescendantIn> | null;\n /** Named changed root, or `undefined` for the primary document. */\n root: NamedRootKey | undefined;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorNodeChangeHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorNodeChangeHandler", "runtime": false, "signature": "type EditorNodeChangeHandler = (context: EditorNodeChangeContext) => void;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorNodeChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorNodeChangeKind", "runtime": false, "signature": "type EditorNodeChangeKind = 'insert' | 'move' | 'remove' | 'update';", "source": null, "typeParameters": [] }, "platejs/react:EditorNodeGetOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorNodeGetOptions", "runtime": false, "signature": "type EditorNodeGetOptions = {\n match?: NodeMatch;\n type?: TType;\n};", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:EditorNodeProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorNodeProps", "runtime": false, "signature": "type EditorNodeProps = NodeContext> & {\n /**\n * Optional ref to be merged with `attributes.ref`\n *\n * @default undefined\n */\n ref?: any;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = never" ] }, "platejs/react:EditorNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorNodesOptions", "runtime": false, "signature": "interface EditorNodesOptions {\n at?: Location | NodeSelection | Span;\n match?: NodeMatch;\n type?: TType;\n mode?: SelectionMode;\n universal?: boolean;\n reverse?: boolean;\n voids?: boolean;\n pass?: (entry: NodeEntry) => boolean;\n}", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:EditorNodesReadOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorNodesReadOptions", "runtime": false, "signature": "type EditorNodesReadOptions = WithNodeTargetOrSpan>;", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:EditorNodeUnsetOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorNodeUnsetOptions", "runtime": false, "signature": "type EditorNodeUnsetOptions = {\n at?: NodeSelectionTarget;\n match?(node: T, path: Path): boolean;\n type?: TType;\n mode?: MaximizeMode;\n hanging?: boolean;\n split?: boolean;\n voids?: boolean;\n};", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:EditorParentOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorParentOptions", "runtime": false, "signature": "interface EditorParentOptions {\n depth?: number;\n edge?: LeafEdge;\n match?: NodeMatch;\n type?: TType;\n}", "source": null, "typeParameters": [ "T extends Ancestor = Ancestor", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:EditorPreview": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "EditorPreview", "runtime": true, "signature": "EditorPreview: (props: EditorPreviewProps) => React$1.JSX.Element", "source": null, "typeParameters": [] }, "platejs/react:EditorPreviewProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorPreviewProps", "runtime": false, "signature": "type EditorPreviewProps = EditorStaticProps;", "source": null, "typeParameters": [ "E = EditorStaticProps['editor']" ] }, "platejs/react:EditorPreviousOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorPreviousOptions", "runtime": false, "signature": "interface EditorPreviousOptions {\n at?: Location;\n from?: 'before' | 'parent';\n match?: NodeMatch;\n type?: TType;\n mode?: SelectionMode;\n sibling?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:EditorProvider": { "aliases": [], "documentation": "Provide an existing editor to controls without creating a model or mounted view.", "entrypoint": "platejs/react", "kind": "function", "name": "EditorProvider", "runtime": true, "signature": "declare function EditorProvider({ children, editor }: {\n children: React$1.ReactNode;\n editor: Editor | null;\n}): React$1.JSX.Element;", "source": null, "typeParameters": [] }, "platejs/react:EditorRead": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorRead", "runtime": false, "signature": "type EditorRead = ((fn: (state: EditorStateView) => T) => T) & EditorReadMethods;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorReadAroundHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReadAroundHandler", "runtime": false, "signature": "type EditorReadAroundHandler = Editor> = (context: EditorReadContext) => Result;", "source": null, "typeParameters": [ "Input", "Result", "TEditor extends BaseEditor = Editor" ] }, "platejs/react:EditorReadContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReadContext", "runtime": false, "signature": "type EditorReadContext = Editor> = Readonly<{\n editor: TEditor;\n input: Readonly;\n next: EditorReadContinuation;\n state: EditorStateView, PluginsOf>;\n}>;", "source": null, "typeParameters": [ "Input", "Result", "TEditor extends BaseEditor = Editor" ] }, "platejs/react:EditorReadDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReadDescriptor", "runtime": false, "signature": "type EditorReadDescriptor = Editor> = Readonly<{\n /** Stable configuration and diagnostics identity. */\n id: string;\n}> & PrivateEditorReadTypes;", "source": null, "typeParameters": [ "Input = void", "Result = unknown", "TEditor extends BaseEditor = Editor" ] }, "platejs/react:EditorReadInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReadInput", "runtime": false, "signature": "type EditorReadInput> = TRead extends PrivateEditorReadTypes ? Input : never;", "source": null, "typeParameters": [ "TRead extends EditorReadDescriptor" ] }, "platejs/react:EditorReadMethodRecord": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReadMethodRecord", "runtime": false, "signature": "type EditorReadMethodRecord = Readonly<{\n [key: string]: EditorReadMethodTree;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorReadMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReadMethods", "runtime": false, "signature": "type EditorReadMethods = Omit, 'key'> & EditorInstalledReadGroups;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorReadMethodTree": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReadMethodTree", "runtime": false, "signature": "type EditorReadMethodTree = ((...args: any[]) => unknown) | EditorReadMethodRecord;", "source": null, "typeParameters": [] }, "platejs/react:EditorReadRegistration": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReadRegistration", "runtime": false, "signature": "type EditorReadRegistration = Readonly<{\n [editorReadRegistrationTypes]: (capabilities: EditorReadCapabilities) => void;\n}>;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorReadResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReadResult", "runtime": false, "signature": "type EditorReadResult> = TRead extends PrivateEditorReadTypes ? Result : never;", "source": null, "typeParameters": [ "TRead extends EditorReadDescriptor" ] }, "platejs/react:editorReads": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "editorReads", "runtime": true, "signature": "editorReads: Readonly<{\n nodes: Readonly<{\n isSelectable: EditorReadDescriptor, boolean, Editor>;\n /**\n * Whether a merge removes `previous`, such as an empty block, instead of\n * joining `current` into it. Not run when `previous` is an empty block in\n * a required prefix slot, the update has not moved it into that slot or\n * replaced it, and `current`, its next sibling, fits that slot as it\n * stands without leaving a required block to build, so that join keeps\n * `previous`. That exception also needs `current` to hold only text and\n * inlines and own no content root, neither block to be a void, an atom or\n * read-only, and an empty `current` to carry `previous`'s text\n * properties. An authored-document capability turns it off.\n */\n shouldMergeNodesRemovePrevNode: EditorReadDescriptor, boolean, Editor>;\n }>;\n transfer: Readonly<{\n /** Expand a transfer's selected blocks, such as a list item's family. */\n source: EditorReadDescriptor, NodeSelection, Editor>;\n /**\n * Redirect one landing edge, such as past a list item's family; the default\n * keeps the edge. A redirected edge must map to itself. The schema admits\n * the final edge and vetoes refuse it.\n */\n landing: EditorReadDescriptor;\n }>, Readonly<{\n edge: 'after' | 'before';\n key: NodeKey;\n }>, Editor>;\n /**\n * Properties a block copy or block move takes from where it lands, such as\n * its list; the default, `[]`, keeps the blocks as they are. It runs on the\n * final edge of a block transfer to an edge, while hovering too, after the\n * landing read and before the schema and vetoes judge the patched blocks. A\n * keyboard step runs it on each sibling edge that stays in the blocks'\n * parent and admits them unpatched, and tries the next sibling when the\n * patched blocks are refused. `input.intent` tells a copy from a move. A\n * move keeps its blocks and sets the patched properties on them in the\n * same update. A patch may name only properties declared\n * `landing: 'adopt'`, and a move patch may not set `null`; otherwise the\n * edge refuses with `policy`.\n */\n adopt: EditorReadDescriptor[], Editor>;\n /**\n * What a drop at a block's side builds, such as a column group; the\n * default, `null`, refuses. The schema must still admit the wrap, and\n * vetoes can still refuse it.\n */\n side: EditorReadDescriptor;\n }>, TransferWrap | null, Editor>;\n }>;\n slice: Readonly<{\n /**\n * Shape what a paste or a block duplicate lands, from the target the editor\n * resolved; the default lands `slice` unchanged. A paste runs this read\n * after command handlers delegate, and a duplicate after `slice.export`,\n * with intent `copy` and a `beside` target. Reads the current command\n * draft; raw transaction replacement and fitting bypass it.\n */\n landing: EditorReadDescriptor, Readonly<{\n slice: ContentSlice$1;\n replaceEmpty?: Readonly<{\n omitTargetProperties?: readonly string[];\n slice: ContentSlice$1;\n }>;\n }>, Editor>;\n export: EditorReadDescriptor, Readonly<{\n content: readonly (BaseElement | BaseText)[];\n openEnd: number;\n openStart: number;\n roots?: Readonly> | undefined;\n }>, Editor>;\n get: EditorReadDescriptor, Readonly<{\n content: readonly (BaseElement | BaseText)[];\n openEnd: number;\n openStart: number;\n roots?: Readonly> | undefined;\n }>, Editor>;\n }>;\n}>", "source": null, "typeParameters": [] }, "platejs/react:EditorReplaceChildrenOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReplaceChildrenOptions", "runtime": false, "signature": "type EditorReplaceChildrenOptions = Omit & ({\n at: Path;\n /** Named root the path addresses. Omit for this editor's or view's root. */\n root?: NamedRootKey;\n} | {\n at: Exclude, Path>;\n root?: never;\n});", "source": null, "typeParameters": [] }, "platejs/react:EditorReplaceNodeOptions": { "aliases": [], "documentation": "Options for replacing exactly one node with zero or more nodes.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorReplaceNodeOptions", "runtime": false, "signature": "type EditorReplaceNodeOptions = {\n at: Descendant | NodeKey | Path;\n select?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorRoot": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "function", "name": "EditorRoot", "runtime": true, "signature": "declare function EditorRoot(props: EditorRootProps): React$1.ReactElement | null;", "source": null, "typeParameters": [ "E = Editor" ] }, "platejs/react:EditorRootEntry": { "aliases": [], "documentation": "A named root with the elements that own it, as `read.roots()` lists it.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorRootEntry", "runtime": false, "signature": "type EditorRootEntry = Readonly<{\n /** The elements that own the root, in reading order. */\n owners: readonly EditorRootOwner[];\n root: NamedRootKey;\n /**\n * The path of the page element that holds the root through its first\n * owners, or `null` when no chain of owners reaches the page.\n */\n top: Path | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorRootOwner": { "aliases": [], "documentation": "An element that owns a named root, at its place in the document.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorRootOwner", "runtime": false, "signature": "type EditorRootOwner = Readonly<{\n path: Path;\n /** The owner's root, absent when the owner is on the page. */\n root?: NamedRootKey;\n /** The owner's `contentRoots` slot that names the root. */\n slot: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorRootProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorRootProps", "runtime": false, "signature": "interface EditorRootProps {\n /** Native authored input and projection for this mounted view. */\n authored?: NoInfer extends {\n read: {\n authored: unknown;\n };\n } ? EditorViewOptions['authored'] : never;\n children: React$1.ReactNode;\n editor: E | null;\n /** Observe every published editor commit. */\n onCommit?: (context: CommitContext) => void;\n /** Observe canonical node changes for this editor. */\n onNodeChange?: (context: NodeChangeContext) => void;\n /** Observe commits that change the primary-root selection. */\n onSelectionChange?: (context: SelectionChangeContext) => void;\n /** Observe canonical text changes for this editor. */\n onTextChange?: (context: TextChangeContext) => void;\n /** Observe commits that change the full serializable document value. */\n onValueChange?: (context: ValueChangeContext) => void;\n /** Whether this editor is the primary editor for its controller. */\n primary?: boolean;\n readOnly?: boolean;\n suppressInstanceWarning?: boolean;\n}", "source": null, "typeParameters": [ "E = Editor" ] }, "platejs/react:EditorRuntimeStateSelectorOptions": { "aliases": [], "documentation": "Options for explicit editor runtime-state selectors.", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorRuntimeStateSelectorOptions", "runtime": false, "signature": "interface EditorRuntimeStateSelectorOptions = Editor$3> {\n equalityFn?: (a: T | null, b: T) => boolean;\n shouldUpdate?: (change?: EditorCommit>) => boolean;\n}", "source": null, "typeParameters": [ "T", "TEditor extends Editor$3 = Editor$3" ] }, "platejs/react:EditorSchemaContent": { "aliases": [], "documentation": "Immutable compiled content facts exposed by `state.schema.element()`.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContent", "runtime": false, "signature": "type EditorSchemaContent = Readonly<{\n allowedElementTypes: readonly string[];\n allowsText: boolean;\n allowsUnknownElements: boolean;\n default: SchemaContentDefault | null;\n max: number | null;\n min: number;\n prefix?: ReadonlyArray>;\n type: string;\n }>>;\n remainder?: EditorSchemaContent;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaContentRoot": { "aliases": [], "documentation": "Immutable compiled element-owned root facts.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContentRoot", "runtime": false, "signature": "type EditorSchemaContentRoot = Readonly<{\n content: EditorSchemaContent;\n ownership: SchemaContentRootOwnership;\n structure?: SchemaContentRootStructure;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaContract": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContract", "runtime": false, "signature": "type EditorSchemaContract = Readonly<{\n diagnostics: readonly EditorSchemaDiagnostic[];\n elements: Readonly<{\n allowedChildren: ReadonlyArray>;\n allowedParents: ReadonlyArray>;\n byType: readonly EditorSchemaContractElement[];\n contentPrograms: ReadonlyArray>;\n defaultPlans: ReadonlyArray>;\n groups: ReadonlyArray>;\n textGroups: readonly string[];\n wrapperPlans: ReadonlyArray>;\n }>;\n fingerprint: string;\n formatVersion: typeof EDITOR_SCHEMA_CONTRACT_FORMAT;\n identity: EditorSchemaIdentity;\n primaryRoot: EditorSchemaContractRoot;\n properties: Readonly<{\n byId: readonly StructuralCompiledSchemaProperty[];\n conflictsByPropertyId: ReadonlyArray>;\n elementAllowedByType: ReadonlyArray>;\n lifecycle: ReadonlyArray>;\n lookup: Readonly<{\n element: Readonly<{\n exact: ReadonlyArray>;\n prefixes: readonly CompiledSchemaPropertyKeyPrefix[];\n }>;\n text: Readonly<{\n exact: ReadonlyArray>;\n prefixes: readonly CompiledSchemaPropertyKeyPrefix[];\n }>;\n }>;\n mergeStrategies: ReadonlyArray>;\n membersByExclusiveGroup: ReadonlyArray>;\n textAllowedByParentType: ReadonlyArray>;\n }>;\n revision: number;\n roots: readonly EditorSchemaContractRoot[];\n /**\n * Present when a property leaves its default out of storage, or a write\n * stores the generated element values its pending changes can need.\n * Revision 1 stores every written value, even one equal to its default, so\n * a contract without it describes an editor that dropped such writes.\n * Revision 2 also stores spare blocks, which an older editor would build\n * with values of its own making.\n */\n storageRevision?: 1 | 2;\n unknown: EditorSchemaUnknownPolicy;\n vocabulary: CompiledSchemaVocabulary;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaContractChange": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContractChange", "runtime": false, "signature": "type EditorSchemaContractChange = Readonly<{\n from?: string;\n impact: 'compatible' | 'migration-required';\n kind: EditorSchemaContractChangeKind;\n path: string;\n to?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaContractChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContractChangeKind", "runtime": false, "signature": "type EditorSchemaContractChangeKind = 'element-added' | 'element-changed' | 'element-content-expanded' | 'element-content-restricted' | 'element-removed' | 'element-renamed' | 'property-added' | 'property-changed' | 'property-removed' | 'property-renamed' | 'property-required' | 'root-added' | 'root-changed' | 'root-content-expanded' | 'root-content-restricted' | 'root-removed' | 'storage-revision-changed' | 'unknown-policy-expanded' | 'unknown-policy-restricted';", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaContractContentProgram": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContractContentProgram", "runtime": false, "signature": "type EditorSchemaContractContentProgram = Readonly<{\n allowedElementTypes: readonly string[];\n allowsText: boolean;\n allowsUnknownElements: boolean;\n defaultPlan: CompiledSchemaConstructionPlan | null;\n max: number | null;\n min: number;\n prefix?: readonly CompiledSchemaContentPrefixSlot[];\n remainder?: EditorSchemaContractContentProgram;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaContractContentRoot": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContractContentRoot", "runtime": false, "signature": "type EditorSchemaContractContentRoot = Readonly<{\n content: EditorSchemaContractContentProgram;\n ownership: SchemaContentRootOwnership;\n structure?: SchemaContentRootStructure;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaContractDiff": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContractDiff", "runtime": false, "signature": "type EditorSchemaContractDiff = Readonly<{\n changes: readonly EditorSchemaContractChange[];\n fromFingerprint: string;\n requiresMigration: boolean;\n toFingerprint: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaContractElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContractElement", "runtime": false, "signature": "type EditorSchemaContractElement = Readonly<{\n behavior: EditorSchemaContractElementBehavior;\n content: EditorSchemaContractContentProgram | null;\n contentRoots: ReadonlyArray>;\n construction: Readonly<{\n materializedPropertyIds: readonly string[];\n propertyIds: readonly string[];\n }>;\n groups: readonly string[];\n propertyIds: readonly string[];\n slice: Readonly & {\n endMatter?: boolean;\n }>;\n structure?: EditorSchemaElementStructure;\n type: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaContractRoot": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContractRoot", "runtime": false, "signature": "type EditorSchemaContractRoot = Readonly<{\n content: EditorSchemaContractContentProgram;\n name: string | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaContribution": { "aliases": [], "documentation": "One partial schema declaration. Complete lineage and primary-root fields are forbidden.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaContribution", "runtime": false, "signature": "type EditorSchemaContribution> = Readonly>, TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[], TGroups extends Readonly> = Readonly>, TRoots extends Readonly> = Readonly>, TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]> = Readonly<{\n /** Element-owned root slots projected onto matching element types. */\n contentRoots?: TContentRoots;\n elements?: TElements;\n groups?: TGroups;\n id?: never;\n /** Closed-composition policy; ordinary feature contributions omit this. */\n overrides?: readonly EditorSchemaOverride[];\n properties?: TProperties;\n /**\n * Keyed record sets beside the document's children, such as review records.\n * Changes, history and collaboration carry them; no read of `children` or\n * `roots` meets them.\n */\n records?: Readonly>;\n /** The complete schema definition exclusively owns the primary root. */\n root?: never;\n /** Named secondary roots only. The reserved key `main` is invalid. */\n roots?: TRoots;\n unknown?: never;\n version?: never;\n}>;", "source": null, "typeParameters": [ "TElements extends Readonly> = Readonly>", "TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[]", "TGroups extends Readonly> = Readonly>", "TRoots extends Readonly> = Readonly>", "TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]" ] }, "platejs/react:EditorSchemaDeclaration": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaDeclaration", "runtime": false, "signature": "type EditorSchemaDeclaration = EditorSchemaContribution | EditorSchemaDefinition;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaDefinition", "runtime": false, "signature": "type EditorSchemaDefinition> = Readonly>, TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[], TGroups extends Readonly> = Readonly>, TRoots extends Readonly> = Readonly>, TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]> = EditorSchemaDerivedDefinition | EditorSchemaNamedDefinition;", "source": null, "typeParameters": [ "TId extends string = string", "TElements extends Readonly> = Readonly>", "TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[]", "TGroups extends Readonly> = Readonly>", "TRoots extends Readonly> = Readonly>", "TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]" ] }, "platejs/react:EditorSchemaDelta": { "aliases": [], "documentation": "Semantic schema resources changed by the last configuration publication.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaDelta", "runtime": false, "signature": "type EditorSchemaDelta = Readonly<{\n constructionTypes: readonly string[];\n elementTypes: readonly string[];\n propertyIds: readonly string[];\n /** `null` identifies the implicit primary root. */\n roots: ReadonlyArray;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaDerivedDefinition": { "aliases": [], "documentation": "One complete schema whose identity is derived only from compiled semantics.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaDerivedDefinition", "runtime": false, "signature": "type EditorSchemaDerivedDefinition> = Readonly>, TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[], TGroups extends Readonly> = Readonly>, TRoots extends Readonly> = Readonly>, TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]> = EditorSchemaDefinitionBase & Readonly<{\n id?: never;\n version?: never;\n}>;", "source": null, "typeParameters": [ "TElements extends Readonly> = Readonly>", "TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[]", "TGroups extends Readonly> = Readonly>", "TRoots extends Readonly> = Readonly>", "TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]" ] }, "platejs/react:EditorSchemaElement": { "aliases": [], "documentation": "Immutable compiled element facts for one declared element type.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaElement", "runtime": false, "signature": "type EditorSchemaElement = Readonly<{\n behavior: Readonly<{\n atom: boolean;\n inline: boolean;\n isolating: boolean;\n markableVoid: boolean;\n object: boolean;\n /**\n * Whether the element owns its exit, which every void and object does, as\n * does a text block that declares `ownsExit`. `tx.break.exit` treats a\n * selected block that owns its exit as a structure of its own.\n */\n ownsExit: boolean;\n readOnly: boolean;\n selectable: boolean;\n void: boolean;\n voidKind: SchemaElement['void'] | null;\n }>;\n content: EditorSchemaContent | null;\n contentRoots: Readonly>;\n groups: readonly string[];\n propertyIds: readonly string[];\n slice: Readonly<{\n endMatter: boolean;\n preserveContext: boolean;\n replaceWhenCovered: boolean;\n }>;\n structure: EditorSchemaElementStructure | null;\n type: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaElementOverride": { "aliases": [], "documentation": "One closed-composition element relationship override.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaElementOverride", "runtime": false, "signature": "type EditorSchemaElementOverride = Readonly<{\n /** Element type owned by `source` before application overrides. */\n element: string;\n kind: 'element';\n /** Plugin that owns the element declaration. */\n source: string;\n /** Replace the element's child grammar. */\n content?: SchemaContent;\n /** Replace explicit product-group membership. */\n groups?: readonly string[];\n /** Replace the persisted element discriminator. */\n type?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaElementOverrideInput": { "aliases": [], "documentation": "Element facets accepted by one closed-application override.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaElementOverrideInput", "runtime": false, "signature": "type EditorSchemaElementOverrideInput = Readonly<{\n content?: SchemaContent;\n groups?: readonly string[];\n type?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaElementStructure": { "aliases": [], "documentation": "Immutable logical structure facts compiled for one element type.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaElementStructure", "runtime": false, "signature": "type EditorSchemaElementStructure = Readonly<{\n columnSpan: EditorSchemaStructureProperty | null;\n kind: 'grid';\n role: 'cell' | 'grid' | 'row';\n rowSpan: EditorSchemaStructureProperty | null;\n}> | Readonly<{\n depth: EditorSchemaStructureProperty;\n kind: 'list';\n membership: EditorSchemaStructureProperty | null;\n}> | Readonly<{\n kind: 'outline';\n level: EditorSchemaStructureProperty;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaGetProperty": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaGetProperty", "runtime": false, "signature": "type EditorSchemaGetProperty = {\n (property: SchemaPropertyHandle): EditorSchemaProperty | null;\n (query: TQuery & WithoutInternalPrimaryRoot): EditorSchemaProperty | null;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaIdentity": { "aliases": [], "documentation": "Published schema identity. Runtime configuration revisions stay separate.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaIdentity", "runtime": false, "signature": "type EditorSchemaIdentity = DerivedEditorSchemaIdentity | NamedEditorSchemaIdentity;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaNamedDefinition": { "aliases": [], "documentation": "One complete schema with application-owned persisted lineage.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaNamedDefinition", "runtime": false, "signature": "type EditorSchemaNamedDefinition> = Readonly>, TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[], TGroups extends Readonly> = Readonly>, TRoots extends Readonly> = Readonly>, TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]> = EditorSchemaDefinitionBase & Readonly<{\n id: TId;\n identity?: never;\n version: number;\n}>;", "source": null, "typeParameters": [ "TId extends string = string", "TElements extends Readonly> = Readonly>", "TProperties extends readonly SchemaProperty[] = readonly SchemaProperty[]", "TGroups extends Readonly> = Readonly>", "TRoots extends Readonly> = Readonly>", "TContentRoots extends readonly SchemaContentRootContribution[] = readonly SchemaContentRootContribution[]" ] }, "platejs/react:EditorSchemaOverride": { "aliases": [], "documentation": "Narrow schema policy applied before deterministic compilation.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaOverride", "runtime": false, "signature": "type EditorSchemaOverride = EditorSchemaElementOverride | EditorSchemaPropertyOverride;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaOverrideInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaOverrideInput", "runtime": false, "signature": "type EditorSchemaOverrideInput = string | Readonly<{\n name: string;\n}>, TProperties extends Readonly> = Readonly>> = Readonly<{\n element?: EditorSchemaElementOverrideInput;\n kind: 'schema-override';\n properties?: TProperties;\n source: EditorSchemaOverrideSourceName;\n}>;", "source": null, "typeParameters": [ "TSource extends string | Readonly<{\n name: string;\n}> = string | Readonly<{\n name: string;\n}>", "TProperties extends Readonly> = Readonly>" ] }, "platejs/react:EditorSchemaPlugin": { "aliases": [], "documentation": "A complete schema packaged as one editor plugin contribution.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaPlugin", "runtime": false, "signature": "type EditorSchemaPlugin = Readonly<{\n name: TName;\n schema: TDefinition;\n}>;", "source": null, "typeParameters": [ "TDefinition extends EditorSchemaDefinition = EditorSchemaDefinition", "TName extends string = string" ] }, "platejs/react:EditorSchemaProperty": { "aliases": [], "documentation": "Immutable compiled property facts returned by `state.schema.property()`.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaProperty", "runtime": false, "signature": "type EditorSchemaProperty = Readonly<{\n id: string;\n key: SchemaPropertyKey;\n lifecycle: Readonly<{\n copy: SchemaPropertyCopyPolicy;\n inclusive: boolean | null;\n /** Always `preserve` for a text property. */\n landing: SchemaPropertyLandingPolicy;\n split: SchemaPropertySplitPolicy;\n typeChange: SchemaPropertyTypeChangePolicy;\n }>;\n merge: 'replace' | 'set';\n placement: 'element' | 'text';\n role: SchemaPropertyRole;\n target: SchemaTarget | null;\n value: PropertyValueDescriptor;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaPropertyOverride": { "aliases": [], "documentation": "One closed-composition property relationship override.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaPropertyOverride", "runtime": false, "signature": "type EditorSchemaPropertyOverride = Readonly<{\n /** Compiled id of the property before application overrides. */\n id: string;\n kind: 'property';\n /** Plugin that owns the property declaration. */\n source: string;\n /** Replace the property's target relationship. */\n target?: SchemaTarget | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaPropertyOverrideInput": { "aliases": [], "documentation": "Property relationship facets accepted by one closed-application override.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaPropertyOverrideInput", "runtime": false, "signature": "type EditorSchemaPropertyOverrideInput = Readonly<{\n target?: SchemaTarget | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaPropertyQuery": { "aliases": [], "documentation": "Context for resolving one compiled property declaration.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaPropertyQuery", "runtime": false, "signature": "type EditorSchemaPropertyQuery = Readonly<{\n /** Immediate parent type first. */\n ancestors?: readonly string[];\n key: string;\n placement: 'element' | 'text';\n /** `null` or omission addresses the implicit primary root. */\n root?: string | null;\n /** Target element type, or text-parent type for text properties. */\n type?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaPropertyReadOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaPropertyReadOptions", "runtime": false, "signature": "type EditorSchemaPropertyReadOptions = Readonly<{\n /** Immediate parent first. Required to apply targeted text-property defaults. */\n ancestors?: readonly Element[];\n /** Parent element for a text-property target. */\n parent?: Element;\n /** Omission addresses the implicit primary root. */\n root?: RootKey;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaReadProperty": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaReadProperty", "runtime": false, "signature": "type EditorSchemaReadProperty = {\n (node: Element | Text, property: SchemaPropertyHandle, options?: EditorSchemaPropertyReadOptions): TValue | undefined;\n (node: Element | Text, property: string, options?: EditorSchemaPropertyReadOptions): unknown;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaRepairCode": { "aliases": [], "documentation": "Stable semantic actions performed by coercive schema fitting.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaRepairCode", "runtime": false, "signature": "type EditorSchemaRepairCode = 'canonicalize-set-property' | 'create-root' | 'default-property' | 'drop-unplaceable-text' | 'flatten-block-content' | 'generate-property' | 'insert-empty-text' | 'insert-inline-spacer' | 'insert-required-content' | 'merge-text' | 'omit-empty-text-property' | 'remove-empty-text' | 'remove-noncanonical-child' | 'replace-element-shell' | 'resolve-exclusive-property' | 'wrap-content';", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaSource": { "aliases": [], "documentation": "Descriptor shape accepted by schema inference utilities.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaSource", "runtime": false, "signature": "type EditorSchemaSource = EditorSchemaSourceProvider | Readonly<{\n schema: EditorSchemaDeclaration | ((...args: any[]) => EditorSchemaDeclaration);\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaStructureProperty": { "aliases": [], "documentation": "One compiled property identity used by a logical structure facet.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaStructureProperty", "runtime": false, "signature": "type EditorSchemaStructureProperty = SchemaPropertyHandle;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaUnknownPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaUnknownPolicy", "runtime": false, "signature": "type EditorSchemaUnknownPolicy = 'preserve' | 'reject';", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaValidationCode": { "aliases": [], "documentation": "Stable runtime schema-validation failure categories.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaValidationCode", "runtime": false, "signature": "type EditorSchemaValidationCode = 'exclusive-property-conflict' | 'invalid-content' | 'invalid-document' | 'invalid-json' | 'invalid-node' | 'invalid-property-value' | 'invalid-root' | 'missing-property' | 'property-target-mismatch' | 'unknown-element' | 'unknown-property';", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaValidationDiagnostic": { "aliases": [], "documentation": "One immutable, path-aware runtime schema validation failure.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaValidationDiagnostic", "runtime": false, "signature": "type EditorSchemaValidationDiagnostic = Readonly<{\n /** Element ancestor types, immediate parent first. */\n ancestorTypes?: readonly string[];\n code: EditorSchemaValidationCode;\n message: string;\n /** Type of the invalid element, or `text` for a text node. */\n nodeType?: string;\n parentType?: string;\n /** Path inside `root`. */\n path: readonly number[];\n property?: EditorSchemaValidationPropertyContext;\n /** `null` means the implicit primary root. */\n root: string | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaValidationError": { "aliases": [], "documentation": "Runtime document/fragment validation error with immutable diagnostics.", "entrypoint": "platejs/react", "kind": "class", "name": "EditorSchemaValidationError", "runtime": true, "signature": "declare class EditorSchemaValidationError extends Error {\n readonly diagnostics: readonly EditorSchemaValidationDiagnostic[];\n constructor(diagnostics: EditorSchemaValidationDiagnostic | readonly EditorSchemaValidationDiagnostic[] | string, options?: Readonly<{\n cause?: unknown;\n }>);\n}", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaValidationPropertyContext": { "aliases": [], "documentation": "Compiled property candidates relevant to one validation failure.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaValidationPropertyContext", "runtime": false, "signature": "type EditorSchemaValidationPropertyContext = Readonly<{\n /** Contributing plugin names, sorted and deduplicated. */\n plugins: readonly string[];\n /** Stable compiled property IDs, in the same order as `targets`. */\n ids: readonly string[];\n /** Exact property key encountered in the document. */\n key: string;\n placement: 'element' | 'text';\n /** Candidate targets aligned with `ids`; `null` means universal. */\n targets: ReadonlyArray;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSchemaVocabulary": { "aliases": [], "documentation": "Concrete registered schema targets available to DataTransfer formats.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSchemaVocabulary", "runtime": false, "signature": "type EditorSchemaVocabulary = Readonly<{\n elementTypes: readonly string[];\n groupNames: readonly string[];\n propertyIds: readonly string[];\n rootNames: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSelection": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSelection", "runtime": false, "signature": "type EditorSelection = NodeSelection | TextSelection;", "source": null, "typeParameters": [] }, "platejs/react:EditorSelectionBlockOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSelectionBlockOptions", "runtime": false, "signature": "type EditorSelectionBlockOptions = EditorSelectionTargetOptions & {\n match?: NodeMatch;\n type?: NodeTypeSelector;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorSelectionTargetOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSelectionTargetOptions", "runtime": false, "signature": "type EditorSelectionTargetOptions = {\n at?: NodeTarget | null;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorSelectionView": { "aliases": [], "documentation": "Give children the mounted view whose root holds the selection, such as a\nboard note's view inside the page, as the editor they act on. Inside it\n`useEditor()`, `useEditableRef()`, `useEditorFocused()` and\n`useFocusedLast()` answer for that view. Children keep the current editor\nwhen the selection is in its root, when no view of the selection's root is\nmounted inside its Editable, or when several are and none is focused or was\nfocused last.", "entrypoint": "platejs/react", "kind": "function", "name": "EditorSelectionView", "runtime": true, "signature": "declare function EditorSelectionView({ children }: {\n children: React$1.ReactNode;\n}): React$1.JSX.Element;", "source": null, "typeParameters": [] }, "platejs/react:EditorShortcut": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorShortcut", "runtime": false, "signature": "type EditorShortcut = EditorShortcutOptions & ({\n handler: (ctx: {\n editor: Editor;\n event: KeyboardEvent;\n }) => boolean | void;\n target?: never;\n} | {\n handler?: never;\n /** Disambiguates a command name present in both public namespaces. */\n target?: 'api' | 'update';\n});", "source": null, "typeParameters": [] }, "platejs/react:EditorSliceReadOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSliceReadOptions", "runtime": false, "signature": "type EditorSliceReadOptions = Readonly<{\n at?: NodeSelection | Range;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorSnapshot": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorSnapshot", "runtime": false, "signature": "type EditorSnapshot = Readonly<{\n children: V;\n index: SnapshotIndex;\n selection: Selection;\n version: number;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorStateField": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateField", "runtime": false, "signature": "type EditorStateField = PluginDefinitionInput & Readonly<{\n name: string;\n}> & Omit, 'compare'> & {\n compare: (left: TValue, right: TValue) => boolean;\n deserialize: (value: unknown) => TValue;\n effect: EditorEffectType>;\n serialize: (value: TValue) => SerializedEditorValue;\n};", "source": null, "typeParameters": [ "TValue = unknown", "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs/react:EditorStateFragmentApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateFragmentApi", "runtime": false, "signature": "type EditorStateFragmentApi = (options?: EditorFragmentReadOptions) => ReadonlyArray>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorStateMarksApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateMarksApi", "runtime": false, "signature": "type EditorStateMarksApi = () => EditorMarks | null;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorStateNodesApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateNodesApi", "runtime": false, "signature": "type EditorStateNodesApi = {\n above: {\n (options: WithNodeTarget> & {\n match: (node: Ancestor, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (options: WithNodeTarget, TType>> & {\n type: TType;\n }): NodeEntry> | undefined;\n (options?: WithNodeTarget>): NodeEntry | undefined;\n };\n block: {\n >(options: WithNodeTarget, undefined>> & {\n match: (node: ValueElement, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (options: WithNodeTarget, TType>> & {\n type: TType;\n }): NodeEntry> | undefined;\n (options?: WithNodeTarget>>): NodeEntry> | undefined;\n };\n /** Read every schema block relevant to the target or active selection. */\n blocks: {\n >(options: EditorBlocksReadOptions, undefined> & {\n match: (node: ValueElement, path: Path) => node is TGuard;\n }): ReadonlyArray>;\n (options: EditorBlocksReadOptions, TType> & {\n type: TType;\n }): ReadonlyArray>>;\n (options?: EditorBlocksReadOptions>): ReadonlyArray>>;\n };\n children: (at?: NodeTarget) => ReadonlyArray>;\n elementReadOnly: (options?: WithNodeTarget) => NodeEntry | undefined;\n first: (at: NodeTarget) => NodeEntry | undefined;\n get: {\n >(at: NodeTarget, options: EditorNodeGetOptions, undefined> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (at: NodeTarget, options: EditorNodeGetOptions, TType> & {\n type: TType;\n }): NodeEntry> | undefined;\n (at: TNode): NodeEntry | undefined;\n (at: Location | NodeKey, options?: EditorNodeGetOptions>): NodeEntry | undefined;\n };\n /**\n * Whether a node is content. A capability that keeps non-content nodes in\n * the document, such as struck suggestions, answers false for them, so code\n * that derives a value from children or the document can skip them while\n * keeping each child's real path. Without one, every node is content.\n */\n isContent: (node: Node) => boolean;\n isSelectable: (element: Node) => boolean;\n isEmpty: (element: Element) => boolean;\n last: (at: NodeTarget, options?: EditorLastOptions) => NodeEntry | undefined;\n leaf: (at: NodeTarget, options?: EditorLeafOptions) => NodeEntry> | undefined;\n levels: {\n >(options: WithNodeTarget, undefined>> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n }): Generator, void, undefined>;\n (options: WithNodeTarget, TType>> & {\n type: TType;\n }): Generator>, void, undefined>;\n (options?: WithNodeTarget>>): Generator;\n };\n /**\n * Resolve a path in this editor/view root. A `NodeKey` owned by another root\n * returns `undefined`; create that root's view because `Path` has no root.\n */\n path: (at: NodeTarget, options?: EditorPathOptions) => Path | undefined;\n entries: {\n >(options: EditorNodesReadOptions, undefined> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n }): Generator, void, undefined>;\n (options: EditorNodesReadOptions, TType> & {\n type: TType;\n }): Generator>, void, undefined>;\n (options?: EditorNodesReadOptions>): Generator;\n };\n find: {\n >(options: EditorNodesReadOptions> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n type?: undefined;\n }): NodeEntry | undefined;\n (options: EditorNodesReadOptions, TType> & {\n type: TType;\n }): NodeEntry> | undefined;\n (options?: EditorNodesReadOptions>): NodeEntry | undefined;\n };\n some: {\n (options: EditorNodesReadOptions, TType> & {\n type: TType;\n }): boolean;\n (options?: EditorNodesReadOptions>): boolean;\n };\n toArray: {\n >(options: EditorNodesReadOptions, undefined> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n }): ReadonlyArray>;\n (options: EditorNodesReadOptions, TType> & {\n type: TType;\n }): ReadonlyArray>>;\n (options?: EditorNodesReadOptions>): readonly NodeEntry[];\n };\n next: {\n >(options: WithNodeTarget>> & {\n match: (node: ValueDescendant, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (options: WithNodeTarget, TType>> & {\n type: TType;\n }): NodeEntry> | undefined;\n (options?: WithNodeTarget>>): NodeEntry> | undefined;\n };\n parent: {\n (at: NodeTarget, options: EditorParentOptions & {\n match: (node: Ancestor, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (at: NodeTarget, options: EditorParentOptions, TType> & {\n type: TType;\n }): NodeEntry> | undefined;\n (at: NodeTarget, options?: EditorParentOptions): NodeEntry | undefined;\n };\n previous: {\n >(options: WithNodeTarget, undefined>> & {\n match: (node: ValueTreeNode, path: Path) => node is TGuard;\n }): NodeEntry | undefined;\n (options: WithNodeTarget, TType>> & {\n type: TType;\n }): NodeEntry> | undefined;\n (options?: WithNodeTarget>>): NodeEntry | undefined;\n };\n void: (options?: WithNodeTarget) => NodeEntry | undefined;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorStatePointsApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStatePointsApi", "runtime": false, "signature": "type EditorStatePointsApi = {\n after: (at: NodeTarget, options?: EditorAfterOptions) => Point | undefined;\n before: (at: NodeTarget, options?: EditorBeforeOptions) => Point | undefined;\n end: (at: NodeTarget) => Point | undefined;\n get: (at: NodeTarget, options?: EditorPointOptions) => Point | undefined;\n isEdge: (point: Point, at: NodeTarget) => boolean;\n isEnd: (point: Point, at: NodeTarget) => boolean;\n isStart: (point: Point, at: NodeTarget) => boolean;\n isWordEnd: (point: Point) => boolean;\n positions: (options?: WithNodeTarget) => Generator;\n start: (at: NodeTarget) => Point | undefined;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorStateRangesApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateRangesApi", "runtime": false, "signature": "type EditorStateRangesApi = {\n edges: (at: NodeTarget) => readonly [Point, Point] | undefined;\n fromEntries: (entries: readonly NodeEntry[]) => Range | undefined;\n get: (at: NodeTarget, to?: Location) => Range | undefined;\n project: (range: Range) => readonly ProjectedRangeSegment[];\n unhang: (range: Range, options?: EditorUnhangRangeOptions) => Range;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorStateRuntimeApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateRuntimeApi", "runtime": false, "signature": "type EditorStateRuntimeApi = {\n snapshot: () => EditorSnapshot;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorStateSchemaApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateSchemaApi", "runtime": false, "signature": "type EditorStateSchemaApi = {\n /** Whether one child element type is accepted directly by one parent type. */\n allowsElementType: (parentType: string, childType: string) => boolean;\n /** Create one valid canonical element with every required default child. */\n create: EditorSchemaCreate;\n /** Copy one node through its compiled property lifecycle. */\n copy: (node: TNode, options: Readonly<{\n at: Path;\n root?: NamedRootKey;\n }>) => TNode;\n /**\n * Create the default child that the parent of `at` declares for the slot\n * `at` ends in. A one-step path names a slot of the root. The parent and its\n * ancestors are read from the root's current document; the slot need not\n * exist. A parent without declared `content`, such as an undeclared element\n * type, yields the root's default child for the root slot holding it, built\n * as a root child. Returns null when the parent is missing or the deciding\n * `content` has no default child for that slot. Omit `root` for the primary\n * root.\n */\n createDefaultChild: (options: Readonly<{\n at: Path;\n root?: NamedRootKey;\n }>) => Descendant | null;\n /** Semantic resources changed by the current configuration publication. */\n delta: () => EditorSchemaDelta | null;\n /** Read immutable compiled facts for one declared element type. */\n element: (type: string) => EditorSchemaElement | null;\n /** Fit one external document through the candidate schema without publishing it. */\n fitDocument: (value: EditorDocumentValue) => EditorDocumentValue;\n findWrapping: (parent: Element, child: Descendant) => readonly string[] | null;\n getElementBehavior: (element: Element) => EditorElementBehavior;\n /** Resolve every named document root projected by an element, keyed by slot. */\n getElementContentRoots: (element: Element) => Readonly>;\n /** Read one stored or defaulted property through its schema identity. */\n getProperty: EditorSchemaReadProperty;\n /** Compiled open-slice boundary behavior for one element. */\n getElementSlicePolicy: (element: Element) => EditorElementSlicePolicy;\n /** Return the immutable compiled schema vocabulary. */\n getVocabulary: () => EditorSchemaVocabulary;\n /** Whether the schema declares any element-owned document roots. */\n hasContentRoots: () => boolean;\n /** Stable persisted identity for the current compiled schema. */\n identity: () => EditorSchemaIdentity;\n isAtom: (element: Node) => boolean;\n isBlock: (element: Node) => boolean;\n /** Test one compiled, transitive schema group membership. */\n isElementTypeInGroup: (type: string, group: string) => boolean;\n isInline: (element: Node) => boolean;\n isIsolating: (element: Node) => boolean;\n isObject: (element: Node) => boolean;\n isReadOnly: (element: Node) => boolean;\n isSelectable: (element: Node) => boolean;\n isVoid: (element: Node) => boolean;\n isMarkableVoid: (element: Node) => boolean;\n /**\n * Resolve one compiled property declaration for an exact runtime context.\n * Omitting `type` succeeds only when the key has one unambiguous declaration.\n */\n property: EditorSchemaGetProperty;\n /**\n * Validate an external document against the compiled schema.\n *\n * Throws `EditorSchemaValidationError` with immutable root/path/property\n * diagnostics on failure.\n */\n assertDocument(value: unknown): asserts value is EditorDocumentValue;\n /**\n * Validate an external fragment against the compiled schema.\n *\n * Throws `EditorSchemaValidationError` with immutable path/property\n * diagnostics on failure.\n */\n assertFragment(children: unknown): asserts children is ReadonlyArray>;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorStateSelectionApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateSelectionApi", "runtime": false, "signature": "type EditorStateSelectionApi = (() => Range | null) & {\n contains: (target: NodeTarget) => boolean;\n intersects: (target: NodeTarget) => boolean;\n isAcrossBlocks: (options?: EditorSelectionBlockOptions) => boolean;\n isAtBlockEnd: (options?: EditorSelectionBlockOptions) => boolean;\n isAtBlockStart: (options?: EditorSelectionBlockOptions) => boolean;\n /** Whether the active representative range is collapsed. */\n isCollapsed: () => boolean;\n /** Whether the active representative range is expanded. */\n isExpanded: () => boolean;\n isValid: (value: unknown) => value is Selection;\n isWithinBlock: (options?: EditorSelectionBlockOptions) => boolean;\n /** How the current node selection was made, or `null` without one. */\n nodeMode: () => NodeSelectionMode | null;\n /** Exact live entries in the current node selection. */\n nodes: () => ReadonlyArray>>;\n ranges: () => readonly Range[];\n};", "source": null, "typeParameters": [ "TSelection extends SelectionValue = SelectionValue", "V extends Value = Value" ] }, "platejs/react:EditorStateSliceApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateSliceApi", "runtime": false, "signature": "type EditorStateSliceApi = {\n /** Read the selection slice and apply every external export projection. */\n export: (options?: EditorSliceReadOptions) => ContentSlice$1;\n /** Build an atomic replacement transaction without publishing it. */\n fit: (slice: ContentSlice$1, options?: WithNodeTarget>) => false | TransactionSpec;\n /** Fit immutable slice content against one detached parent without publishing. */\n fitContent: (slice: ContentSlice$1, options: Readonly<{\n parent: Element;\n /** Named secondary-root context. Omit for the primary root. */\n root?: NamedRootKey;\n }>) => ReadonlyArray> | null;\n /** Read one immutable slice with structural openness preserved. */\n get: (options?: EditorSliceReadOptions) => ContentSlice$1;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorStateTextApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateTextApi", "runtime": false, "signature": "type EditorStateTextApi = {\n /** Return text at a target, or at the current selection when omitted. */\n string: (at?: NodeSelectionTarget, options?: EditorStringOptions) => string;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorStateUniqueApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateUniqueApi", "runtime": false, "signature": "type EditorStateUniqueApi = Readonly<{\n /**\n * Find the node that holds `value` of the `unique` property `property` in\n * the current state, without a scan. Inside an update it also finds a node\n * that got the value earlier in the same update, reading only the content\n * the update wrote. When the update gave the value to a second node, it reads\n * the node that held it before the update.\n */\n holder: (property: string, value: unknown) => EditorUniqueHolder | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorStateValueApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateValueApi", "runtime": false, "signature": "type EditorStateValueApi = () => EditorDocumentValue;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorStateView": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateView", "runtime": false, "signature": "type EditorStateView = EditorCoreStateView & EditorInstalledReadGroups & EditorSelectionCapability & {\n /**\n * Build an immutable transaction without mutating or publishing editor\n * state. An empty spec represents an intentionally handled no-op.\n */\n transaction: ((fn: (transaction: EditorTransactionSpecBuilder) => void) => TransactionSpec) & {\n /** Continue building from a delegated spec without publishing either step. */\n extend: (base: TransactionSpec, fn: (transaction: EditorTransactionSpecBuilder) => void) => TransactionSpec;\n };\n};", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorStateViewApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorStateViewApi", "runtime": false, "signature": "type EditorStateViewApi = {\n isComposing: () => boolean;\n isFocused: () => boolean;\n isReadOnly: () => boolean;\n /**\n * Whether this view's editor root is in Viewing, set through\n * `setEditorViewing` or by a lock on the outermost view. A nested view's own\n * lock makes it read-only without putting its editor root in Viewing.\n */\n isViewing: () => boolean;\n /** Named view root, or `undefined` for the primary document. */\n root: () => NamedRootKey | undefined;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTargetRuntime": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTargetRuntime", "runtime": false, "signature": "type EditorTargetRuntime = {\n resolveImplicitTarget: (editor: Editor, request: TargetFreshnessRequest) => Selection;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorText": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "EditorText", "runtime": true, "signature": "EditorText: (props: (EditorNodeProps & RenderTextProps$1 & {\n attributes: UnknownObject;\n}) & EditorHTMLProps) => React$1.ReactElement", "source": null, "typeParameters": [] }, "platejs/react:EditorTextChangeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTextChangeContext", "runtime": false, "signature": "type EditorTextChangeContext = {\n commit: EditorCommit>;\n editor: TEditor;\n node: DescendantIn> | null;\n path: Path;\n previousPath: Path;\n previousText: string;\n /** Named changed root, or `undefined` for the primary document. */\n root: NamedRootKey | undefined;\n text: string;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorTextChangeHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTextChangeHandler", "runtime": false, "signature": "type EditorTextChangeHandler = (context: EditorTextChangeContext) => void;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorTextProps": { "aliases": [], "documentation": "Props for the text component owned by a plugin descriptor.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTextProps", "runtime": false, "signature": "type EditorTextProps = TPlugin extends NodePropsDescriptor ? EditorNodeProps> & RenderTextProps$1> & {\n attributes: UnknownObject;\n} : never;", "source": null, "typeParameters": [ "TPlugin extends NodePropsDescriptor" ] }, "platejs/react:EditorToggleBlockOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorToggleBlockOptions", "runtime": false, "signature": "type EditorToggleBlockOptions = EditorBlockToggleOptions & {\n /** Collapse the resulting selection in the same command commit. */\n collapse?: boolean | SelectionCollapseOptions;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorToggleMarkOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorToggleMarkOptions", "runtime": false, "signature": "type EditorToggleMarkOptions = {\n /** Collapse the resulting selection in the same command commit. */\n collapse?: boolean | SelectionCollapseOptions;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionAnchor": { "aliases": [], "documentation": "A mapped location whose lifetime is limited to one transaction callback.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionAnchor", "runtime": false, "signature": "type EditorTransactionAnchor = Readonly<{\n resolve: () => TValue | null;\n}>;", "source": null, "typeParameters": [ "TValue extends AnchorValue" ] }, "platejs/react:EditorTransactionAnchorApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionAnchorApi", "runtime": false, "signature": "type EditorTransactionAnchorApi = (value: TValue, options: AnchorOptions) => EditorTransactionAnchor;", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionAnnotationsApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionAnnotationsApi", "runtime": false, "signature": "type EditorTransactionAnnotationsApi = {\n get: (annotation: EditorUpdateAnnotation) => TValue | undefined;\n set: (annotation: EditorUpdateAnnotation, value: TValue) => void;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionBlocksApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionBlocksApi", "runtime": false, "signature": "type EditorTransactionBlocksApi = {\n /**\n * Copy the target blocks, with the roots they own, and insert the copies\n * after the last of them. The copies pass through the `slice.export` read\n * over a block node selection of the blocks, then the `slice.landing` read\n * with intent `copy` and a `beside` target, so plugins shape what lands.\n * Changes nothing when a copy is not allowed at its place.\n */\n duplicate: {\n (options: Omit, TType>, 'at'> & {\n at?: NodeSelectionTarget;\n type: TType;\n }): void;\n (options?: Omit>, 'at'> & {\n at?: NodeSelectionTarget;\n }): void;\n };\n /**\n * Insert blocks where `options` places them and return the keys of the\n * top-level blocks that landed, in order. Each key resolves its block from\n * any root. The keys leave out a block the editor's length limit dropped. A\n * block that is live in another root lands under its source's key. Returns\n * `undefined` and changes nothing when the blocks do not fit the landing\n * parent's content, such as a parent at its child limit, when an `after` or\n * `before` target does not resolve, or when the length limit admits none of\n * them. An `at` path past its parent's last child, more than one placement,\n * or `replaceEmpty` beside `before` or `at` throws.\n */\n insert: >(nodes: T | readonly T[], options?: BlockInsertOptions) => readonly [NodeKey, ...NodeKey[]] | undefined;\n /**\n * Reset blocks to the immediate parent or root schema default, keeping the\n * properties a type change preserves and removing the `unset` properties\n * that default does not set. Returns `false` and changes nothing when any\n * block has no default it can become: its parent or root declares no\n * element default, the default lacks a required property nothing supplies,\n * its type change leaves the block's content without one, or the default is\n * not allowed at the block's position.\n */\n reset: (options?: {\n at?: NodeSelectionTarget;\n unset?: string | readonly string[] | SchemaPropertyHandle;\n }) => boolean;\n /**\n * Set props on every target block, all or nothing. A function patch is\n * called once per block before any block changes. Returns `false` and\n * changes nothing when no block is targeted, a patch is not allowed at its\n * block's position, or every block already matches its patch.\n */\n set: (props: NodePropertyPatch>> | ((node: Readonly>) => NodePropertyPatch>>), options?: EditorBlockSetOptions>) => boolean;\n /**\n * Set `props` on every target block, or, when any target already has them,\n * reset every target as `reset` does. With `wrap`, wrap the targets in a\n * `props` element or unwrap them from one. Returns `false` and changes\n * nothing when any target cannot take the change, and `false` when nothing\n * changed.\n */\n toggle: (props: NodePropertyPatch>> & {\n type: string;\n }, options?: EditorBlockToggleOptions) => boolean;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorTransactionBreakApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionBreakApi", "runtime": false, "signature": "type EditorTransactionBreakApi = {\n /**\n * Leave the nearest structure around the collapsed selection. The selected\n * block is that structure when it owns its exit, as a void, an object or an\n * `ownsExit` text block does, and its parent can build a default beside it\n * that does not put the caret in another block that owns its exit. Otherwise\n * it is the nearest ancestor that is a root child or sits in a parent that\n * declares no content or whose content after any leading prefix admits a text\n * block, skipping one that is not a root child when its landing would put the\n * caret back in its own type; with none, it is the selected block. Inserts\n * and selects the default that the structure's parent declares at the landing\n * position. Returns whether a block landed; false changes nothing, as when\n * that parent declares no content, its default needs a property nobody\n * supplies, or that default ends without text.\n */\n exit: (options?: EditorBreakExitOptions) => boolean;\n insert: () => void;\n insertSoft: () => void;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionChangeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionChangeContext", "runtime": false, "signature": "type EditorTransactionChangeContext = Readonly<{\n after: EditorDocumentValue>;\n before: EditorDocumentValue>;\n change: DocumentChange;\n /** Lazy final-coordinate document-change queries for this transaction step. */\n changed: EditorTransactionChanged;\n editor: TEditor;\n selectionAfter: Selection;\n selectionAfterRoot: NamedRootKey | undefined;\n selectionBefore: Selection;\n selectionBeforeRoot: NamedRootKey | undefined;\n tx: EditorUpdateTransaction, PluginsOf>;\n}>;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorTransactionChanged": { "aliases": [], "documentation": "Lazy semantic queries over one transaction-local document change.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionChanged", "runtime": false, "signature": "type EditorTransactionChanged = {\n has: (kind: EditorTransactionDocumentChangeKind, root?: NamedRootKey) => boolean;\n /** Final-coordinate paths touching changed ranges in one document root. */\n paths: (root?: NamedRootKey) => readonly Path[];\n /** The nodes the step took out of one document root. */\n removed: (root?: NamedRootKey) => readonly EditorTransactionRemoved[];\n /** Bounded before/after top-level windows for each changed range. */\n topLevelRanges: (root?: NamedRootKey) => readonly EditorTransactionTopLevelRange[];\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionChangeHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionChangeHandler", "runtime": false, "signature": "type EditorTransactionChangeHandler = (context: EditorTransactionChangeContext) => void;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorTransactionChangesApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionChangesApi", "runtime": false, "signature": "type EditorTransactionChangesApi = {\n /** Apply one canonical document change to the active transaction draft. */\n apply: (change: DocumentChange) => void;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionDocumentChangeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionDocumentChangeKind", "runtime": false, "signature": "type EditorTransactionDocumentChangeKind = 'properties' | 'structure' | 'text';", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionEffectsApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionEffectsApi", "runtime": false, "signature": "type EditorTransactionEffectsApi = {\n all: () => readonly EditorEffect[];\n emit: (type: EditorEffectType, value: TValue) => void;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionFragmentApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionFragmentApi", "runtime": false, "signature": "type EditorTransactionFragmentApi = EditorStateFragmentApi & {\n delete: (options?: WithNodeTarget>) => void;\n /** Fit and replace known-closed content as one canonical closed slice. */\n replace: (content: ReadonlyArray>, options?: WithNodeTarget>) => boolean;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorTransactionMarksApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionMarksApi", "runtime": false, "signature": "type EditorTransactionMarksApi = EditorStateMarksApi & {\n add: (key: string, value: unknown) => void;\n remove: (key: string) => void;\n set: (marks: EditorMarks | null) => void;\n toggle: (key: string, value?: unknown) => void;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorTransactionNodesApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionNodesApi", "runtime": false, "signature": "type EditorTransactionNodesApi = EditorStateNodesApi & {\n insert: {\n , const TType extends NodeTypeSelector | undefined>(nodes: T | readonly T[], options: WithNodeTarget, TType>> & {\n split: NodeInsertNodesOptions, TType>['split'] & {\n type: TType;\n };\n }): void;\n >(nodes: T | readonly T[], options?: WithNodeTarget>>): void;\n };\n lift: {\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n type: TType;\n voids?: boolean;\n }): void;\n (options?: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): void;\n };\n merge: {\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: RangeMode;\n hanging?: boolean;\n type: TType;\n voids?: boolean;\n }): void;\n (options?: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: RangeMode;\n hanging?: boolean;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): void;\n };\n move: {\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n to: Path;\n type: TType;\n voids?: boolean;\n }): void;\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n to: Path;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): void;\n };\n remove: {\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n hanging?: boolean;\n type: TType;\n voids?: boolean;\n }): void;\n (options?: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n hanging?: boolean;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): void;\n };\n replace: >(nodes: T | readonly T[], options: EditorReplaceNodeOptions) => boolean;\n replaceChildren: (children: ReadonlyArray>, options: EditorReplaceChildrenOptions) => void;\n set: EditorNodeSetObject;\n split: {\n (options: {\n at?: NodeTarget;\n match?: NodeMatch>;\n mode?: RangeMode;\n always?: boolean;\n height?: number;\n position?: number;\n type: TType;\n voids?: boolean;\n }): void;\n (options?: {\n at?: NodeTarget;\n match?: NodeMatch>;\n mode?: RangeMode;\n always?: boolean;\n height?: number;\n position?: number;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): void;\n };\n unset: {\n , const TType extends NodeTypeSelector>(props: TKey | readonly TKey[], options: EditorNodeUnsetOptions, TType> & {\n type: TType;\n }): void;\n >(props: TKey | readonly TKey[], options?: EditorNodeUnsetOptions>): void;\n (property: SchemaPropertyHandle, options: EditorNodeUnsetOptions, TType> & {\n type: TType;\n }): void;\n (property: SchemaPropertyHandle, options?: EditorNodeUnsetOptions>): void;\n (property: string extends TKey ? TKey | readonly TKey[] : never, options: EditorNodeUnsetOptions, TType> & {\n type: TType;\n }): void;\n (property: string extends TKey ? TKey | readonly TKey[] : never, options?: EditorNodeUnsetOptions>): void;\n };\n unwrap: {\n (options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n split?: boolean;\n type: TType;\n voids?: boolean;\n }): boolean;\n (options?: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n split?: boolean;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): boolean;\n };\n wrap: {\n (element: ElementIn, options: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n split?: boolean;\n type: TType;\n voids?: boolean;\n }): boolean;\n (element: ElementIn, options?: {\n at?: NodeSelectionTarget;\n match?: NodeMatch>;\n mode?: MaximizeMode;\n split?: boolean;\n type?: NodeTypeSelector;\n voids?: boolean;\n }): boolean;\n };\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorTransactionPluginsApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionPluginsApi", "runtime": false, "signature": "type EditorTransactionPluginsApi = {\n /** Whether the current editor has this plugin name or descriptor installed. */\n has: (plugin: PluginReference | string) => boolean;\n /** Replace one named plugin slot when the surrounding update commits. */\n reconfigure: (slot: PluginSlotLike, input: PluginInput, options?: PluginReconfigureOptions) => void;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionRecordsApi": { "aliases": [], "documentation": "Write keyed records into a record set a plugin declares.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionRecordsApi", "runtime": false, "signature": "type EditorTransactionRecordsApi = {\n /** Drop `id` from `set`; a set without `id` stays as it is. */\n drop: (set: string, id: string) => void;\n /**\n * Put `record` under `id` in `set`. Putting equal content again changes\n * nothing, and an id that holds other content refuses the put.\n */\n put: (set: string, id: string, record: Readonly>) => void;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionRemoved": { "aliases": [], "documentation": "One node a step took out of a root: its key is in the root's index before\nthe step and not after it. A node the step moves, splits or wraps keeps its\nkey, and so do the children of a node it unwraps or merges into another. A\nstep with no structure change can remove a node too, as `replace` does when\nit gives the new node a new key.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionRemoved", "runtime": false, "signature": "type EditorTransactionRemoved = Readonly<{\n key: NodeKey;\n /** The node as it stood before the step. Each descendant that left has its\n * own entry. */\n node: Descendant;\n /** Where the node's start lands in the step's result, as a child index of\n * its nearest ancestor the step kept: right after the nearest earlier\n * sibling the step kept, of the node or of an ancestor the step removed,\n * when that sibling is still a child of that ancestor; else the count of\n * that ancestor's children that start before where the node's start\n * lands. The last index may equal the ancestor's child count. */\n path: Path;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionRootsApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionRootsApi", "runtime": false, "signature": "type EditorTransactionRootsApi = {\n create: (root: NamedRootKey, children: V) => void;\n delete: (root: NamedRootKey) => void;\n replace: (root: NamedRootKey, children: V) => void;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorTransactionSelectionApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionSelectionApi", "runtime": false, "signature": "type EditorTransactionSelectionApi = EditorStateSelectionApi & {\n collapse: (options?: SelectionCollapseOptions) => void;\n move: (options?: SelectionMoveOptions) => void;\n set: BivariantMethod<[target: EditorSelectionTarget | null], void>;\n /** Select exact live nodes. An empty collection clears the selection. */\n setNodes: (targets: ReadonlyArray, options?: EditorSelectionSetNodesOptions) => void;\n setPoint: (props: Partial, options?: SelectionSetPointOptions) => void;\n};", "source": null, "typeParameters": [ "TSelection extends SelectionValue = SelectionValue", "V extends Value = Value" ] }, "platejs/react:EditorTransactionSliceApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionSliceApi", "runtime": false, "signature": "type EditorTransactionSliceApi = Pick, 'get'> & {\n /**\n * Fit and atomically replace content at the transaction target.\n *\n * Returns `false` without mutating when the target cannot be resolved, is a\n * protected void, or the compiled schema cannot fit a well-formed slice.\n * Malformed slice shapes are programmer errors and throw.\n */\n replace: (slice: ContentSlice$1, options?: WithNodeTarget>) => boolean;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorTransactionSpecBuilder": { "aliases": [], "documentation": "Pure transaction builder available while producing a command spec.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionSpecBuilder", "runtime": false, "signature": "type EditorTransactionSpecBuilder = Omit, 'plugins' | 'key'> & Readonly<{\n /**\n * Return the key for a node or location in this draft. A node the draft\n * created carries a prepared key, which becomes its live key when the\n * editor adopts this draft.\n */\n key: EditorKeyApi;\n plugin: EditorTransactionPluginPortal>>;\n}> & PluginUpdateMethods> & EditorSelectionCapability;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorTransactionTagsApi": { "aliases": [], "documentation": "Inspect and extend the final tag set of the active update.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionTagsApi", "runtime": false, "signature": "type EditorTransactionTagsApi = {\n add: (tag: EditorUpdateTag) => void;\n has: (tag: EditorUpdateTag) => boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionTextApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionTextApi", "runtime": false, "signature": "type EditorTransactionTextApi = EditorStateTextApi & {\n delete: (options?: WithNodeTarget) => void;\n deleteBackward: (options?: EditorDirectedDeletionOptions) => void;\n deleteForward: (options?: EditorDirectedDeletionOptions) => void;\n insert: (text: string, options?: WithNodeTarget) => void;\n};", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionTopLevelRange": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionTopLevelRange", "runtime": false, "signature": "type EditorTransactionTopLevelRange = Readonly<{\n /** Inclusive top-level window in the final transaction-step document. */\n after: TopLevelRuntimeRange | null;\n /** Inclusive top-level window in the transaction-step source document. */\n before: TopLevelRuntimeRange | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorTransactionValueApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorTransactionValueApi", "runtime": false, "signature": "type EditorTransactionValueApi = EditorStateValueApi & {\n /**\n * Load a complete document and its metadata, resetting local history.\n * A root-bound view instead authors a replacement of its own root;\n * load document metadata through the complete editor.\n */\n replace: (input: SnapshotInput) => void;\n};", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:EditorUniqueHolder": { "aliases": [], "documentation": "Where the node that holds one value of a `unique` property sits.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUniqueHolder", "runtime": false, "signature": "type EditorUniqueHolder = Readonly<{\n key: NodeKey;\n path: Path;\n root: RootKey;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUpdate", "runtime": false, "signature": "type EditorUpdate = {\n (fn: (transaction: EditorUpdateTransaction, context: EditorUpdateContext>) => R): R | undefined;\n (policy: EditorAvailableUpdatePolicy>, fn: (transaction: EditorUpdateTransaction, context: EditorUpdateContext>) => R): R | undefined;\n (policy: EditorAvailableUpdatePolicy>): EditorUpdateMethods;\n} & EditorUpdateMethods;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorUpdateAnnotation": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUpdateAnnotation", "runtime": false, "signature": "type EditorUpdateAnnotation = Readonly<{\n combine: (previous: TValue, next: TValue) => TValue;\n key: string;\n}>;", "source": null, "typeParameters": [ "TValue = unknown" ] }, "platejs/react:EditorUpdateContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUpdateContext", "runtime": false, "signature": "type EditorUpdateContext = {\n afterCommit: (handler: EditorCommitHandler) => void;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:EditorUpdateMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUpdateMethods", "runtime": false, "signature": "type EditorUpdateMethods = EditorCoreUpdateMethods & DirectPluginUpdateMethods>;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorUpdatePolicy": { "aliases": [], "documentation": "Semantic policy applied to one editor update.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUpdatePolicy", "runtime": false, "signature": "type EditorUpdatePolicy = Readonly<{\n /** History behavior. Requires an installed History plugin. */\n history?: 'merge' | 'new-batch' | 'skip';\n /** Tags applied in input order before the semantic history mode. */\n tags?: EditorUpdateTagInput;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:EditorUpdatePolicyFor": { "aliases": [], "documentation": "Update policy available for a specific editor's installed plugins.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUpdatePolicyFor", "runtime": false, "signature": "type EditorUpdatePolicyFor> = TEditor extends BaseEditor ? EditorAvailableUpdatePolicy> : never;", "source": null, "typeParameters": [ "TEditor extends BaseEditor" ] }, "platejs/react:EditorUpdateTag": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUpdateTag", "runtime": false, "signature": "type EditorUpdateTag = EditorCanonicalUpdateTag | (string & {});", "source": null, "typeParameters": [] }, "platejs/react:EditorUpdateTagInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUpdateTagInput", "runtime": false, "signature": "type EditorUpdateTagInput = EditorUpdateTag | readonly EditorUpdateTag[];", "source": null, "typeParameters": [] }, "platejs/react:EditorUpdateTransaction": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUpdateTransaction", "runtime": false, "signature": "type EditorUpdateTransaction = EditorCoreUpdateTransaction & {\n /** Dispatch a typed semantic command inside this active update. */\n command: EditorCommandDispatch>;\n /**\n * Select an installed plugin's group without leaving this transaction.\n * Prefer direct named groups when the editor type carries the complete graph.\n */\n plugin: EditorTransactionPluginPortal>;\n} & EditorInstalledTransactionGroups & EditorSelectionCapability;", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorUpdateValueFromPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorUpdateValueFromPlugin", "runtime": false, "signature": "type EditorUpdateValueFromPlugin = EditorUpdateGroupsFromPlugin extends (infer TUpdate) ? TPlugin extends {\n name: infer TName;\n} ? TName extends keyof TUpdate ? TUpdate[TName] : never : never : never;", "source": null, "typeParameters": [ "V extends Value", "TPlugin" ] }, "platejs/react:EditorValueFromOptions": { "aliases": [], "documentation": "Editor value inferred from installed schema or initial data.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorValueFromOptions", "runtime": false, "signature": "type EditorValueFromOptions = [SchemaPluginsOf>] extends [never] ? InitialValueFromOptions : EditorValueFromPlugins>;", "source": null, "typeParameters": [ "TOptions" ] }, "platejs/react:EditorValueFromPlugins": { "aliases": [], "documentation": "Default document value inferred from complete installed schema plugins.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorValueFromPlugins", "runtime": false, "signature": "type EditorValueFromPlugins = [SchemaValueFromPlugins>] extends [never] ? Value : SchemaValueFromPlugins> extends (infer V extends Value) ? V : Value;", "source": null, "typeParameters": [ "TPlugins extends readonly unknown[]" ] }, "platejs/react:EditorValueInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorValueInput", "runtime": false, "signature": "type EditorValueInput = EditorDocumentValue | PersistedDocumentInput | Readonly | V;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs/react:EditorValuePersistence": { "aliases": [], "documentation": "Versioned persistence for one live editor value.", "entrypoint": "platejs/react", "kind": "type", "name": "EditorValuePersistence", "runtime": false, "signature": "type EditorValuePersistence = Readonly<{\n decode: (value: unknown) => TValue;\n encode: (value: TValue) => TEncoded;\n legacyDecoders?: Readonly TValue>>;\n /** Current positive integer envelope version. */\n version: number;\n}>;", "source": null, "typeParameters": [ "TValue = unknown", "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs/react:EditorView": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorView", "runtime": false, "signature": "type EditorView = BaseEditor & {\n blur: () => void;\n focus: () => void;\n /** Named view root, or `undefined` for the primary document. */\n readonly root: NamedRootKey | undefined;\n};", "source": null, "typeParameters": [ "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:EditorViewOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "EditorViewOptions", "runtime": false, "signature": "type EditorViewOptions = {\n /**\n * How this view treats suggestions. An `intent` view edits the document\n * with its review marks: `edit` applies writes as written and `propose`\n * records them as suggestions. A `preview` view reads the document with\n * every pending change accepted (`proposed`) or rejected (`accepted`) and\n * throws on a plain edit, though some other writes still change the\n * document, such as an update that makes a decision, undo and redo, and\n * remote collaboration changes. Outside a transaction, its\n * `read.selection()` names places of that preview.\n */\n authored?: Readonly<{\n intent: 'edit' | 'propose';\n }> | Readonly<{\n preview: 'accepted' | 'proposed';\n }>;\n /**\n * Author of every recorded write through this view, such as an AI's\n * suggestions in a person's editor. Omit it to keep the source view's\n * author, or the editor's when no view names one. It is fixed for the\n * life of the view, and a non-empty string without a NUL character,\n * because authored changes store it.\n */\n authorId?: string;\n /**\n * Immutable document the view reads instead of the source editor's value.\n * Reads, plugin reads and plugin APIs resolve against it through the source\n * editor's schema and plugins. The view is read-only, has no selection or\n * last commit, and never notifies subscribers. The document must satisfy the\n * source editor's schema.\n */\n document?: EditorDocumentValue;\n readOnly?: boolean;\n /** Named secondary root. Omit for the primary document. */\n root?: NamedRootKey;\n};", "source": null, "typeParameters": [ "TRoot extends RootKey = RootKey" ] }, "platejs/react:EditorViewStateSelectorOptions": { "aliases": [], "documentation": "Options for explicit editor view-state selectors.", "entrypoint": "platejs/react", "kind": "interface", "name": "EditorViewStateSelectorOptions", "runtime": false, "signature": "interface EditorViewStateSelectorOptions {\n equalityFn?: (a: T | null, b: T) => boolean;\n}", "source": null, "typeParameters": [ "T" ] }, "platejs/react:Element": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Element", "runtime": false, "signature": "type Element = BaseElement;", "source": null, "typeParameters": [] }, "platejs/react:ElementApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "ElementApi", "runtime": true, "signature": "ElementApi: Readonly", "source": null, "typeParameters": [] }, "platejs/react:ElementContentRootSlot": { "aliases": [], "documentation": "The `childRoots` slot names of `N`, or any slot name when `N` declares none.", "entrypoint": "platejs/react", "kind": "type", "name": "ElementContentRootSlot", "runtime": false, "signature": "type ElementContentRootSlot = N extends {\n childRoots: infer TRoots extends Readonly>;\n} ? Extract : string;", "source": null, "typeParameters": [ "N extends Element" ] }, "platejs/react:ElementDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementDescriptor", "runtime": false, "signature": "type ElementDescriptor = EditorSchemaSource & PluginReference$1;", "source": null, "typeParameters": [] }, "platejs/react:ElementEntry": { "aliases": [], "documentation": "`ElementEntry` objects refer to an `Element` and the `Path` where it can be\nfound inside a root node.", "entrypoint": "platejs/react", "kind": "type", "name": "ElementEntry", "runtime": false, "signature": "type ElementEntry = readonly [ElementOf, Path];", "source": null, "typeParameters": [ "N = Element" ] }, "platejs/react:ElementEntryOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementEntryOf", "runtime": false, "signature": "type ElementEntryOf = NodeEntry>;", "source": null, "typeParameters": [ "E" ] }, "platejs/react:ElementForDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementForDescriptor", "runtime": false, "signature": "type ElementForDescriptor = Extract, Element$1>;", "source": null, "typeParameters": [ "TPlugin extends ElementDescriptor" ] }, "platejs/react:ElementIdEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementIdEntry", "runtime": false, "signature": "type ElementIdEntry = Readonly<{\n key: NodeKey;\n node: Element;\n path: Path;\n root: RootKey;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ElementIdPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "ElementIdPlugin", "runtime": true, "signature": "ElementIdPlugin: BasePlugin string;\n }>;\n key: \"id\";\n localId: \"id\";\n ownerName: \"elementId\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly properties: {\n id: SchemaElementPropertyDefinition string;\n }>, Readonly<{\n group: \"element\";\n kind: \"group\";\n }>>;\n };\n };\n readonly name: \"elementId\";\n readonly activate: true;\n readonly initialState: {\n readonly generateId: () => string;\n };\n readonly read: {\n readonly entry: (id: string) => ElementIdEntry | undefined;\n readonly id: (key: NodeKey) => string | undefined;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/react:ElementIdPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementIdPluginState", "runtime": false, "signature": "type ElementIdPluginState = {\n /** Generate one persisted ID for a newly materialized element. */\n generateId: () => string;\n};", "source": null, "typeParameters": [] }, "platejs/react:ElementIn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementIn", "runtime": false, "signature": "type ElementIn = ElementOf;", "source": null, "typeParameters": [ "V extends readonly unknown[]" ] }, "platejs/react:ElementInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "ElementInterface", "runtime": false, "signature": "interface ElementInterface {\n /**\n * Check if a value implements the 'Ancestor' interface.\n */\n isAncestor: (value: unknown, options?: ElementIsElementOptions) => value is Ancestor;\n /**\n * Check if a value implements the `Element` interface.\n */\n isElement: (value: unknown, options?: ElementIsElementOptions) => value is Element;\n /**\n * Check if a value is an array of `Element` objects.\n */\n isElementList: (value: unknown, options?: ElementIsElementOptions) => value is readonly Element[];\n /**\n * Check if a set of props is a partial of Element.\n */\n isElementProps: (props: unknown) => props is Partial;\n /**\n * Check if a value implements the `Element` interface and has elementKey with selected value.\n * Default it check to `type` key value\n */\n isElementType: (value: unknown, elementVal: string, elementKey?: string) => value is Element;\n /**\n * Check if an element matches set of properties.\n *\n * Note: this checks custom properties, and it does not ensure that any\n * children are equivalent.\n */\n matches: (element: T, props: Partial) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:ElementIsElementOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "ElementIsElementOptions", "runtime": false, "signature": "interface ElementIsElementOptions {\n deep?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:ElementOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementOf", "runtime": false, "signature": "type ElementOf = N extends unknown ? ElementOfVariant : never;", "source": null, "typeParameters": [ "N" ] }, "platejs/react:ElementOrTextIn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementOrTextIn", "runtime": false, "signature": "type ElementOrTextIn = ElementIn | TextIn;", "source": null, "typeParameters": [ "V extends readonly unknown[]" ] }, "platejs/react:ElementOrTextOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementOrTextOf", "runtime": false, "signature": "type ElementOrTextOf = ElementOf | TextOf;", "source": null, "typeParameters": [ "E" ] }, "platejs/react:ElementStateApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementStateApi", "runtime": false, "signature": "type ElementStateApi = {\n isEmpty: (element: Element) => boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:ElementStateDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ElementStateDefinition", "runtime": false, "signature": "type ElementStateDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:ElementStatePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "ElementStatePlugin", "runtime": true, "signature": "ElementStatePlugin: BasePlugin & Readonly<{\n name: \"elementState\";\n}> & Readonly> & Readonly<{\n api: {\n readonly isEmpty: (element: Element) => boolean;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:ElementWith": { "aliases": [], "documentation": "Element narrowed to schema properties contributed by one or more owners.\nThe second generic marks exact authored local IDs known to be present.", "entrypoint": "platejs/react", "kind": "type", "name": "ElementWith", "runtime": false, "signature": "type ElementWith> = never> = Element & SchemaPropertyShape, TRequired>;", "source": null, "typeParameters": [ "TSource extends SchemaPropertySource", "TRequired extends SchemaPropertyRequiredLocalId> = never" ] }, "platejs/react:encodeEditorEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "encodeEditorEffect", "runtime": true, "signature": "encodeEditorEffect: (effect: EditorEffect) => SerializedEditorEffect", "source": null, "typeParameters": [] }, "platejs/react:ExitBreakPlugin": { "aliases": [], "documentation": "Inserts an exit block before or after the current block structure.", "entrypoint": "platejs/react", "kind": "const", "name": "ExitBreakPlugin", "runtime": true, "signature": "ExitBreakPlugin: BasePlugin & Readonly<{\n name: \"exitBreak\";\n}> & Readonly> & Readonly<{\n update: {\n readonly insert: TxDeclaredMethod<(options?: ExitBreakOptions) => boolean>;\n readonly insertBefore: TxDeclaredMethod<(options?: ExitBreakOptions) => boolean>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:ExternalTextActions": { "aliases": [], "documentation": "The only mutation bridge from an external view to its owning editor runtime.\nActions may synchronously deliver view updates before they return. Invoke them\nfrom input and command handlers, never from adapter lifecycle callbacks.", "entrypoint": "platejs/react", "kind": "type", "name": "ExternalTextActions", "runtime": false, "signature": "type ExternalTextActions = Readonly<{\n composition: (phase: 'end' | 'start') => void;\n deleteOut: (input: {\n baseVersion: number;\n direction: 'backward' | 'forward';\n }) => ExternalTextDispatchResult;\n dispatch: (input: {\n baseVersion: number;\n changes: readonly ExternalTextChange[];\n intent: 'composition' | 'cut' | 'drop' | 'input' | 'paste';\n selection: ExternalTextSelection;\n }) => ExternalTextDispatchResult;\n /** Delegate to installed editor history; adapters must disable local history. */\n history: (direction: 'redo' | 'undo') => boolean;\n navigateOut: (input: {\n baseVersion: number;\n direction: 'backward' | 'forward';\n extend?: boolean;\n /** The caret's goal client x for an ArrowUp or ArrowDown exit; omit it for other keys. */\n x?: number;\n }) => ExternalTextDispatchResult;\n select: (input: {\n baseVersion: number;\n selection: ExternalTextSelection;\n }) => ExternalTextDispatchResult;\n /**\n * Offer a keydown the view declined to the Editable's `onKeyDown`. Pass the\n * DOM event from its own listener, after every local handler passed on it.\n * The editor drops the key when something prevents its default or stops\n * its propagation before the editor root, and refuses keys a text input\n * uses natively, such as composing and modifier keys, typing, Enter without\n * Ctrl or Meta, Tab, navigation keys, deletion, select-all, clipboard, undo\n * and redo keys, and on Apple hosts Control with a letter, the quote key or\n * Enter. It also refuses every key while the editor or the element is\n * read-only, during an authored preview, or while any part of the selection\n * is outside this view's Text. When the view held focus as the key arrived,\n * focus follows the selection once React commits the handler's change. It\n * stays put when the handler unmounted the Editable, when the handler moved\n * focus out of the view or blurred it before returning while the view stayed\n * mounted, or when focus sits outside the view, other than on the page body,\n * once React has committed. When the view did not hold focus, focus stays\n * where it was.\n */\n yieldKey: (event: KeyboardEvent) => void;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ExternalTextAdapter": { "aliases": [], "documentation": "Render one exact-one-Text block without a second model or history owner.\nLifecycle callbacks are synchronous notifications and must not mutate the\nowning editor or reenter the mounted view.", "entrypoint": "platejs/react", "kind": "type", "name": "ExternalTextAdapter", "runtime": false, "signature": "type ExternalTextAdapter = Readonly<{\n mount: (context: {\n actions: ExternalTextActions;\n host: HTMLElement;\n state: ExternalTextState;\n }) => ExternalTextView;\n}>;", "source": null, "typeParameters": [ "TConfig = undefined" ] }, "platejs/react:ExternalTextChange": { "aliases": [], "documentation": "An exact replacement in the observed text's UTF-16 before coordinates.", "entrypoint": "platejs/react", "kind": "type", "name": "ExternalTextChange", "runtime": false, "signature": "type ExternalTextChange = Readonly<{\n from: number;\n insert: string;\n to: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ExternalTextDecoration": { "aliases": [], "documentation": "A keyed editor decoration clipped to this Text's offsets.", "entrypoint": "platejs/react", "kind": "type", "name": "ExternalTextDecoration", "runtime": false, "signature": "type ExternalTextDecoration = DecorationSlice;", "source": null, "typeParameters": [] }, "platejs/react:ExternalTextDispatchResult": { "aliases": [], "documentation": "Rejected actions never change the canonical document and may reset the view before returning.", "entrypoint": "platejs/react", "kind": "type", "name": "ExternalTextDispatchResult", "runtime": false, "signature": "type ExternalTextDispatchResult = Readonly<{\n status: 'applied' | 'read-only' | 'stale';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ExternalTextOptions": { "aliases": [], "documentation": "Mount options inferred from the adapter; changing config does not remount it.", "entrypoint": "platejs/react", "kind": "type", "name": "ExternalTextOptions", "runtime": false, "signature": "type ExternalTextOptions = Readonly<{\n adapter: ExternalTextAdapter;\n ariaLabel: string;\n}> & (undefined extends TConfig ? Readonly<{\n config?: TConfig;\n}> : Readonly<{\n config: TConfig;\n}>);", "source": null, "typeParameters": [ "TConfig = undefined" ] }, "platejs/react:ExternalTextSelection": { "aliases": [], "documentation": "Directed UTF-16 offsets within one canonical Text.", "entrypoint": "platejs/react", "kind": "type", "name": "ExternalTextSelection", "runtime": false, "signature": "type ExternalTextSelection = Readonly<{\n anchor: number;\n focus: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ExternalTextSelectionState": { "aliases": [], "documentation": "Only the focused view may install a native selection.", "entrypoint": "platejs/react", "kind": "type", "name": "ExternalTextSelectionState", "runtime": false, "signature": "type ExternalTextSelectionState = ExternalTextSelection & Readonly<{\n mode: 'model' | 'native';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ExternalTextState": { "aliases": [], "documentation": "Canonical state delivered to one mounted external text view.", "entrypoint": "platejs/react", "kind": "type", "name": "ExternalTextState", "runtime": false, "signature": "type ExternalTextState = Readonly<{\n config: TConfig;\n decorations: readonly ExternalTextDecoration[];\n readOnly: boolean;\n selection: ExternalTextSelectionState | null;\n /** The canonical string reference; retain it without diffing whole strings. */\n text: string;\n /** Echo this observed version in actions; unrelated commits need no update. */\n version: number;\n}>;", "source": null, "typeParameters": [ "TConfig = undefined" ] }, "platejs/react:ExternalTextView": { "aliases": [], "documentation": "Adapter-owned DOM and local resources for one mounted host.", "entrypoint": "platejs/react", "kind": "type", "name": "ExternalTextView", "runtime": false, "signature": "type ExternalTextView = Readonly<{\n destroy: () => void;\n /** Install the delivered `state.selection`, then focus the local input. */\n focus: () => void;\n /**\n * The offset nearest client `x` on the view's first (`'start'`) or last\n * (`'end'`) visual line, in the delivered `state.text`; `null` when the view\n * cannot tell. The owning editor asks before a vertical arrow enters the\n * view and writes the selection itself. Read layout only: never dispatch an\n * action, change the view's text or selection, focus, scroll, or run work\n * the view deferred, such as a pending layout pass. Actions called during\n * the query are refused. Omitted, the caret enters at the first or last\n * offset.\n */\n offsetAt?: (input: {\n edge: 'end' | 'start';\n x: number;\n }) => number | null;\n /** Apply patches and canonical state before returning without dispatching an action. */\n update: (input: {\n /** `null` resets from state.text; a list applies exact patches; [] acknowledges. */\n changes: readonly ExternalTextChange[] | null;\n state: ExternalTextState;\n }) => void;\n}>;", "source": null, "typeParameters": [ "TConfig = undefined" ] }, "platejs/react:FontBackgroundColorPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "FontBackgroundColorPlugin", "runtime": true, "signature": "FontBackgroundColorPlugin: Plugin & Readonly<{\n name: \"backgroundColor\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"backgroundColor\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:FontColorPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "FontColorPlugin", "runtime": true, "signature": "FontColorPlugin: Plugin & Readonly<{\n name: \"color\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"color\";\n localId: \"color\";\n ownerName: \"color\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:FontFamilyPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "FontFamilyPlugin", "runtime": true, "signature": "FontFamilyPlugin: Plugin & Readonly<{\n name: \"fontFamily\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"fontFamily\";\n localId: \"fontFamily\";\n ownerName: \"fontFamily\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:FontSizePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "FontSizePlugin", "runtime": true, "signature": "FontSizePlugin: Plugin & Readonly<{\n name: \"fontSize\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"fontSize\";\n localId: \"fontSize\";\n ownerName: \"fontSize\";\n placement: \"text\";\n unaliased: true;\n value: string;\n }>;\n schema: {\n readonly mark: PropertyStringDescriptor>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:formatting": { "aliases": [ "formatting$1" ], "documentation": "Contribute the block properties clear formatting removes, and the blocks\nthat keep one. Text styles need no contribution: every text property whose\nschema role is `content` is one.", "entrypoint": "platejs/react", "kind": "const", "name": "formatting", "runtime": true, "signature": "formatting$1: Readonly<{\n id: string;\n of: (value: Readonly<{\n /** Element properties that style a block, cleared on a fully covered block. */\n block?: readonly string[];\n /**\n * Per key, whether a block keeps it although it styles other blocks, such as\n * an indent that is list depth. A block keeps a key when any predicate does.\n * The key `type` keeps a block's type and heading level, such as a list\n * item's: `read.capture` leaves them out of the look, and `update.apply`\n * leaves them unchanged.\n */\n keeps?: Readonly boolean>>;\n }>) => PluginContribution boolean>>;\n }>, unknown>;\n}>", "source": null, "typeParameters": [] }, "platejs/react:FormattingBlockEntry": { "aliases": [], "documentation": "One block a `keeps` predicate judges, with the siblings it stands among.", "entrypoint": "platejs/react", "kind": "type", "name": "FormattingBlockEntry", "runtime": false, "signature": "type FormattingBlockEntry = Readonly<{\n index: number;\n node: Element;\n path: Path;\n siblings: readonly Descendant[];\n}>;", "source": null, "typeParameters": [] }, "platejs/react:FormattingContribution": { "aliases": [], "documentation": "A plugin's share of what clear formatting removes from blocks and keeps.", "entrypoint": "platejs/react", "kind": "type", "name": "FormattingContribution", "runtime": false, "signature": "type FormattingContribution = Readonly<{\n /** Element properties that style a block, cleared on a fully covered block. */\n block?: readonly string[];\n /**\n * Per key, whether a block keeps it although it styles other blocks, such as\n * an indent that is list depth. A block keeps a key when any predicate does.\n * The key `type` keeps a block's type and heading level, such as a list\n * item's: `read.capture` leaves them out of the look, and `update.apply`\n * leaves them unchanged.\n */\n keeps?: Readonly boolean>>;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:FormattingPlugin": { "aliases": [], "documentation": "Clear formatting in React editors, bound to `Mod+\\`.", "entrypoint": "platejs/react", "kind": "const", "name": "FormattingPlugin", "runtime": true, "signature": "FormattingPlugin: InternalReactPluginAdapterResult & Readonly<{\n name: \"formatting\";\n}> & Readonly> & Readonly<{\n read: {\n readonly capture: (options?: Readonly<{\n at?: Range;\n }>) => CapturedFormat | undefined;\n };\n}> & Readonly<{\n update: {\n readonly apply: TxDeclaredMethod<(format: CapturedFormat, options?: Readonly<{\n at?: Range;\n }>) => boolean>;\n readonly clear: TxDeclaredMethod<(options?: Readonly<{\n at?: Range;\n }>) => void>;\n };\n}>>, {\n readonly shortcuts: {\n readonly clear: {\n readonly keys: readonly [\"mod+\\\\\", \"mod+backslash\"];\n };\n };\n}>", "source": null, "typeParameters": [] }, "platejs/react:FragmentPropMode": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "FragmentPropMode", "runtime": false, "signature": "type FragmentPropMode = 'all' | 'block' | 'text';", "source": null, "typeParameters": [] }, "platejs/react:getEditorRuntimeOwner": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "getEditorRuntimeOwner", "runtime": true, "signature": "getEditorRuntimeOwner: (editor: EditorRuntimeCarrier) => AnyEditor", "source": null, "typeParameters": [] }, "platejs/react:getFragmentProp": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "getFragmentProp", "runtime": true, "signature": "getFragmentProp: (nodes: readonly Node$1[], { defaultValue, getProp, key, mode }?: GetFragmentPropOptions) => TValue | undefined", "source": null, "typeParameters": [] }, "platejs/react:GetFragmentPropOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "GetFragmentPropOptions", "runtime": false, "signature": "type GetFragmentPropOptions = {\n defaultValue?: TValue;\n getProp?: (node: Node$1) => TValue | undefined;\n key?: string;\n mode?: FragmentPropMode;\n};", "source": null, "typeParameters": [ "TValue = unknown" ] }, "platejs/react:getInjectMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "getInjectMatch", "runtime": true, "signature": "getInjectMatch: (editor: Editor, plugin: Pick) => (node: Node$1, path?: Path) => boolean", "source": null, "typeParameters": [] }, "platejs/react:GetInjectNodePropsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "GetInjectNodePropsOptions", "runtime": false, "signature": "type GetInjectNodePropsOptions = {\n /** Existing className. */\n className?: string;\n /** Style value or className key. */\n element?: Element;\n /** Current node path when the node is rendered with path context. */\n path?: Path;\n /** Existing style. */\n style?: AnyObject;\n /** Style value or className key. */\n text?: Text$1;\n};", "source": null, "typeParameters": [] }, "platejs/react:GetInjectNodePropsReturnType": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "GetInjectNodePropsReturnType", "runtime": false, "signature": "type GetInjectNodePropsReturnType = AnyObject & {\n className?: string;\n style?: AnyObject;\n};", "source": null, "typeParameters": [] }, "platejs/react:getLinkHref": { "aliases": [], "documentation": "Returns the href a link may navigate to, or `undefined` when the link\nfeature refuses `url`. Surrounding spaces are trimmed. Relative URLs are\nallowed, except one that starts with `//`. Script-capable schemes such as\n`javascript:` and `data:`, malformed absolute URLs and any URL holding a\ncontrol character or backslash are refused. Any other absolute URL needs a\nscheme in `allowedSchemes`, which defaults to `http`, `https`, `mailto` and\n`tel`; when the link plugin is installed, pass its `allowedSchemes`.", "entrypoint": "platejs/react", "kind": "const", "name": "getLinkHref", "runtime": true, "signature": "getLinkHref: (url: string, { allowedSchemes }?: Readonly<{\n allowedSchemes?: readonly string[];\n}>) => string | undefined", "source": null, "typeParameters": [] }, "platejs/react:getPluginNodeClass": { "aliases": [], "documentation": "Return the CSS class used to mark Plate plugin-rendered nodes in HTML.", "entrypoint": "platejs/react", "kind": "function", "name": "getPluginNodeClass", "runtime": true, "signature": "declare function getPluginNodeClass(type: string): string;", "source": null, "typeParameters": [] }, "platejs/react:HandlerReturnType": { "aliases": [], "documentation": "If true, the next handlers will be skipped.", "entrypoint": "platejs/react", "kind": "type", "name": "HandlerReturnType", "runtime": false, "signature": "type HandlerReturnType = boolean | void;", "source": null, "typeParameters": [] }, "platejs/react:HeadingLevel": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HeadingLevel", "runtime": false, "signature": "type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;", "source": null, "typeParameters": [] }, "platejs/react:HeadingPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "HeadingPlugin", "runtime": true, "signature": "HeadingPlugin: InternalReactPluginAdapterResult value is HeadingLevel;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: HeadingLevel | undefined;\n generate?: (() => HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"heading\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly properties: {\n level: PropertyJsonDescriptor value is HeadingLevel;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: HeadingLevel | undefined;\n generate?: (() => HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly name: \"heading\";\n readonly formats: true;\n readonly read: {\n readonly level: (node: Element$1) => HeadingLevel | undefined;\n };\n readonly rules: true;\n readonly update: {\n readonly setLevel: TxDeclaredMethod<(level: HeadingLevel) => boolean>;\n readonly toggle: TxDeclaredMethod<({ level }: ToggleHeadingOptions) => boolean>;\n };\n}>> & Readonly>, {\n readonly component: (props: any) => React$1.JSX.Element;\n}>", "source": null, "typeParameters": [] }, "platejs/react:HeadingRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "HeadingRules", "runtime": true, "signature": "HeadingRules: {\n markdown: ({ enabled, priority }?: {\n enabled?: (context: InsertTextInputRuleReadContext) => boolean;\n priority?: number;\n }) => InsertTextInputRule HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"heading\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly properties: {\n level: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly name: \"heading\";\n readonly formats: true;\n readonly read: {\n readonly level: (node: Element) => HeadingLevel | undefined;\n };\n readonly rules: true;\n readonly update: {\n readonly setLevel: TxDeclaredMethod<(level: HeadingLevel) => boolean>;\n readonly toggle: TxDeclaredMethod<({ level }: ToggleHeadingOptions) => boolean>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n key: \"level\";\n localId: \"level\";\n ownerName: \"heading\";\n placement: \"element\";\n unaliased: true;\n value: 1 | 2 | 3 | 4 | 5 | 6;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n readonly properties: {\n level: PropertyJsonDescriptor HeadingLevel) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is HeadingLevel;\n validationVersion: number;\n }>>;\n };\n };\n };\n readonly name: \"heading\";\n readonly formats: true;\n readonly read: {\n readonly level: (node: Element) => HeadingLevel | undefined;\n };\n readonly rules: true;\n readonly update: {\n readonly setLevel: TxDeclaredMethod<(level: HeadingLevel) => boolean>;\n readonly toggle: TxDeclaredMethod<({ level }: ToggleHeadingOptions) => boolean>;\n };\n }>> & Readonly>>>, readonly []>>;\n}", "source": null, "typeParameters": [] }, "platejs/react:HighlightNode": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HighlightNode", "runtime": false, "signature": "type HighlightNode = {\n children?: HighlightNode[];\n properties?: Record;\n type: string;\n value?: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:HighlightPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "HighlightPlugin", "runtime": true, "signature": "HighlightPlugin: Plugin & Readonly<{\n name: \"highlight\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"highlight\";\n localId: \"highlight\";\n ownerName: \"highlight\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:HighlightResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HighlightResult", "runtime": false, "signature": "type HighlightResult = {\n children: HighlightNode[];\n type: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:HighlightRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "HighlightRules", "runtime": true, "signature": "HighlightRules: {\n markdown: ({ variant, ...options }?: MarkdownMarkRuleOptions & {\n variant?: '==' | '≡';\n }) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs/react:HistoryApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HistoryApi", "runtime": false, "signature": "type HistoryApi = {\n /** Replay the current redo batch as one complete editor update. */\n redo: () => HistoryResult;\n /** Replay the current undo batch as one complete editor update. */\n undo: () => HistoryResult;\n};", "source": null, "typeParameters": [] }, "platejs/react:HistoryDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HistoryDefinition", "runtime": false, "signature": "type HistoryDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:HistoryOutcome": { "aliases": [], "documentation": "Outcome of an undo or redo that has finished.", "entrypoint": "platejs/react", "kind": "type", "name": "HistoryOutcome", "runtime": false, "signature": "type HistoryOutcome = HistorySettlement | Readonly<{\n status: 'busy' | 'empty';\n}> | Readonly<{\n conflicts: readonly string[];\n status: 'blocked';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:HistoryPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "HistoryPlugin", "runtime": true, "signature": "HistoryPlugin: HistoryPluginDescriptor", "source": null, "typeParameters": [] }, "platejs/react:HistoryPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HistoryPluginState", "runtime": false, "signature": "type HistoryPluginState = {\n maxDepth: number;\n newBatchDelay: number;\n};", "source": null, "typeParameters": [] }, "platejs/react:HistoryResult": { "aliases": [], "documentation": "Result of one undo or redo call. A document batch has already applied or\nfailed when the call returns; only a batch whose effect owner is still\nworking returns `pending`.", "entrypoint": "platejs/react", "kind": "type", "name": "HistoryResult", "runtime": false, "signature": "type HistoryResult = HistoryOutcome | Readonly<{\n /** Resolves once the effect owner finishes. Never rejects. */\n settled: Promise;\n status: 'pending';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:HistorySettlement": { "aliases": [], "documentation": "Final outcome of a replay that waited on its effect owner or failed.", "entrypoint": "platejs/react", "kind": "type", "name": "HistorySettlement", "runtime": false, "signature": "type HistorySettlement = Readonly<{\n status: 'applied';\n}> | Readonly<{\n reason: string;\n status: 'blocked';\n}> | Readonly<{\n status: 'failed';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:HorizontalRulePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "HorizontalRulePlugin", "runtime": true, "signature": "HorizontalRulePlugin: Plugin & Readonly<{\n name: \"horizontalRule\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: {\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:HorizontalRuleRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "HorizontalRuleRules", "runtime": true, "signature": "HorizontalRuleRules: {\n markdown: ({ enabled, priority, variant }?: {\n enabled?: (context: InsertTextInputRuleReadContext) => boolean;\n priority?: number;\n variant?: '-' | '_';\n }) => InsertTextInputRule<{\n range: Range;\n text: string;\n path: Path;\n }, InternalBaseEditorWithInstalledPlugins>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, Readonly<{\n activate?: true;\n api?: object;\n dataTransferFormats?: true;\n formats?: true;\n commands?: true;\n conflicts?: ReadonlyArray>;\n contributions?: true;\n corrections?: true;\n decorate?: true;\n dependencies?: ReadonlyArray>;\n editOnly?: true;\n effectTypes?: true;\n enabled?: boolean;\n initialState?: object;\n initialViewState?: object;\n inject?: true;\n inputRules?: true;\n name: string;\n on?: true;\n override?: true;\n read?: EditorReadMethodTree;\n readMiddleware?: true;\n render?: true;\n rules?: true;\n schema?: PluginSchemaDeclaration;\n selectors?: object;\n shortcuts?: true;\n stateFields?: true;\n targetPlugins?: ReadonlyArray;\n update?: object;\n validate?: true;\n }>, readonly PluginReference$1[]>>;\n}", "source": null, "typeParameters": [] }, "platejs/react:Hotkeys": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "Hotkeys", "runtime": true, "signature": "Hotkeys: {\n isBold: (event: KeyboardEventLike) => boolean;\n isCompose: (event: KeyboardEventLike) => boolean;\n isDeleteBackward: (event: KeyboardEventLike) => boolean;\n isDeleteForward: (event: KeyboardEventLike) => boolean;\n isDeleteLineBackward: (event: KeyboardEventLike) => boolean;\n isDeleteLineForward: (event: KeyboardEventLike) => boolean;\n isDeleteWordBackward: (event: KeyboardEventLike) => boolean;\n isDeleteWordForward: (event: KeyboardEventLike) => boolean;\n isEscape: (event: KeyboardEventLike) => boolean;\n isExtendBackward: (event: KeyboardEventLike) => boolean;\n isExtendDownward: (event: KeyboardEventLike) => boolean;\n isExtendForward: (event: KeyboardEventLike) => boolean;\n isExtendLineBackward: (event: KeyboardEventLike) => boolean;\n isExtendLineForward: (event: KeyboardEventLike) => boolean;\n isExtendUpward: (event: KeyboardEventLike) => boolean;\n isItalic: (event: KeyboardEventLike) => boolean;\n isMoveBackward: (event: KeyboardEventLike) => boolean;\n isMoveDownward: (event: KeyboardEventLike) => boolean;\n isMoveForward: (event: KeyboardEventLike) => boolean;\n isMoveLineBackward: (event: KeyboardEventLike) => boolean;\n isMoveLineForward: (event: KeyboardEventLike) => boolean;\n isMoveUpward: (event: KeyboardEventLike) => boolean;\n isMoveWordBackward: (event: KeyboardEventLike) => boolean;\n isMoveWordForward: (event: KeyboardEventLike) => boolean;\n isRedo: (event: KeyboardEventLike) => boolean;\n isSelectAll: (event: KeyboardEventLike) => boolean;\n isSoftBreak: (event: KeyboardEventLike) => boolean;\n isSplitBlock: (event: KeyboardEventLike) => boolean;\n isTab: (editor: Editor, event: KeyboardEventLike, { composing }?: {\n /** Ignore the event if composing. */\n composing?: boolean;\n }) => boolean;\n isTransposeCharacter: (event: KeyboardEventLike) => boolean;\n isUndo: (event: KeyboardEventLike) => boolean;\n isUntab: (editor: Editor, event: KeyboardEventLike, { composing }?: {\n composing?: boolean;\n }) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:HtmlAttributes": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HtmlAttributes", "runtime": false, "signature": "type HtmlAttributes = Readonly>;", "source": null, "typeParameters": [] }, "platejs/react:HtmlContentToken": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HtmlContentToken", "runtime": false, "signature": "type HtmlContentToken = Readonly<{\n readonly __htmlContentToken: true;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:HtmlElementPatch": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HtmlElementPatch", "runtime": false, "signature": "type HtmlElementPatch = Readonly<{\n attributes?: HtmlAttributes;\n children?: never;\n style?: Readonly>;\n tag?: never;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:HtmlMappingDiagnosticInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HtmlMappingDiagnosticInput", "runtime": false, "signature": "type HtmlMappingDiagnosticInput = Readonly<{\n action: 'dropped' | 'replaced' | 'unwrapped';\n kind: 'attribute' | 'element' | 'style';\n message: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:HtmlMatcher": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HtmlMatcher", "runtime": false, "signature": "type HtmlMatcher = Readonly<(HtmlMatcherFields & {\n attributes: NonNullable;\n}) | (HtmlMatcherFields & {\n className: string;\n}) | (HtmlMatcherFields & {\n style: NonNullable;\n}) | (HtmlMatcherFields & {\n tag: HtmlMatchValue;\n})>;", "source": null, "typeParameters": [] }, "platejs/react:HtmlMatchValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HtmlMatchValue", "runtime": false, "signature": "type HtmlMatchValue = string | readonly string[];", "source": null, "typeParameters": [] }, "platejs/react:HtmlNodeSpec": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HtmlNodeSpec", "runtime": false, "signature": "type HtmlNodeSpec = Readonly<{\n attributes?: HtmlAttributes;\n children?: HtmlContentToken | ReadonlyArray>;\n patchTarget?: true;\n style?: Readonly>;\n tag: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:HtmlPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "HtmlPlugin", "runtime": true, "signature": "HtmlPlugin: BasePlugin & Readonly<{\n name: \"html\";\n}> & Readonly> & Readonly<{\n api: Readonly<{\n parse: (source: string, options?: HtmlEditorParseOptions | undefined) => HtmlDocumentParseResult;\n parseSlice: (source: string, options?: HtmlEditorParseOptions | undefined) => HtmlSliceParseResult;\n serialize: (options?: HtmlEditorSerializeOptions) => HtmlSerializeResult;\n }>;\n}>>", "source": null, "typeParameters": [] }, "platejs/react:HtmlPrepareDiagnosticInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HtmlPrepareDiagnosticInput", "runtime": false, "signature": "type HtmlPrepareDiagnosticInput = HtmlMappingDiagnosticInput & Readonly<{\n /**\n * The element the loss is about. Each element reports its own diagnostic,\n * so two dropped elements with the same message stay two. While the\n * parsed HTML still holds the element, the diagnostic names its place\n * there, so report a loss before removing its element.\n */\n element?: globalThis.Element;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:HtmlWrapperSpec": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "HtmlWrapperSpec", "runtime": false, "signature": "type HtmlWrapperSpec = Readonly<{\n attributes?: HtmlAttributes;\n style?: Readonly>;\n tag: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:IndentChangeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "IndentChangeOptions", "runtime": false, "signature": "type IndentChangeOptions = {\n nodes?: Omit, 'match'> & {\n match?: NodeMatchPredicate;\n };\n};", "source": null, "typeParameters": [] }, "platejs/react:IndentDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "IndentDefinition", "runtime": false, "signature": "type IndentDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:IndentPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "IndentPlugin", "runtime": true, "signature": "IndentPlugin: Plugin;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:IndentPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "IndentPluginState", "runtime": false, "signature": "type IndentPluginState = {\n /** Maximum number of indentation. */\n indentMax: number | null;\n /**\n * Indentation offset used in `(offset * element.indent) + unit`.\n *\n * @default 24\n */\n offset: number;\n /**\n * Indentation unit used in `(offset * element.indent) + unit`.\n *\n * @default 'px'\n */\n unit: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:InferApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferApi", "runtime": false, "signature": "type InferApi

          = P extends {\n api: infer A extends object;\n} ? A : {};", "source": null, "typeParameters": [ "P" ] }, "platejs/react:InferConflicts": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferConflicts", "runtime": false, "signature": "type InferConflicts

          = P extends {\n conflicts?: infer D extends ReadonlyArray;\n} ? D : readonly [];", "source": null, "typeParameters": [ "P" ] }, "platejs/react:InferDependencies": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferDependencies", "runtime": false, "signature": "type InferDependencies

          = P extends {\n dependencies?: infer D extends ReadonlyArray;\n} ? D : readonly [];", "source": null, "typeParameters": [ "P" ] }, "platejs/react:InferEnabled": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferEnabled", "runtime": false, "signature": "type InferEnabled

          = P extends {\n enabled?: infer E;\n} ? IsAny$2 extends true ? boolean : Extract extends never ? boolean : Extract : boolean;", "source": null, "typeParameters": [ "P" ] }, "platejs/react:InferName": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferName", "runtime": false, "signature": "type InferName

          = P extends {\n name: infer N;\n} ? N : never;", "source": null, "typeParameters": [ "P" ] }, "platejs/react:InferOwnApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferOwnApi", "runtime": false, "signature": "type InferOwnApi

          = InferApi

          ;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs/react:InferOwnRead": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferOwnRead", "runtime": false, "signature": "type InferOwnRead

          = InferRead

          ;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs/react:InferOwnUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferOwnUpdate", "runtime": false, "signature": "type InferOwnUpdate

          = InferUpdate

          ;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs/react:InferPluginReadGroups": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferPluginReadGroups", "runtime": false, "signature": "type InferPluginReadGroups

          = { readonly [TName in P['name']]: InferRead

          ; };", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs/react:InferPluginStoreState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferPluginStoreState", "runtime": false, "signature": "type InferPluginStoreState

          = P extends {\n initialState: infer StoreState;\n} ? StoreState : {};", "source": null, "typeParameters": [ "P" ] }, "platejs/react:InferPluginUpdateGroups": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferPluginUpdateGroups", "runtime": false, "signature": "type InferPluginUpdateGroups

          = { readonly [TName in P['name']]: InferUpdate

          ; };", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs/react:InferRead": { "aliases": [], "documentation": "The runtime binds a callable read root to itself, so callers never supply its `this`.", "entrypoint": "platejs/react", "kind": "type", "name": "InferRead", "runtime": false, "signature": "type InferRead

          = P extends {\n read: infer R extends EditorReadMethodTree;\n} ? R extends ((...args: never[]) => unknown) ? OmitThisParameter & { [K in keyof R]: R[K]; } : R : {};", "source": null, "typeParameters": [ "P" ] }, "platejs/react:InferSelectors": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferSelectors", "runtime": false, "signature": "type InferSelectors

          = P extends {\n selectors: infer S;\n} ? S : {};", "source": null, "typeParameters": [ "P" ] }, "platejs/react:InferTargetPlugins": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferTargetPlugins", "runtime": false, "signature": "type InferTargetPlugins

          = string extends P['name'] ? ReadonlyArray : P extends {\n targetPlugins: infer TPlugins extends ReadonlyArray;\n} ? TPlugins : readonly [];", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs/react:InferUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InferUpdate", "runtime": false, "signature": "type InferUpdate

          = P extends {\n update: infer U extends object;\n} ? U : {};", "source": null, "typeParameters": [ "P" ] }, "platejs/react:InitialValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InitialValue", "runtime": false, "signature": "type InitialValue = V | Readonly<{\n children: V;\n meta?: Readonly>;\n records?: EditorDocumentRecords;\n roots?: Readonly>;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:InjectNodeProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InjectNodeProps", "runtime": false, "signature": "type InjectNodeProps = BaseInjectProps & {\n query?: (context: NonNullable> & PluginContext & {\n nodeProps: GetInjectNodePropsOptions;\n }) => boolean;\n transformClassName?: (context: TransformOptions) => string | undefined;\n transformNodeValue?: (context: TransformOptions) => unknown;\n /** Pure render transform. React hooks are not supported. */\n transformProps?: (context: TransformOptions & {\n props: GetInjectNodePropsReturnType;\n }) => AnyObject | undefined;\n transformStyle?: (context: TransformOptions) => CSSStyleDeclaration;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:InputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InputRule", "runtime": false, "signature": "type InputRule = InsertBreakInputRule | InsertDataInputRule | InsertTextInputRule;", "source": null, "typeParameters": [ "TMatch = unknown", "TEditor = Editor" ] }, "platejs/react:InputRuleEditor": { "aliases": [], "documentation": "Read-only editor capabilities available while an input rule is selected.", "entrypoint": "platejs/react", "kind": "type", "name": "InputRuleEditor", "runtime": false, "signature": "type InputRuleEditor = TEditor extends {\n read: infer TRead;\n} ? {\n readonly plugin: InputRulePluginLookup;\n readonly read: { readonly [TKey in keyof TRead]: TRead[TKey]; };\n} : never;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:InputRuleInsertTextOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InputRuleInsertTextOptions", "runtime": false, "signature": "type InputRuleInsertTextOptions = Omit & {\n at?: NodeTarget;\n};", "source": null, "typeParameters": [] }, "platejs/react:InputRulesConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InputRulesConfig", "runtime": false, "signature": "type InputRulesConfig = Array | InputRuleReference>;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:InputRulesDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InputRulesDefinition", "runtime": false, "signature": "type InputRulesDefinition = InputRulesConfig;", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:InputRuleTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InputRuleTarget", "runtime": false, "signature": "type InputRuleTarget = 'insertBreak' | 'insertData' | 'insertText';", "source": null, "typeParameters": [] }, "platejs/react:inputRuleVeto": { "aliases": [], "documentation": "Contribute an element type inside which no input rule runs, such as a code\nblock whose text must stay as typed.", "entrypoint": "platejs/react", "kind": "const", "name": "inputRuleVeto", "runtime": true, "signature": "inputRuleVeto: Readonly<{\n id: string;\n of: (value: string) => PluginContribution;\n}>", "source": null, "typeParameters": [] }, "platejs/react:InsertBreakCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertBreakCommand", "runtime": false, "signature": "type InsertBreakCommand = void;", "source": null, "typeParameters": [] }, "platejs/react:InsertBreakInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertBreakInputRule", "runtime": false, "signature": "type InsertBreakInputRule = BaseInputRule> & {\n apply: BivariantCallback<[context: InsertBreakInputRuleContext, match: TMatch], InputRuleContinuation | InputRuleDecline | undefined>;\n resolve?: BivariantCallback<[context: InsertBreakInputRuleReadContext], TMatch | undefined>;\n target: 'insertBreak';\n};", "source": null, "typeParameters": [ "TMatch = true", "TEditor = Editor" ] }, "platejs/react:InsertBreakInputRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertBreakInputRuleContext", "runtime": false, "signature": "type InsertBreakInputRuleContext = InsertBreakInputRuleReadContext & TransformInputRuleContext & {\n next: () => InputRuleContinuation;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:InsertBreakInputRuleReadContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertBreakInputRuleReadContext", "runtime": false, "signature": "type InsertBreakInputRuleReadContext = SelectionInputRuleContext & {\n cause: 'insertBreak';\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:InsertDataInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertDataInputRule", "runtime": false, "signature": "type InsertDataInputRule = BaseInputRule> & {\n apply: BivariantCallback<[context: InsertDataInputRuleContext, match: TMatch], InputRuleContinuation | InputRuleDecline | undefined>;\n mimeTypes?: string[];\n resolve?: BivariantCallback<[context: InsertDataInputRuleReadContext], TMatch | undefined>;\n target: 'insertData';\n};", "source": null, "typeParameters": [ "TMatch = true", "TEditor = Editor" ] }, "platejs/react:InsertDataInputRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertDataInputRuleContext", "runtime": false, "signature": "type InsertDataInputRuleContext = InsertDataInputRuleReadContext & TransformInputRuleContext & {\n next: (data?: DataTransfer) => InputRuleContinuation;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:InsertDataInputRuleReadContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertDataInputRuleReadContext", "runtime": false, "signature": "type InsertDataInputRuleReadContext = SelectionInputRuleContext & {\n cause: 'insertData';\n data: DataTransfer;\n text: string | null;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:InsertNodesCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertNodesCommand", "runtime": false, "signature": "type InsertNodesCommand = {\n nodes: Descendant | readonly Descendant[];\n options?: CommandTargetOptions>;\n};", "source": null, "typeParameters": [] }, "platejs/react:InsertSoftBreakCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertSoftBreakCommand", "runtime": false, "signature": "type InsertSoftBreakCommand = void;", "source": null, "typeParameters": [] }, "platejs/react:InsertTextCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertTextCommand", "runtime": false, "signature": "type InsertTextCommand = {\n options?: CommandTargetOptions;\n text: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:InsertTextInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertTextInputRule", "runtime": false, "signature": "type InsertTextInputRule = BaseInputRule> & {\n apply: BivariantCallback<[context: InsertTextInputRuleContext, match: TMatch], InputRuleContinuation<{\n options?: InputRuleInsertTextOptions;\n text: string;\n } | undefined> | InputRuleDecline | undefined>;\n resolve?: BivariantCallback<[context: InsertTextInputRuleReadContext], TMatch | undefined>;\n target: 'insertText';\n trigger: readonly string[] | string;\n};", "source": null, "typeParameters": [ "TMatch = true", "TEditor = Editor" ] }, "platejs/react:InsertTextInputRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertTextInputRuleContext", "runtime": false, "signature": "type InsertTextInputRuleContext = InsertTextInputRuleReadContext & TransformInputRuleContext & {\n next: (text?: string, options?: InputRuleInsertTextOptions) => InputRuleContinuation<{\n options?: InputRuleInsertTextOptions;\n text: string;\n } | undefined>;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:InsertTextInputRuleReadContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "InsertTextInputRuleReadContext", "runtime": false, "signature": "type InsertTextInputRuleReadContext = SelectionInputRuleContext & {\n cause: 'insertText';\n options?: InputRuleInsertTextOptions;\n text: string;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:installBrowserHandle": { "aliases": [], "documentation": "Expose the browser test handle that `@platejs/test` reads on every\n`Editable` root mounted afterwards, and keep the kernel trace it reads.\n\nCall once at module scope in a test or development entry, before the first\neditor mounts. Production entries never call it, so their bundles drop the\nhandle. Calling it again changes nothing.", "entrypoint": "platejs/react", "kind": "const", "name": "installBrowserHandle", "runtime": true, "signature": "installBrowserHandle: () => void", "source": null, "typeParameters": [] }, "platejs/react:invertEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "invertEffect", "runtime": true, "signature": "invertEffect: (effect: EditorEffect) => EditorEffect", "source": null, "typeParameters": [] }, "platejs/react:IS_APPLE": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "IS_APPLE", "runtime": true, "signature": "IS_APPLE: boolean", "source": null, "typeParameters": [] }, "platejs/react:isDefined": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "isDefined", "runtime": true, "signature": "isDefined: (arg: T | null | undefined) => arg is T", "source": null, "typeParameters": [] }, "platejs/react:isEditor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "isEditor", "runtime": true, "signature": "isEditor: (value: unknown, options?: EditorIsEditorOptions) => value is AnyEditor", "source": null, "typeParameters": [] }, "platejs/react:isHotkey": { "aliases": [], "documentation": "Is hotkey?", "entrypoint": "platejs/react", "kind": "function", "name": "isHotkey", "runtime": true, "signature": "export function isHotkey(\n hotkey: string | readonly string[],\n options?: HotKeyOptions,\n): (event: KeyboardEventLike) => boolean;", "source": null, "typeParameters": [] }, "platejs/react:isNominalPluginDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "isNominalPluginDescriptor", "runtime": true, "signature": "isNominalPluginDescriptor: (value: unknown) => value is NominalPluginReference", "source": null, "typeParameters": [] }, "platejs/react:isOrderedList": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "function", "name": "isOrderedList", "runtime": true, "signature": "declare function isOrderedList(element: Element): boolean;", "source": null, "typeParameters": [] }, "platejs/react:isPluginElementClass": { "aliases": [], "documentation": "Return true when an editor element boundary carries the plugin node class.", "entrypoint": "platejs/react", "kind": "const", "name": "isPluginElementClass", "runtime": true, "signature": "isPluginElementClass: (element: HTMLElement, type: string) => boolean", "source": null, "typeParameters": [] }, "platejs/react:isPluginNodeClass": { "aliases": [], "documentation": "Return true when the element carries the plugin node class.", "entrypoint": "platejs/react", "kind": "const", "name": "isPluginNodeClass", "runtime": true, "signature": "isPluginNodeClass: (element: HTMLElement, type: string) => boolean", "source": null, "typeParameters": [] }, "platejs/react:isUrl": { "aliases": [], "documentation": "Loosely validate whether a value is a URL string.", "entrypoint": "platejs/react", "kind": "const", "name": "isUrl", "runtime": true, "signature": "isUrl: (string: unknown) => boolean", "source": null, "typeParameters": [] }, "platejs/react:ItalicPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "ItalicPlugin", "runtime": true, "signature": "ItalicPlugin: InternalReactPluginAdapterResult & Readonly<{\n name: \"italic\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"italic\";\n localId: \"italic\";\n ownerName: \"italic\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>, {\n readonly shortcuts: {\n readonly toggle: {\n readonly keys: \"mod+i\";\n };\n };\n}>", "source": null, "typeParameters": [] }, "platejs/react:ItalicRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "ItalicRules", "runtime": true, "signature": "ItalicRules: {\n markdown: ({ variant, ...options }?: MarkdownMarkRuleOptions & {\n variant?: '*' | '_';\n }) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs/react:JsonEditorValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "JsonEditorValue", "runtime": false, "signature": "type JsonEditorValue = JsonRecord & {\n children: readonly JsonNode[];\n records?: EditorDocumentRecords;\n roots?: Readonly>;\n};", "source": null, "typeParameters": [] }, "platejs/react:JsonNode": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "JsonNode", "runtime": false, "signature": "type JsonNode = JsonRecord & ({\n children: readonly JsonNode[];\n text?: never;\n} | {\n children?: never;\n text: string;\n});", "source": null, "typeParameters": [] }, "platejs/react:KbdPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "KbdPlugin", "runtime": true, "signature": "KbdPlugin: Plugin & Readonly<{\n name: \"kbd\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"kbd\";\n localId: \"kbd\";\n ownerName: \"kbd\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:KeyboardHandler": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "KeyboardHandler", "runtime": false, "signature": "type KeyboardHandler = DOMHandler;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:LeafEdge": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "LeafEdge", "runtime": false, "signature": "type LeafEdge = 'start' | 'end';", "source": null, "typeParameters": [] }, "platejs/react:LeafNodeProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "LeafNodeProps", "runtime": false, "signature": "type LeafNodeProps = ((props: EditorNodeProps & RenderLeafProps$1) => AnyObject | undefined) | AnyObject;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:LeafPosition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "LeafPosition", "runtime": false, "signature": "type LeafPosition = Readonly<{\n end: number;\n isFirst?: true;\n isLast?: true;\n start: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:LeafStaticProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "LeafStaticProps", "runtime": false, "signature": "type LeafStaticProps = ((props: BaseRenderNodeProps & StaticRenderLeafProps) => AnyObject | undefined) | AnyObject;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:LineHeightDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "LineHeightDefinition", "runtime": false, "signature": "type LineHeightDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:LineHeightPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "LineHeightPlugin", "runtime": true, "signature": "LineHeightPlugin: Plugin & Readonly<{\n name: \"lineHeight\";\n}> & Readonly> & Readonly<{\n update: {\n clear: TxDeclaredMethod<(options?: NodeSetNodesOptions) => void>;\n set: TxDeclaredMethod<(value: number, options?: NodeSetNodesOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"lineHeight\";\n localId: \"lineHeight\";\n ownerName: \"lineHeight\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly properties: {\n lineHeight: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n}> & Readonly<{\n targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs/react:LinkAttributes": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "LinkAttributes", "runtime": false, "signature": "type LinkAttributes = Record & {\n className?: string;\n download?: boolean | string;\n href?: string;\n rel?: string;\n target?: string;\n title?: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:LinkDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "LinkDefinition", "runtime": false, "signature": "type LinkDefinition = DefinitionOf$1;", "source": null, "typeParameters": [] }, "platejs/react:LinkElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "LinkElement", "runtime": false, "signature": "type LinkElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/react:LinkPlugin": { "aliases": [], "documentation": "Enables support for hyperlinks.", "entrypoint": "platejs/react", "kind": "const", "name": "LinkPlugin", "runtime": true, "signature": "LinkPlugin: Plugin>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: {\n getAttributes: (link: Element$1) => LinkAttributes;\n };\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:LinkRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "LinkRules", "runtime": true, "signature": "LinkRules: {\n markdown: (ruleOptions?: InputRuleOptions) => InsertTextInputRule<{\n range: {\n anchor: BasePoint;\n focus: BasePoint;\n };\n text: string;\n url: string;\n }, InternalBaseEditorWithInstalledPlugins>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>>, readonly []>>;\n autolink: (options: ({\n variant: 'break';\n } & NonNullable[0]>) | ({\n variant: 'paste';\n } & NonNullable[0]>) | ({\n variant: 'space';\n } & NonNullable[0]>)) => InsertBreakInputRule>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>>, readonly []>> | InsertDataInputRule<{\n url?: undefined;\n text: string;\n } | {\n text?: undefined;\n url: string;\n }, InternalBaseEditorWithInstalledPlugins>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>>, readonly []>> | InsertTextInputRule>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider>;\n key: \"target\";\n localId: \"target\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n key: \"url\";\n localId: \"url\";\n ownerName: \"link\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'text';\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly default: \"text\";\n readonly min: 1;\n } & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'text';\n }> | undefined;\n }>>;\n readonly inline: true;\n readonly properties: {\n target: PropertyStringDescriptor>;\n url: PropertyStringDescriptor<{\n readonly required: true;\n readonly validate: (value: unknown) => value is string;\n readonly validationVersion: 1;\n }>;\n };\n };\n };\n readonly name: \"link\";\n readonly api: BaseLinkApi;\n readonly commands: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowedSchemes: readonly string[];\n readonly defaultLinkAttributes: {\n readonly [x: string]: unknown;\n readonly className?: string;\n readonly download?: boolean | string;\n readonly href?: string;\n readonly rel?: string;\n readonly target?: string;\n readonly title?: string;\n };\n readonly keepSelectedTextOnPaste: boolean;\n readonly parseUrl: (text: string, defaultParseUrl: (text: string) => string | undefined) => string | undefined;\n readonly rangeBeforeOptions: NonNullable[1]>;\n };\n readonly render: true;\n readonly rules: true;\n readonly update: {\n readonly exitEnd: () => true | undefined;\n readonly insert: TxDeclaredMethod<({ children, target, text, url: inputUrl }: CreateLinkNodeOptions, options?: TextInsertFragmentOptions) => true | undefined>;\n readonly unwrap: TxDeclaredMethod<(options?: UnwrapLinkOptions) => true | undefined>;\n readonly upsert: TxDeclaredMethod<({ insertNodesOptions, target, text, url: inputUrl }: UpsertLinkOptions) => true | undefined>;\n readonly upsertText: TxDeclaredMethod<({ text }: UpsertLinkOptions) => void>;\n readonly wrap: TxDeclaredMethod<({ target, url: inputUrl, ...options }: WrapLinkOptions) => true | undefined>;\n };\n }>> & Readonly>>>, readonly []>>;\n}", "source": null, "typeParameters": [] }, "platejs/react:ListElement": { "aliases": [], "documentation": "Element carrying the Indent and List schema capabilities.", "entrypoint": "platejs/react", "kind": "type", "name": "ListElement", "runtime": false, "signature": "type ListElement = ElementWith;", "source": null, "typeParameters": [] }, "platejs/react:ListPlugin": { "aliases": [], "documentation": "Enables support for indented lists with React-specific features.", "entrypoint": "platejs/react", "kind": "const", "name": "ListPlugin", "runtime": true, "signature": "ListPlugin: InternalPluginAuthorExtension & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n}>> & Readonly>, {\n readonly slots: {\n readonly wrapNodeChildren: (props: Omit & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>>>, \"slots\"> & {\n ref?: any;\n } & Omit & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>>, \"name\"> & {\n name: string;\n }>>>, \"path\"> & {\n renderPath: Path;\n }) => ((innerProps: Omit & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>>>, \"slots\"> & {\n ref?: any;\n } & Omit & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>>, \"name\"> & {\n name: string;\n }>>>, \"path\"> & {\n renderPath: Path;\n }) => React$1.JSX.Element) | undefined;\n };\n}>, Omit & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n}>, \"dependencies\" | \"name\"> & Readonly<{\n name: \"list\";\n}> & Pick & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition value is number;\n readonly validationVersion: 1;\n }>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n}>, \"dependencies\">, \"slots\", {}, {}, {}, {}, {}, readonly [], boolean, readonly []>", "source": null, "typeParameters": [] }, "platejs/react:ListStyle": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ListStyle", "runtime": true, "signature": "ListStyle: {\n readonly ArabicIndic: 'arabic-indic';\n readonly Armenian: 'armenian';\n readonly Bengali: 'bengali';\n readonly Cambodian: 'cambodian';\n readonly Circle: 'circle';\n readonly CjkDecimal: 'cjk-decimal';\n readonly CjkEarthlyBranch: 'cjk-earthly-branch';\n readonly CjkHeavenlyStem: 'cjk-heavenly-stem';\n readonly Decimal: 'decimal';\n readonly DecimalLeadingZero: 'decimal-leading-zero';\n readonly Devanagari: 'devanagari';\n readonly Disc: 'disc';\n readonly DisclosureClosed: 'disclosure-closed';\n readonly DisclosureOpen: 'disclosure-open';\n readonly EthiopicNumeric: 'ethiopic-numeric';\n readonly Georgian: 'georgian';\n readonly Gujarati: 'gujarati';\n readonly Gurmukhi: 'gurmukhi';\n readonly Hebrew: 'hebrew';\n readonly Hiragana: 'hiragana';\n readonly HiraganaIroha: 'hiragana-iroha';\n readonly Inherit: 'inherit';\n readonly Initial: 'initial';\n readonly JapaneseFormal: 'japanese-formal';\n readonly JapaneseInformal: 'japanese-informal';\n readonly Kannada: 'kannada';\n readonly Katakana: 'katakana';\n readonly KatakanaIroha: 'katakana-iroha';\n readonly Khmer: 'khmer';\n readonly KoreanHangulFormal: 'korean-hangul-formal';\n readonly KoreanHanjaFormal: 'korean-hanja-formal';\n readonly KoreanHanjaInformal: 'korean-hanja-informal';\n readonly Lao: 'lao';\n readonly LowerAlpha: 'lower-alpha';\n readonly LowerArmenian: 'lower-armenian';\n readonly LowerGreek: 'lower-greek';\n readonly LowerLatin: 'lower-latin';\n readonly LowerRoman: 'lower-roman';\n readonly Malayalam: 'malayalam';\n readonly Mongolian: 'mongolian';\n readonly Myanmar: 'myanmar';\n readonly None: 'none';\n readonly Oriya: 'oriya';\n readonly Persian: 'persian';\n readonly SimpChineseFormal: 'simp-chinese-formal';\n readonly SimpChineseInformal: 'simp-chinese-informal';\n readonly Square: 'square';\n readonly Tamil: 'tamil';\n readonly Telugu: 'telugu';\n readonly Thai: 'thai';\n readonly Tibetan: 'tibetan';\n readonly TradChineseFormal: 'trad-chinese-formal';\n readonly TradChineseInformal: 'trad-chinese-informal';\n readonly UpperAlpha: 'upper-alpha';\n readonly UpperArmenian: 'upper-armenian';\n readonly UpperLatin: 'upper-latin';\n readonly UpperRoman: 'upper-roman';\n}", "source": null, "typeParameters": [] }, "platejs/react:ListType": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ListType", "runtime": true, "signature": "ListType: {\n readonly Bulleted: 'bulleted';\n readonly Numbered: 'numbered';\n readonly Task: 'task';\n}", "source": null, "typeParameters": [] }, "platejs/react:locateAt": { "aliases": [], "documentation": "A `txLocate` locate for a method whose argument at `index` is options\nholding targets under `keys`, `at` by default: it places each target\ngiven, and the method does nothing when one has no place.", "entrypoint": "platejs/react", "kind": "const", "name": "locateAt", "runtime": true, "signature": "locateAt: (index: TIndex, ...keys: TKey[]) => >>; }>(args: TArgs, place: EditorCommandPlace) => TArgs | null", "source": null, "typeParameters": [] }, "platejs/react:Location": { "aliases": [], "documentation": "The `Location` interface is a union of the ways to refer to a specific\nlocation in a document: paths, points or ranges.\n\nMethods will often accept a `Location` instead of requiring only a `Path`,\n`Point` or `Range`. This eliminates the need for developers to manage\nconverting between the different interfaces in their own code base.", "entrypoint": "platejs/react", "kind": "type", "name": "Location", "runtime": false, "signature": "type Location = Path | Point | Range;", "source": null, "typeParameters": [] }, "platejs/react:LocationApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "LocationApi", "runtime": true, "signature": "LocationApi: Readonly", "source": null, "typeParameters": [] }, "platejs/react:LocationInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "LocationInterface", "runtime": false, "signature": "interface LocationInterface {\n /**\n * Check if a value implements the `Location` interface.\n */\n isLocation: (value: unknown) => value is Location;\n /**\n * Check if a location is a `Path`.\n */\n isPath: (at: Location) => at is Path;\n /**\n * Check if a location is a `Point`.\n */\n isPoint: (at: Location) => at is Point;\n /**\n * Check if a location is a `Range`.\n */\n isRange: (at: Location) => at is Range;\n /**\n * Differentiate between a normal `Location` and a `Span`.\n */\n isSpan: (at: unknown) => at is Span;\n}", "source": null, "typeParameters": [] }, "platejs/react:LogLevel": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "LogLevel", "runtime": false, "signature": "type LogLevel = 'error' | 'info' | 'log' | 'warn';", "source": null, "typeParameters": [] }, "platejs/react:mapEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "mapEffect", "runtime": true, "signature": "mapEffect: (effect: EditorEffect, changes: Parameters['map']>[1]) => EditorEffect | undefined", "source": null, "typeParameters": [] }, "platejs/react:MarkComboRules": { "aliases": [], "documentation": "Markdown rules that atomically apply combinations of independent marks. By\ndefault they run before the single-mark rules whose delimiters begin each\ncombo's runs.", "entrypoint": "platejs/react", "kind": "const", "name": "MarkComboRules", "runtime": true, "signature": "MarkComboRules: {\n markdown: ({ variant, priority, ...options }: MarkdownMarkRuleOptions & {\n variant: keyof typeof MARK_COMBOS;\n }) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs/react:MarkdownDecodeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownDecodeContext", "runtime": false, "signature": "type MarkdownDecodeContext = MarkdownContext & Readonly<{\n build: (node: RootContent | Node, marks?: MarkdownMarks) => Descendant[];\n /** One paragraph's inline content, or `null` when it is not one paragraph. */\n caption: (children: readonly Descendant[]) => readonly Descendant[] | null;\n decode: (nodes: readonly RootContent[], marks?: MarkdownMarks) => Descendant[];\n decodeNodes: (nodes: readonly RootContent[], marks?: MarkdownMarks) => Descendant[];\n /**\n * Read the phrasing of a GFM table cell back into blocks: the reverse of\n * `encodeLine`. Inline runs become paragraphs, block elements such as\n * images stay blocks, and an inline `

            ` or `
              ` run reads as a list\n * through the installed list mapping. Without one, or when every list\n * mapping declines the run, it stays literal text; a refusal drops it\n * with a report, as it does for a top-level list.\n */\n decodeLine: (nodes: readonly PhrasingContent[], marks?: MarkdownMarks) => Descendant[];\n marks: MarkdownMarks;\n node: TNode;\n /** The node before this one among its Markdown siblings. */\n previousSibling: RootContent | null;\n /** Attributes of `tag` (default: this node) decoded for the target type. */\n readTagAttributes: (tag?: MarkdownTagNode) => MarkdownTagAttributeView;\n refuse: (message: string) => MarkdownRefusal;\n report: (diagnostic: MarkdownMappingDiagnosticInput | MarkdownOmittedPropertyInput) => void;\n serializeUnknown: (node: MdxJsxFlowElement) => string;\n}>;", "source": null, "typeParameters": [ "TNode extends Node = Node", "D extends AnyBasePluginDefinition = AnyBasePluginDefinition" ] }, "platejs/react:MarkdownEncodeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownEncodeContext", "runtime": false, "signature": "type MarkdownEncodeContext = MarkdownContext & Omit & Readonly<{\n report: (diagnostic: MarkdownMappingDiagnosticInput) => void;\n /**\n * The blocks of the content root that `slot` names on `node`, in stored\n * order. Serializing reports each document root no mapping read.\n */\n contentRoot: (slot: ElementContentRootSlot>) => readonly Descendant[];\n encode: (nodes: readonly Descendant[]) => RootContent[];\n encodeBlocks: (nodes: readonly Descendant[]) => BlockContent[];\n encodeFlow: (nodes: readonly Descendant[]) => Array;\n encodePhrasing: (nodes: readonly Descendant[]) => PhrasingContent[];\n /**\n * Encode block children onto one line of phrasing for a GFM table cell.\n * `encodePhrasing` encodes inline nodes; this encodes blocks. Lists become\n * inline `
                `, `
                  ` and `
                1. ` HTML, line breaks become `
                  `,\n * and a `
                  ` joins paragraphs, with a lossy warning. Headings and\n * quotes keep their inline content and code and math blocks keep their\n * text, each with a lossy warning. A block with no inline form, such as a\n * horizontal rule, is dropped and reported under the loss policy. The\n * output never holds a raw line ending or a `|` that ends the cell. In\n * inline math, `|` becomes `\\vert` and `\\|` becomes `\\Vert`, a `|` in a\n * text-mode group such as `\\text{…}` becomes `\\textbar{}`, and a `\\verb`\n * delimited by `|` takes another delimiter; a `|` becomes `%7C` in an\n * autolink and `|` in raw HTML. Inline math with a `|` or `\\|` the\n * writer cannot place, such as one in another command's argument, an\n * array column spec or `\\verb` text, becomes text, and so does inline code\n * holding `\\|`. Each kind of rewrite reports one lossy warning. It reads\n * back as blocks only through `decodeLine`.\n */\n encodeLine: (nodes: readonly Descendant[]) => PhrasingContent[];\n isFlow: (node: RootContent) => node is BlockContent | DefinitionContent;\n isPhrasing: (node: RootContent) => node is PhrasingContent;\n /**\n * Encode property values as tag attributes for this node's type, under\n * the mapping's `attributes` names. A property counts as represented when\n * the returned output keeps its attribute.\n */\n encodeAttributes: (properties: Readonly>) => MdxJsxAttribute[];\n /**\n * Encode `node` as a mapping without `encode` writes its tag: this\n * plugin's properties under their `attributes` names, then other plugins'\n * non-metadata properties by key, except those the enclosing Markdown\n * structure writes (list topology). Claims the properties it writes, so\n * return the attributes in your output.\n */\n encodeNodeAttributes: () => MdxJsxAttribute[];\n node: TNode;\n /**\n * Claim that the returned output represents these properties of `node`.\n * Unclaimed content properties are reported as omitted. Claims count only\n * when the encoder returns output.\n */\n preserve: (...keys: ReadonlyArray>) => void;\n preserveEmptyParagraphs?: boolean;\n readPlainInline: (children: readonly Descendant[]) => string | null;\n refuse: (message: string) => MarkdownRefusal;\n resourceLink: boolean;\n}>;", "source": null, "typeParameters": [ "TNode extends Descendant = Descendant", "D extends AnyBasePluginDefinition = AnyBasePluginDefinition" ] }, "platejs/react:MarkdownMarks": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownMarks", "runtime": false, "signature": "type MarkdownMarks = Readonly>;", "source": null, "typeParameters": [] }, "platejs/react:MarkdownMarkWrapContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownMarkWrapContext", "runtime": false, "signature": "type MarkdownMarkWrapContext = MarkdownEncodeContext, D> & Readonly<{\n value: PluginFormatTextValue;\n}>;", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition = AnyBasePluginDefinition" ] }, "platejs/react:MarkdownMarkWrapper": { "aliases": [], "documentation": "A childless inline wrapper. Markdown supplies the encoded text children.", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownMarkWrapper", "runtime": false, "signature": "type MarkdownMarkWrapper = Readonly<{\n type: 'delete';\n}> | Readonly<{\n type: 'emphasis';\n}> | Readonly<{\n attributes?: readonly MdxJsxAttribute[];\n name: string;\n type: 'mdxJsxTextElement';\n}> | Readonly<{\n type: 'strong';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:MarkdownNodeKind": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownNodeKind", "runtime": false, "signature": "type MarkdownNodeKind = keyof MarkdownNodeKinds;", "source": null, "typeParameters": [] }, "platejs/react:MarkdownNodeKinds": { "aliases": [], "documentation": "Standard MDAST node kinds a mapping can select with `node`.", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownNodeKinds", "runtime": false, "signature": "type MarkdownNodeKinds = {\n blockquote: Blockquote;\n break: Break;\n code: Code;\n delete: Delete;\n emphasis: Emphasis;\n footnoteDefinition: FootnoteDefinition;\n footnoteReference: FootnoteReference;\n heading: Heading;\n html: Html;\n image: Image;\n inlineCode: InlineCode;\n inlineMath: InlineMath;\n link: Link;\n list: List;\n listItem: ListItem;\n math: Math;\n paragraph: Paragraph;\n strong: Strong;\n table: Table;\n tableCell: TableCell;\n tableRow: TableRow;\n text: Text;\n thematicBreak: ThematicBreak;\n};", "source": null, "typeParameters": [] }, "platejs/react:MarkdownNodeMapping": { "aliases": [], "documentation": "Schema-bound Markdown conversion owned by one feature plugin. A `tag`\nmapping without `decode` and `encode` is derived from the schema: the\nruntime builds the node, converts the plugin's own properties as attributes\nand traverses children by the content model. Marks derive the same way from\n`tag`, `node`, `value` and `style`.", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownNodeMapping", "runtime": false, "signature": "type MarkdownNodeMapping = EncodeOnlyMarkdownNodeMapping | NodeMarkdownNodeMapping | TagMarkdownNodeMapping;", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition" ] }, "platejs/react:MarkdownNodeMappingInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownNodeMappingInput", "runtime": false, "signature": "type MarkdownNodeMappingInput = MarkdownNodeMapping | readonly [MarkdownNodeMapping, ...Array>];", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition" ] }, "platejs/react:MarkdownPluginRegistry": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownPluginRegistry", "runtime": false, "signature": "type MarkdownPluginRegistry = PluginFormatRegistry;", "source": null, "typeParameters": [] }, "platejs/react:MarkdownRefusal": { "aliases": [], "documentation": "Returned by `refuse()`: the node cannot be represented, so conversion reports\n`markdown-unsupported-node` under `lossPolicy` instead of throwing.", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownRefusal", "runtime": false, "signature": "type MarkdownRefusal = Readonly<{\n [markdownRefusal]: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:MarkdownTagAttributeView": { "aliases": [], "documentation": "Tag attributes as written, and the ones that decode to schema properties.", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownTagAttributeView", "runtime": false, "signature": "type MarkdownTagAttributeView = Readonly<{\n attributes: Readonly>;\n properties: Readonly>;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:MarkdownTagNode": { "aliases": [], "documentation": "A registered Plate tag (`…`), in the established\nMDAST shape for JSX-like elements.", "entrypoint": "platejs/react", "kind": "type", "name": "MarkdownTagNode", "runtime": false, "signature": "type MarkdownTagNode = MdxJsxFlowElement | MdxJsxTextElement;", "source": null, "typeParameters": [] }, "platejs/react:MarkInputRuleConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarkInputRuleConfig", "runtime": false, "signature": "type MarkInputRuleConfig = BaseInputRule & {\n end?: string;\n mark?: PluginReference | string;\n marks?: ReadonlyArray;\n start: string;\n trim?: 'allow' | 'reject';\n trigger: string;\n value?: EditorJsonValue;\n};", "source": null, "typeParameters": [] }, "platejs/react:MarkInputRuleMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarkInputRuleMatch", "runtime": false, "signature": "type MarkInputRuleMatch = {\n afterStartMatchPoint: Point$1;\n beforeEndMatchPoint: Point$1;\n beforeStartMatchPoint: Point$1;\n end: string | undefined;\n};", "source": null, "typeParameters": [] }, "platejs/react:MarkKeysOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarkKeysOf", "runtime": false, "signature": "type MarkKeysOf = {} extends MarksOf ? unknown : keyof MarksOf;", "source": null, "typeParameters": [ "N" ] }, "platejs/react:MarksIn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarksIn", "runtime": false, "signature": "type MarksIn = MarksOf;", "source": null, "typeParameters": [ "V extends readonly unknown[]" ] }, "platejs/react:MarksOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MarksOf", "runtime": false, "signature": "type MarksOf = Simplify>>>;", "source": null, "typeParameters": [ "N" ] }, "platejs/react:MatchBlockFenceOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MatchBlockFenceOptions", "runtime": false, "signature": "type MatchBlockFenceOptions = {\n block?: PluginReference | string;\n fence: string;\n resolveMatch?: (args: {\n fence: string;\n path: Path;\n range: Range;\n text: string;\n }) => TMatch | undefined;\n};", "source": null, "typeParameters": [ "TMatch = BlockFenceInputRuleMatch" ] }, "platejs/react:matchBlockStart": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "matchBlockStart", "runtime": true, "signature": "matchBlockStart: (context: TContext, config: MatchBlockStartOptions) => (BlockStartInputRuleMatch & TMatch) | undefined", "source": null, "typeParameters": [] }, "platejs/react:MatchBlockStartOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MatchBlockStartOptions", "runtime": false, "signature": "type MatchBlockStartOptions = {\n match: RegExp | string | ((context: TContext) => RegExp | string | undefined);\n resolveMatch?: (args: {\n match: RegExpMatchArray | string;\n range: Range;\n text: string;\n }) => TMatch | undefined;\n};", "source": null, "typeParameters": [ "TMatch extends object = {}", "TContext extends SelectionInputRuleContext = SelectionInputRuleContext" ] }, "platejs/react:matchDelimitedInline": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "matchDelimitedInline", "runtime": true, "signature": "matchDelimitedInline: (context: SelectionInputRuleContext, { boundaryRe, close, followRe, open, requireClosingDelimiter, rejectRepeatedOpen, trim }: MatchDelimitedInlineOptions) => DelimitedInlineInputRuleMatch | undefined", "source": null, "typeParameters": [] }, "platejs/react:MatchDelimitedInlineOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MatchDelimitedInlineOptions", "runtime": false, "signature": "type MatchDelimitedInlineOptions = {\n boundaryRe?: RegExp;\n close?: string;\n followRe?: RegExp;\n open: string;\n rejectRepeatedOpen?: boolean;\n requireClosingDelimiter?: boolean;\n trim?: 'allow' | 'reject';\n};", "source": null, "typeParameters": [] }, "platejs/react:MaximizeMode": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MaximizeMode", "runtime": false, "signature": "type MaximizeMode = RangeMode | 'all';", "source": null, "typeParameters": [] }, "platejs/react:mergeDeepToNodes": { "aliases": [], "documentation": "Recursively merge a source object to children nodes with a query.", "entrypoint": "platejs/react", "kind": "const", "name": "mergeDeepToNodes", "runtime": true, "signature": "mergeDeepToNodes: (options: Omit, 'apply'>) => void", "source": null, "typeParameters": [] }, "platejs/react:MergeRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MergeRules", "runtime": false, "signature": "type MergeRules = {\n /**\n * Whether to remove the node when it's empty. A join into an empty node in a\n * required prefix slot, such as a title, keeps that node and moves the next\n * sibling's content into it whatever this returns, when that content fits\n * the slot as it stands, no required block is left to build and the update\n * has not moved the node into its slot or replaced it. That exception also\n * needs the sibling to hold only text and inlines and own no content root,\n * neither node to be a void, an atom or read-only, and an empty sibling to\n * carry the node's text properties. Backspace still reads this rule before\n * that merge. With `false` it merges at once, and with `true` the sibling's\n * delete rules run first. `AuthoredPlugin` turns this exception off.\n */\n removeEmpty?: RuleDecision;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:MoveSelectionCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MoveSelectionCommand", "runtime": false, "signature": "type MoveSelectionCommand = {\n options?: SelectionMoveOptions;\n};", "source": null, "typeParameters": [] }, "platejs/react:MoveUnit": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "MoveUnit", "runtime": false, "signature": "type MoveUnit = 'offset' | 'character' | 'word' | 'line';", "source": null, "typeParameters": [] }, "platejs/react:NamedEditorSchemaIdentity": { "aliases": [], "documentation": "Stable application-owned lineage plus its exact semantic fingerprint.", "entrypoint": "platejs/react", "kind": "type", "name": "NamedEditorSchemaIdentity", "runtime": false, "signature": "type NamedEditorSchemaIdentity = Readonly<{\n fingerprint: string;\n id: string;\n kind: 'named';\n version: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:NamedRootKey": { "aliases": [], "documentation": "A named secondary root. Literal `main` is never a public root argument.", "entrypoint": "platejs/react", "kind": "type", "name": "NamedRootKey", "runtime": false, "signature": "type NamedRootKey = TRoot extends 'main' ? never : TRoot;", "source": null, "typeParameters": [ "TRoot extends RootKey = RootKey" ] }, "platejs/react:nanoid": { "aliases": [], "documentation": "Generate secure URL-friendly unique ID.\n\nBy default, the ID will have 21 symbols to have a collision probability\nsimilar to UUID v4.\n\n```js\nimport { nanoid } from 'nanoid'\nmodel.id = nanoid() //=> \"Uakgb_J5m9g-0JDMbcJqL\"\n```", "entrypoint": "platejs/react", "kind": "function", "name": "nanoid", "runtime": true, "signature": "export function nanoid(size?: number): Type", "source": null, "typeParameters": [ "Type extends string" ] }, "platejs/react:NavigationFeedbackPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "NavigationFeedbackPlugin", "runtime": true, "signature": "NavigationFeedbackPlugin: Plugin boolean;\n /** Clear this mounted view's feedback, returning whether a target was active. */\n clear: () => boolean;\n };\n readonly dependencies: readonly [PluginReference$1<\"dom\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly> & Readonly void>;\n } & Pick, \"insertData\">>> & Readonly>> & Pick & Readonly<{\n name: \"dom\";\n }> & Readonly> & Readonly<{\n initialState: {\n readonly scrollMode: ScrollMode;\n readonly scrollChanges: {\n readonly properties?: boolean | undefined;\n readonly structure?: boolean | undefined;\n readonly text?: boolean | undefined;\n };\n readonly scrollOptions: ScrollIntoViewOptions;\n };\n }> & Readonly<{\n api: AutoScrollApi;\n }> & Readonly<{\n update: {\n autoScroll: TxDeclaredMethod<(fn: AutoScrollUpdate, options?: AutoScrollOptions) => void>;\n };\n }>>, Readonly<{\n on: true;\n }> & Readonly<{\n name: \"dom\";\n }> & Readonly> & Readonly<{\n initialState: {\n readonly scrollMode: ScrollMode;\n readonly scrollChanges: {\n readonly properties?: boolean | undefined;\n readonly structure?: boolean | undefined;\n readonly text?: boolean | undefined;\n };\n readonly scrollOptions: ScrollIntoViewOptions;\n };\n }> & Readonly<{\n api: AutoScrollApi;\n }> & Readonly<{\n update: {\n autoScroll: TxDeclaredMethod<(fn: AutoScrollUpdate, options?: AutoScrollOptions) => void>;\n };\n }>, DOMPlugin>, \"~schema.plugins\">];\n readonly render: true;\n}>>", "source": null, "typeParameters": [] }, "platejs/react:NavigationFeedbackPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NavigationFeedbackPluginState", "runtime": false, "signature": "type NavigationFeedbackPluginState = {\n /** Default feedback duration in milliseconds. */\n duration: number;\n};", "source": null, "typeParameters": [] }, "platejs/react:NavigationFlashTargetOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NavigationFlashTargetOptions", "runtime": false, "signature": "type NavigationFlashTargetOptions = {\n /** Live element identity in the current mounted view. */\n key: NodeKey;\n /** Safe whole-element presentation; lifecycle markers remain plugin-owned. */\n attributes?: ViewElementAttributes;\n /** Override the configured duration in milliseconds. */\n duration?: number;\n};", "source": null, "typeParameters": [] }, "platejs/react:Node": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Node", "runtime": false, "signature": "type Node = AnyPluginEditor$1 | Element | Text;", "source": null, "typeParameters": [] }, "platejs/react:NodeAncestorsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeAncestorsOptions", "runtime": false, "signature": "interface NodeAncestorsOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "NodeApi", "runtime": true, "signature": "NodeApi: Readonly", "source": null, "typeParameters": [] }, "platejs/react:NodeChildEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeChildEntry", "runtime": false, "signature": "type NodeChildEntry = NodeEntry>;", "source": null, "typeParameters": [ "N = Node" ] }, "platejs/react:NodeChildrenOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeChildrenOptions", "runtime": false, "signature": "interface NodeChildrenOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeComponent": { "aliases": [], "documentation": "Renders a component for editor nodes declared by `schema.element` or\n`schema.mark` that match this plugin's type. This is the primary render\nmethod for plugin-specific node content.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeComponent", "runtime": false, "signature": "type NodeComponent = ((props: T) => any) | (new (props: T) => any) | keyof HTMLElementTagNameMap;", "source": null, "typeParameters": [ "T = any" ] }, "platejs/react:NodeDescendantsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeDescendantsOptions", "runtime": false, "signature": "interface NodeDescendantsOptions {\n from?: Path;\n to?: Path;\n reverse?: boolean;\n pass?: (node: NodeEntry) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeDuplicateOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeDuplicateOptions", "runtime": false, "signature": "type NodeDuplicateOptions = Pick;", "source": null, "typeParameters": [] }, "platejs/react:NodeElementsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeElementsOptions", "runtime": false, "signature": "interface NodeElementsOptions {\n from?: Path;\n to?: Path;\n reverse?: boolean;\n pass?: (node: NodeEntry) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeEntry": { "aliases": [], "documentation": "`NodeEntry` objects are returned when iterating over the nodes in a\ndocument tree. They consist of the node and its `Path` relative to the root\nnode in the document.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeEntry", "runtime": false, "signature": "type NodeEntry = readonly [T, Path];", "source": null, "typeParameters": [ "T = Node" ] }, "platejs/react:NodeEntryIn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeEntryIn", "runtime": false, "signature": "type NodeEntryIn = NodeEntry>;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs/react:NodeEntryOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeEntryOf", "runtime": false, "signature": "type NodeEntryOf = NodeEntry>;", "source": null, "typeParameters": [ "E" ] }, "platejs/react:NodeFindTextRangesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeFindTextRangesOptions", "runtime": false, "signature": "interface NodeFindTextRangesOptions {\n /**\n * Search only the node at this path and its descendants. The path must\n * exist. Ranges keep their paths from the root.\n */\n at?: Path;\n /**\n * Search only content text of an editor, read view or transaction root:\n * text a capability keeps without counting it as content, such as struck\n * suggestions, is skipped, and a match may run across it.\n */\n content?: boolean;\n /**\n * Match string queries by exact case. Regular expressions use their own\n * flags.\n */\n caseSensitive?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeHasPropsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeHasPropsOptions", "runtime": false, "signature": "interface NodeHasPropsOptions {\n ignore?: (key: string, value: unknown, node: Node) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeIn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeIn", "runtime": false, "signature": "type NodeIn = Element[] extends V ? Node : NodeOf;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs/react:NodeInsertNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeInsertNodesOptions", "runtime": false, "signature": "interface NodeInsertNodesOptions {\n at?: Location;\n mode?: RangeMode;\n hanging?: boolean;\n select?: boolean;\n split?: NodeInsertSplitOptions;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "TSplit extends Node = Node", "TType extends NodeTypeSelector | undefined = undefined" ] }, "platejs/react:NodeInsertOptions": { "aliases": [], "documentation": "Broad insertion options for package APIs that forward a stored selector.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeInsertOptions", "runtime": false, "signature": "type NodeInsertOptions = Omit, 'split'> & {\n split?: Omit['split']>, 'type'> & {\n type?: PluginNodeTypeSelector;\n };\n};", "source": null, "typeParameters": [] }, "platejs/react:NodeInsertSplitOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeInsertSplitOptions", "runtime": false, "signature": "interface NodeInsertSplitOptions {\n match?: NodeMatch;\n type?: TType;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = undefined" ] }, "platejs/react:NodeInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeInterface", "runtime": false, "signature": "interface NodeInterface {\n /**\n * Get the node at a specific path, asserting that it's an ancestor node.\n */\n ancestor: (root: Node, path: Path) => Ancestor;\n /**\n * Return a generator of all the ancestor nodes above a specific path.\n *\n * By default the order is top-down, from highest to lowest ancestor in\n * the tree, but you can pass the `reverse: true` option to go bottom-up.\n */\n ancestors: (root: Node, path: Path, options?: NodeAncestorsOptions) => Generator, void, undefined>;\n /**\n * Get the child of a node at a specific index.\n */\n child: (root: Node, index: number) => Descendant;\n /**\n * Iterate over the children of a node at a specific path.\n */\n children: (root: Node, path: Path, options?: NodeChildrenOptions) => Generator, void, undefined>;\n /**\n * Get an entry for the common ancesetor node of two paths.\n */\n common: (root: Node, path: Path, another: Path) => NodeEntry;\n /**\n * Get the node at a specific path, asserting that it's a descendant node.\n */\n descendant: (root: Node, path: Path) => Descendant;\n /**\n * Return a generator of all the descendant node entries inside a root node.\n */\n descendants: (root: Node, options?: NodeDescendantsOptions) => Generator, void, undefined>;\n /**\n * Return a generator of all the element nodes inside a root node. Each iteration\n * will return an `ElementEntry` tuple consisting of `[Element, Path]`. If the\n * root node is an element it will be included in the iteration as well.\n */\n elements: (root: Node, options?: NodeElementsOptions) => Generator;\n /**\n * Extract props from a Node.\n */\n extractProps: (node: Node) => NodeProps;\n /**\n * Check if a node has props after the caller's metadata policy is applied.\n */\n hasProps: (node: Node, options?: NodeHasPropsOptions) => boolean;\n /**\n * Get the first leaf node entry in a root node from a path.\n */\n first: (root: Node, path: Path) => NodeEntry;\n /**\n * Get the sliced fragment represented by a range inside a root node.\n */\n fragment: (root: Ancestor, range: Range) => readonly Descendant[];\n /**\n * Find ranges for a text query inside text runs. Editor, read view and\n * transaction roots use their schema to join text through inline\n * descendants without crossing block boundaries. String queries are\n * literal; use a regular expression or callback for custom matching.\n */\n findTextRanges: (root: Node | NodeTextRangeRoot | NodeTextRangeView, query: NodeTextRangeQuery, options?: NodeFindTextRangesOptions) => readonly Range[];\n /**\n * Get the descendant node referred to by a specific path. If the path is an\n * empty array, it refers to the root node itself.\n */\n get: (root: Node, path: Path) => Node;\n /**\n * Similar to get, but returns undefined if the node does not exist.\n */\n getIf: (root: Node, path: readonly number[]) => Node | undefined;\n /**\n * Check if a descendant node exists at a specific path.\n */\n has: (root: Node, path: Path) => boolean;\n /**\n * Check if a node is an `Editor` or `Element` object.\n */\n isAncestor: (node: Node) => node is Ancestor;\n /**\n * Check if a value is an `Element` or `Text` node.\n */\n isDescendant: (value: unknown) => value is Descendant;\n /**\n * Check if a node is an `Editor` object.\n */\n isEditor: (value: unknown) => value is AnyPluginEditor$1;\n /**\n * Check if a node is an `Element` object.\n */\n isElement: (value: unknown) => value is Element;\n /**\n * Check if a value implements the `Node` interface.\n */\n isNode: (value: unknown, options?: NodeIsNodeOptions) => value is Node;\n /**\n * Check if a value is a list of `Node` objects.\n */\n isNodeList: (value: unknown, options?: NodeIsNodeOptions) => value is readonly Node[];\n /**\n * Check if a node is an `Text` object.\n */\n isText: (value: unknown) => value is Text;\n /**\n * Get the last leaf node entry in a root node from a path.\n */\n last: (root: Node, path: Path) => NodeEntry;\n /**\n * Get the node at a specific path, ensuring it's a leaf text node.\n */\n leaf: (root: Node, path: Path) => Text;\n /**\n * Return a generator of the in a branch of the tree, from a specific path.\n *\n * By default the order is top-down, from highest to lowest node in the tree,\n * but you can pass the `reverse: true` option to go bottom-up.\n */\n levels: (root: Node, path: Path, options?: NodeLevelsOptions) => Generator;\n /** Check a node against a predicate. */\n matches: {\n (node: Node, match: (node: Node, path: Path) => node is T, path?: Path): node is T;\n (node: T, match: NodeMatch, path?: Path): boolean;\n };\n /**\n * Return a generator of all the node entries of a root node. Each entry is\n * returned as a `[Node, Path]` tuple, with the path referring to the node's\n * position inside the root node.\n */\n nodes: (root: Node, options?: NodeNodesOptions) => Generator;\n /**\n * Get the parent of a node at a specific path.\n */\n parent: (root: Node, path: Path) => Ancestor;\n /**\n * Get the concatenated text string of a node's content.\n *\n * Note that this will not include spaces or line breaks between block nodes.\n * It is not a user-facing string, but a string for performing offset-related\n * computations for a node.\n */\n string: (node: Node) => string;\n /**\n * Return a generator of all leaf text nodes in a root node.\n */\n texts: (root: Node, options?: NodeTextsOptions) => Generator, void, undefined>;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeIsNodeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeIsNodeOptions", "runtime": false, "signature": "interface NodeIsNodeOptions {\n deep?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeKey": { "aliases": [], "documentation": "Opaque identity for one descendant inside one editor runtime.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeKey", "runtime": false, "signature": "type NodeKey = string & {\n readonly '~nodeKey': true;\n};", "source": null, "typeParameters": [] }, "platejs/react:NodeLevelsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeLevelsOptions", "runtime": false, "signature": "interface NodeLevelsOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeLiftNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeLiftNodesOptions", "runtime": false, "signature": "interface NodeLiftNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:NodeMatch": { "aliases": [], "documentation": "Additional conditions applied after structural node selection.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeMatch", "runtime": false, "signature": "type NodeMatch = (node: T, path: Path) => boolean;", "source": null, "typeParameters": [ "T extends Node = Node" ] }, "platejs/react:NodeMatchPredicate": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeMatchPredicate", "runtime": false, "signature": "type NodeMatchPredicate = ((node: Node, path: Path) => node is T) | ((node: Node, path: Path) => boolean);", "source": null, "typeParameters": [ "T extends Node = Node" ] }, "platejs/react:NodeMergeNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeMergeNodesOptions", "runtime": false, "signature": "interface NodeMergeNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: RangeMode;\n hanging?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:NodeMoveNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeMoveNodesOptions", "runtime": false, "signature": "interface NodeMoveNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n to: Path;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:NodeMutationMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeMutationMethods", "runtime": false, "signature": "interface NodeMutationMethods {\n /**\n * Insert nodes in the editor\n * at the specified location or (if not defined) the current selection or (if not defined) the end of the document.\n */\n insertNodes: {\n , const TType extends NodeTypeSelector | undefined>(editor: Editor, nodes: T | readonly T[], options: NodeInsertNodesOptions, TType> & {\n split: NodeInsertNodesOptions, TType>['split'] & {\n type: TType;\n };\n }): void;\n >(editor: Editor, nodes: T | readonly T[], options?: NodeInsertNodesOptions>): void;\n };\n /**\n * Lift nodes at a specific location upwards in the document tree, splitting\n * their parent in two if necessary.\n */\n liftNodes: {\n (editor: Editor, options: NodeLiftNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeLiftNodesOptions>>(editor: Editor, options?: OptionalSelectorOptions): void;\n };\n /**\n * Merge a node at a location with the previous node of the same depth,\n * removing any empty containing nodes after the merge if necessary.\n */\n mergeNodes: {\n (editor: Editor, options: NodeMergeNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeMergeNodesOptions>>(editor: Editor, options?: OptionalSelectorOptions): void;\n };\n /**\n * Move the nodes at a location to a new location.\n */\n moveNodes: {\n (editor: Editor, options: NodeMoveNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeMoveNodesOptions>>(editor: Editor, options: OptionalSelectorOptions): void;\n };\n /**\n * Remove the nodes at a specific location in the document.\n */\n removeNodes: {\n (editor: Editor, options: NodeRemoveNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeRemoveNodesOptions>>(editor: Editor, options?: OptionalSelectorOptions): void;\n };\n /** Replace a range of children under an ancestor node atomically. */\n replaceChildren: (editor: Editor, children: ReadonlyArray>, options: NodeReplaceChildrenOptions) => void;\n /**\n * Set new properties on the nodes at a location.\n */\n setNodes: {\n (editor: Editor, props: Partial>>, options: NodeSetNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeSetNodesOptions>>(editor: Editor, props: Partial>>, options?: OptionalSelectorOptions): void;\n };\n /**\n * Split the nodes at a specific location.\n */\n splitNodes: {\n (editor: Editor, options: NodeSplitNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeSplitNodesOptions>>(editor: Editor, options?: OptionalSelectorOptions): void;\n };\n /**\n * Unset properties on the nodes at a location.\n */\n unsetNodes: {\n (editor: Editor, props: string | readonly string[], options: NodeUnsetNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeUnsetNodesOptions>>(editor: Editor, props: string | readonly string[], options?: OptionalSelectorOptions): void;\n };\n /**\n * Unwrap the nodes at a location from a parent node, splitting the parent if\n * necessary to ensure that only the content in the range is unwrapped.\n */\n unwrapNodes: {\n (editor: Editor, options: NodeUnwrapNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeUnwrapNodesOptions>>(editor: Editor, options?: OptionalSelectorOptions): void;\n };\n /**\n * Wrap the nodes at a location in a new container node, splitting the edges\n * of the range first to ensure that only the content in the range is wrapped.\n */\n wrapNodes: {\n (editor: Editor, element: ElementIn, options: NodeWrapNodesOptions, TType> & {\n type: TType;\n }): void;\n > = NodeWrapNodesOptions>>(editor: Editor, element: ElementIn, options?: OptionalSelectorOptions): void;\n };\n}", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:NodeNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeNodesOptions", "runtime": false, "signature": "interface NodeNodesOptions {\n from?: Path;\n to?: Path;\n reverse?: boolean;\n pass?: (entry: NodeEntry) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeOf", "runtime": false, "signature": "type NodeOf = N | ElementOf | TextOf;", "source": null, "typeParameters": [ "N" ] }, "platejs/react:NodeProps": { "aliases": [], "documentation": "Static attributes or a pure per-node callback. React hooks are not supported.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeProps", "runtime": false, "signature": "type NodeProps = ((props: EditorNodeProps & RenderElementProps$1> & RenderLeafProps$1) => AnyObject | undefined) | AnyObject;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:NodeRemoveNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeRemoveNodesOptions", "runtime": false, "signature": "interface NodeRemoveNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n hanging?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:NodeReplaceChildrenOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeReplaceChildrenOptions", "runtime": false, "signature": "interface NodeReplaceChildrenOptions {\n at: Path;\n count?: number;\n index?: number;\n newSelection?: Selection;\n /** Preserve runtime keys for positionally corresponding replacements. */\n preserveKeys?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeSelection": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeSelection", "runtime": false, "signature": "type NodeSelection = Readonly<{\n /** First exact selected node in the user's selection direction. */\n anchorPath: Path;\n /** Active exact selected node in the user's selection direction. */\n focusPath: Path;\n kind: 'node';\n /**\n * Named root containing every selected path. Without it, a stored selection\n * is in the primary root, and a target is in the root of the editor or view\n * that reads it.\n */\n root?: NamedRootKey;\n}> & (Readonly<{\n mode: 'block';\n paths: readonly [Path, ...Path[]];\n}> | Readonly<{\n mode: 'object';\n paths: readonly [Path];\n}>);", "source": null, "typeParameters": [] }, "platejs/react:NodeSelectionDrag": { "aliases": [], "documentation": "Renders a drag rectangle and updates node selection during pointer drags.\nPlace it beside `EditorContent`, since the rectangle renders in place.\n\nA renderer can mark a descendant wrapper with `data-node-selection-target`\nto limit its hit area. The wrapper must belong to that editor element,\noutside any nested editor element; otherwise the full element is used.", "entrypoint": "platejs/react", "kind": "function", "name": "NodeSelectionDrag", "runtime": true, "signature": "declare function NodeSelectionDrag({ className, container, style, ...props }: NodeSelectionDragProps): React$1.JSX.Element | null;", "source": null, "typeParameters": [] }, "platejs/react:NodeSelectionDragProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeSelectionDragProps", "runtime": false, "signature": "type NodeSelectionDragProps = Omit, 'children'> & {\n /**\n * An element around the editable, such as the page's scroll container. A\n * mouse or pen drag that starts on the container itself, or on an element\n * inside it that carries `data-node-selection-start`, becomes the same block\n * drag once the pointer has moved 4 pixels, and its rectangle clips to the\n * container's visible area. Only the pressed element counts, so a child of\n * a marked element starts a drag only when it carries the attribute too,\n * and the value `false` turns off a mark or the container's own surface. A\n * click there still reaches the page, and the page can refuse a drag by\n * canceling the press or the first move 4 pixels from it.\n */\n container?: HTMLElement | null;\n};", "source": null, "typeParameters": [] }, "platejs/react:NodeSelectionHighlight": { "aliases": [], "documentation": "Renders a highlight inside each selected selectable block.\n\nSet `data-node-selection-highlight=\"self\"` on a block that renders its own\nhighlight.", "entrypoint": "platejs/react", "kind": "function", "name": "NodeSelectionHighlight", "runtime": true, "signature": "declare function NodeSelectionHighlight({ className, style, ...props }: NodeSelectionHighlightProps): React$1.JSX.Element | null;", "source": null, "typeParameters": [] }, "platejs/react:NodeSelectionHighlightProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeSelectionHighlightProps", "runtime": false, "signature": "type NodeSelectionHighlightProps = Omit, 'children'>;", "source": null, "typeParameters": [] }, "platejs/react:NodeSelectionMode": { "aliases": [], "documentation": "How a node selection was made: `block` for block gestures such as a marquee,\na drag handle or block arrows, `object` for picking one object itself, such\nas clicking an image.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeSelectionMode", "runtime": false, "signature": "type NodeSelectionMode = 'block' | 'object';", "source": null, "typeParameters": [] }, "platejs/react:NodeSetNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeSetNodesOptions", "runtime": false, "signature": "interface NodeSetNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n hanging?: boolean;\n marks?: boolean;\n split?: boolean;\n voids?: boolean;\n compare?: PropsCompare;\n merge?: PropsMerge;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:NodeSplitNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeSplitNodesOptions", "runtime": false, "signature": "interface NodeSplitNodesOptions {\n at?: Location;\n match?: NodeMatch;\n type?: TType;\n mode?: RangeMode;\n always?: boolean;\n height?: number;\n position?: number;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:NodeStaticProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeStaticProps", "runtime": false, "signature": "type NodeStaticProps = ((props: BaseRenderNodeProps & RenderElementProps & StaticRenderLeafProps) => AnyObject | undefined) | AnyObject;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:NodeTarget": { "aliases": [], "documentation": "A document location, node key, or live node to resolve.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeTarget", "runtime": false, "signature": "type NodeTarget = Location | N | NodeKey;", "source": null, "typeParameters": [ "N extends Descendant = Descendant" ] }, "platejs/react:NodeTextRangeEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NodeTextRangeEntry", "runtime": false, "signature": "type NodeTextRangeEntry = readonly [Node | NodeTextRangeRoot, Path];", "source": null, "typeParameters": [] }, "platejs/react:NodeTextRangeMatch": { "aliases": [], "documentation": "A code-unit text match inside the concatenated text for one text run.", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeTextRangeMatch", "runtime": false, "signature": "interface NodeTextRangeMatch {\n readonly end: number;\n readonly start: number;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeTextRangeQuery": { "aliases": [], "documentation": "Match text inside an editor node. String queries are literal, regular\nexpressions use their own flags, and callbacks can return custom offsets.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeTextRangeQuery", "runtime": false, "signature": "type NodeTextRangeQuery = RegExp | string | ((text: string, entry: NodeTextRangeEntry) => Iterable | readonly NodeTextRangeMatch[]);", "source": null, "typeParameters": [] }, "platejs/react:NodeTextRangeRoot": { "aliases": [], "documentation": "A lightweight root for snapshot reads where callers already have children\nbut not a live editor object.", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeTextRangeRoot", "runtime": false, "signature": "interface NodeTextRangeRoot {\n readonly children: readonly Descendant[];\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeTextRangeView": { "aliases": [], "documentation": "A read view or transaction, such as `state` in `editor.read` or `tx` in\n`editor.update`. Its own schema joins inline runs and its own content rule\nskips non-content text, so a search reads the document that view reads.", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeTextRangeView", "runtime": false, "signature": "interface NodeTextRangeView {\n children(): readonly Descendant[];\n readonly nodes: {\n isContent(node: Node): boolean;\n };\n readonly schema: {\n isInline(element: Element): boolean;\n };\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeTextsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeTextsOptions", "runtime": false, "signature": "interface NodeTextsOptions {\n from?: Path;\n to?: Path;\n reverse?: boolean;\n pass?: (node: NodeEntry) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:NodeTypeSelector": { "aliases": [], "documentation": "One or more persisted element identities used for structural selection.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeTypeSelector", "runtime": false, "signature": "type NodeTypeSelector = SchemaElementHandle | string | ReadonlyArray | string>;", "source": null, "typeParameters": [] }, "platejs/react:NodeUnsetNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeUnsetNodesOptions", "runtime": false, "signature": "interface NodeUnsetNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n hanging?: boolean;\n split?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:NodeUnwrapNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeUnwrapNodesOptions", "runtime": false, "signature": "interface NodeUnwrapNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n split?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:NodeWrapNodesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "NodeWrapNodesOptions", "runtime": false, "signature": "interface NodeWrapNodesOptions {\n at?: Location | NodeSelection;\n match?: NodeMatch;\n type?: TType;\n mode?: MaximizeMode;\n split?: boolean;\n voids?: boolean;\n}", "source": null, "typeParameters": [ "T extends Node = Node", "TType extends NodeTypeSelector | undefined = NodeTypeSelector | undefined" ] }, "platejs/react:nodeWriteVeto": { "aliases": [], "documentation": "Contribute a veto that refuses a retype, wrap or unwrap of a node.", "entrypoint": "platejs/react", "kind": "const", "name": "nodeWriteVeto", "runtime": true, "signature": "nodeWriteVeto: Readonly<{\n id: string;\n of: (value: NodeWriteVeto) => PluginContribution;\n}>", "source": null, "typeParameters": [] }, "platejs/react:NodeWriteVeto": { "aliases": [], "documentation": "Return true to refuse the whole update that makes the write. Remote imports\nand history replays never consult it.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeWriteVeto", "runtime": false, "signature": "type NodeWriteVeto = (input: NodeWriteVetoInput) => boolean;", "source": null, "typeParameters": [] }, "platejs/react:NodeWriteVetoInput": { "aliases": [], "documentation": "A local write that changes what `node` is or what holds it, before it\napplies: `retype` sets its `type` to `type`, `wrap` puts it in a new\nelement, and `unwrap` removes it and keeps its children: an unwrap moves\nthem into its parent and a merge into its previous sibling. A merge also\nasks it for each ancestor it empties and removes. A lift asks it too unless\nit takes the last of several children, since lifting any other child\nremoves the holder or splits it in two.", "entrypoint": "platejs/react", "kind": "type", "name": "NodeWriteVetoInput", "runtime": false, "signature": "type NodeWriteVetoInput = Readonly<{\n node: Element;\n path: Path;\n root: RootKey;\n} & ({\n kind: 'retype';\n type: string;\n} | {\n kind: 'unwrap' | 'wrap';\n})>;", "source": null, "typeParameters": [] }, "platejs/react:NormalizeRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "NormalizeRules", "runtime": false, "signature": "type NormalizeRules = {\n /** Whether to remove nodes with empty text. */\n removeEmpty?: RuleDecision;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:Nullable": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Nullable", "runtime": false, "signature": "type Nullable = { [P in keyof T]: T[P] | null; };", "source": null, "typeParameters": [ "T" ] }, "platejs/react:OnNodeChange": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "OnNodeChange", "runtime": false, "signature": "type OnNodeChange = (context: PluginContext & Omit) => void;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:OnTextChange": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "OnTextChange", "runtime": false, "signature": "type OnTextChange = (context: PluginContext & Omit) => void;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:OrderedListRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "OrderedListRules", "runtime": true, "signature": "OrderedListRules: {\n markdown: ({ enabled, priority, variant }?: MarkdownListRuleOptions & {\n variant?: '.' | ')';\n }) => InsertTextInputRule<{\n range: Range;\n text: string;\n start: number;\n continued: {\n listId: string | undefined;\n listLevels: Readonly>> | undefined;\n } | undefined;\n }, InternalBaseEditorWithInstalledPlugins & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>>, readonly []>>;\n}", "source": null, "typeParameters": [] }, "platejs/react:OutdentListOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "OutdentListOptions", "runtime": false, "signature": "type OutdentListOptions = {\n at?: Location | NodeSelection;\n};", "source": null, "typeParameters": [] }, "platejs/react:OwnedAnnotationStore": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "OwnedAnnotationStore", "runtime": false, "signature": "interface OwnedAnnotationStore extends AnnotationStore {\n destroy: () => void;\n}", "source": null, "typeParameters": [ "TData = unknown" ] }, "platejs/react:ParagraphPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "ParagraphPlugin", "runtime": true, "signature": "ParagraphPlugin: InternalPluginAuthorExtension & Readonly<{\n name: \"paragraph\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n}>>, Readonly<{\n formats: true;\n rules: true;\n}> & Readonly<{\n name: \"paragraph\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n}>, \"shortcuts\", {}, {}, {}, {}, {}, readonly [], boolean, readonly []>", "source": null, "typeParameters": [] }, "platejs/react:PartialBasePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PartialBasePlugin", "runtime": false, "signature": "type PartialBasePlugin = Omit>, 'decorate' | 'initialState' | 'render' | 'slots'> & {\n decorate?: DecorateInput | null;\n initialState?: Partial>;\n render?: Partial['render']>>;\n slots?: Partial['slots']>>;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:Path": { "aliases": [], "documentation": "`Path` arrays are a list of indexes that describe a node's exact position in\na document tree. Although they are usually relative to the root `Editor`\nobject, they can be relative to any `Node` object.", "entrypoint": "platejs/react", "kind": "type", "name": "Path", "runtime": false, "signature": "type Path = readonly number[];", "source": null, "typeParameters": [] }, "platejs/react:PathAncestorsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PathAncestorsOptions", "runtime": false, "signature": "interface PathAncestorsOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:PathApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "PathApi", "runtime": true, "signature": "PathApi: Readonly", "source": null, "typeParameters": [] }, "platejs/react:PathInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PathInterface", "runtime": false, "signature": "interface PathInterface {\n /**\n * Get a list of ancestor paths for a given path.\n *\n * The paths are sorted from shallowest to deepest ancestor. However, if the\n * `reverse: true` option is passed, they are reversed.\n */\n ancestors: (path: Path, options?: PathAncestorsOptions) => readonly Path[];\n /**\n * Get the common ancestor path of two paths.\n */\n common: (path: Path, another: Path) => Path;\n /**\n * Compare a path to another, returning an integer indicating whether the path\n * was before, at, or after the other.\n *\n * Note: Two paths of unequal length can still receive a `0` result if one is\n * directly above or below the other. If you want exact matching, use\n * [[PathApi.equals]] instead.\n */\n compare: (path: Path, another: Path) => -1 | 0 | 1;\n /**\n * Check if a path ends after one of the indexes in another.\n */\n endsAfter: (path: Path, another: Path) => boolean;\n /**\n * Check if a path ends at one of the indexes in another.\n */\n endsAt: (path: Path, another: Path) => boolean;\n /**\n * Check if a path ends before one of the indexes in another.\n */\n endsBefore: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is exactly equal to another.\n */\n equals: (path: readonly number[], another: readonly number[]) => boolean;\n /**\n * Check if the path of previous sibling node exists\n */\n hasPrevious: (path: Path) => boolean;\n /**\n * Check if a path is after another.\n */\n isAfter: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is an ancestor of another.\n */\n isAncestor: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is before another.\n */\n isBefore: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is a child of another.\n */\n isChild: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is equal to or an ancestor of another.\n */\n isCommon: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is a descendant of another.\n */\n isDescendant: (path: Path, another: Path) => boolean;\n /**\n * Check if a path is the parent of another.\n */\n isParent: (path: Path, another: Path) => boolean;\n /**\n * Check is a value implements the `Path` interface.\n */\n isPath: (value: unknown) => value is Path;\n /**\n * Check if a path is a sibling of another.\n */\n isSibling: (path: Path, another: Path) => boolean;\n /**\n * Get a list of paths at every level down to a path. Note: this is the same\n * as `PathApi.ancestors`, but including the path itself.\n *\n * The paths are sorted from shallowest to deepest. However, if the `reverse:\n * true` option is passed, they are reversed.\n */\n levels: (path: Path, options?: PathLevelsOptions) => readonly Path[];\n /**\n * Given a path, get the path to the next sibling node.\n */\n next: (path: Path) => Path;\n /**\n * Given a path, return a new path referring to the parent node above it.\n */\n parent: (path: Path) => Path;\n /**\n * Given a path, get the path to the previous sibling node.\n */\n previous: (path: Path) => Path;\n /**\n * Get a path relative to an ancestor.\n */\n relative: (path: Path, ancestor: Path) => Path;\n}", "source": null, "typeParameters": [] }, "platejs/react:PathLevelsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PathLevelsOptions", "runtime": false, "signature": "interface PathLevelsOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:PersistedDocumentInput": { "aliases": [], "documentation": "Application persistence envelope for one complete external document.", "entrypoint": "platejs/react", "kind": "type", "name": "PersistedDocumentInput", "runtime": false, "signature": "type PersistedDocumentInput = Readonly<{\n document: EditorDocumentValue;\n schema: EditorSchemaIdentity;\n selection?: SnapshotSelectionInput;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:PlainTextDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PlainTextDiagnostic", "runtime": false, "signature": "type PlainTextDiagnostic = AuthoredProjectionDiagnostic | StructuralPlainTextDiagnostic;", "source": null, "typeParameters": [] }, "platejs/react:PlainTextDocumentOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PlainTextDocumentOptions", "runtime": false, "signature": "type PlainTextDocumentOptions = PlainTextEditorOptions & Readonly<{\n plugins: readonly BasePluginInput[];\n schema?: EditorApplicationSchema;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PlainTextEditorOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PlainTextEditorOptions", "runtime": false, "signature": "type PlainTextEditorOptions = Readonly<{\n /**\n * Version of an authored document to export. `accepted` drops pending changes\n * and `proposed` applies them as plain content. Either choice adds an\n * `authored-lossy-projection` warning while changes are pending. Required\n * when the document has authored metadata, which every document from an\n * editor with the authored plugin carries, even with no pending change.\n * Omitting it or passing any other value then throws, and so does a valid\n * value when the editor or `plugins` lacks the authored plugin. A document\n * without authored metadata ignores it.\n */\n projection?: 'accepted' | 'proposed';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PlainTextEncodeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PlainTextEncodeContext", "runtime": false, "signature": "type PlainTextEncodeContext = Readonly<{\n children: string;\n node: TNode;\n rootText: (slot: string) => string;\n}> & PluginFormatContext & Omit;", "source": null, "typeParameters": [ "TNode", "D extends AnyBasePluginDefinition" ] }, "platejs/react:PlainTextNodeMapping": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PlainTextNodeMapping", "runtime": false, "signature": "type PlainTextNodeMapping = Readonly<{\n encode: (context: PlainTextEncodeContext, D>) => string | undefined;\n priority?: number;\n}>;", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition" ] }, "platejs/react:PlainTextNodeMappingInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PlainTextNodeMappingInput", "runtime": false, "signature": "type PlainTextNodeMappingInput = PlainTextNodeMapping | readonly [PlainTextNodeMapping, ...Array>];", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition" ] }, "platejs/react:PlainTextSerializeResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PlainTextSerializeResult", "runtime": false, "signature": "type PlainTextSerializeResult = Readonly<{\n data: string;\n diagnostics: readonly PlainTextDiagnostic[];\n}>;", "source": null, "typeParameters": [] }, "platejs/react:Plugin": { "aliases": [], "documentation": "One exact React descriptor layered over one Base plugin.", "entrypoint": "platejs/react", "kind": "interface", "name": "Plugin", "runtime": false, "signature": "interface Plugin extends PluginRuntime, PluginMethods, PluginWitnessFor<() => LowerBasePlugin>, BasePluginInstalledCapabilityWitness, InferPluginNodeTypeProvider, EditorSchemaSourceProvider<() => InferPluginSchemaContribution>, PluginReference$1, PluginDefinitionWitness {\n api?: (context: PluginApiContext) => InferApi;\n readonly conflicts: BasePluginDependencyDescriptors>;\n dependencies: BasePluginDependencyDescriptors>;\n readonly initialState: InferPluginStoreState;\n readonly name: C['name'];\n readonly on: PluginOn;\n read?: (context: PluginContext & {\n state: PluginReadState;\n }) => InferRead;\n readonly render: PluginRender;\n readonly slots: PluginSlots;\n readonly schema: InferPluginSchema;\n readonly selectors: InferSelectors;\n readonly targetPlugins: C extends {\n targetPlugins: infer TTargetPlugins extends ReadonlyArray;\n } ? TTargetPlugins : readonly [];\n update?: (context: PluginContext & {\n context: EditorUpdateContext;\n tx: PluginTransaction;\n }) => InferUpdate;\n}", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:PluginActivationContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginActivationContext", "runtime": false, "signature": "type PluginActivationContext = Readonly<{\n /**\n * Register `take`, which claims something outside the editor, such as a\n * listener on a shared document or a network channel, and returns its\n * release. Activation can run in a React render that never commits, so\n * keep `activate` in memory and claim outside resources only here. On an\n * editor from `createEditor`, or a component's editor after React commits\n * it, `take` runs during publication once every `beforePublish` has\n * passed, and a throw rolls the publication back. On a component's editor\n * before that commit, `take` runs at the commit. Each release runs once:\n * when the component unmounts, when the editor is destroyed, or when the\n * plugin is removed, replaced or rolled back. `take` and its release must\n * be synchronous and must not update the editor.\n */\n acquire: (take: () => (context: PluginCleanupContext) => void) => void;\n afterPublish: (callback: () => void) => void;\n /**\n * Initialize against the final document before publication becomes permanent.\n * Must be synchronous. Throwing aborts publication and runs activation cleanup.\n * Document writes are forbidden; take outside resources with `acquire`.\n */\n beforePublish: (callback: () => void) => void;\n pluginName: string;\n /**\n * Drop in-memory state when the plugin is removed, replaced or rolled back,\n * or when the editor is destroyed.\n */\n onCleanup: (cleanup: (context: PluginCleanupContext) => void) => void;\n /** Named view root, or `undefined` for the primary document. */\n root: NamedRootKey | undefined;\n schema: EditorStateSchemaApi;\n signal: AbortSignal;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PluginApiContext": { "aliases": [], "documentation": "The API factory context, which also reads the editor's own view store.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginApiContext", "runtime": false, "signature": "type PluginApiContext = PluginContext & Readonly<{\n viewStore: PluginViewStore;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:PluginApiFactory": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginApiFactory", "runtime": false, "signature": "type PluginApiFactory = Editor, TResult = unknown> = BivariantMethod<[context: PluginApiFactoryContext], TResult>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor", "TResult = unknown" ] }, "platejs/react:PluginApiFactoryContext": { "aliases": [], "documentation": "Resolve host APIs against one stable plugin candidate.\nAPI-factory results become visible only after every factory has resolved.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginApiFactoryContext", "runtime": false, "signature": "type PluginApiFactoryContext = Editor> = Readonly<{\n editor: PluginCandidateEditor;\n getContributions: (point: PluginPoint) => ReadonlyArray>;\n /** Named view root, or `undefined` for the primary document. */\n root: NamedRootKey | undefined;\n}>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs/react:PluginBaseContext": { "aliases": [], "documentation": "Capabilities and compiled schema handles available in author callbacks.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginBaseContext", "runtime": false, "signature": "type PluginBaseContext = PluginRuntimeContext & PluginAuthorSchemaField & Readonly<{\n /**\n * This plugin's state in the view a read state or transaction runs in: a\n * reader for a read state, a writer for a transaction.\n */\n viewStoreOf: PluginViewStoreOf;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:PluginCandidateContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginCandidateContext", "runtime": false, "signature": "type PluginCandidateContext = Editor> = PluginApiFactoryContext & Readonly<{\n name: string;\n schema: EditorStateSchemaApi>;\n}>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs/react:PluginCandidateEditor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginCandidateEditor", "runtime": false, "signature": "type PluginCandidateEditor = Editor> = TEditor & {\n plugin: TEditor['plugin'];\n};", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs/react:PluginCapabilities": { "aliases": [], "documentation": "Fixed capabilities contributed by an plugin regardless of editor value.", "entrypoint": "platejs/react", "kind": "interface", "name": "PluginCapabilities", "runtime": false, "signature": "interface PluginCapabilities {\n readonly input: Value;\n readonly output: TOutput;\n}", "source": null, "typeParameters": [ "TOutput extends PluginTypes" ] }, "platejs/react:PluginCleanupContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginCleanupContext", "runtime": false, "signature": "type PluginCleanupContext = Readonly<{\n reason: 'remove' | 'replace' | 'rollback';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PluginConfiguration": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginConfiguration", "runtime": false, "signature": "type PluginConfiguration = Omit, 'component' | 'decorate' | 'inject' | 'on' | 'render' | 'slots' | 'shortcuts'> & {\n component?: NodeComponent;\n decorate?: DecorateInput | null;\n inject?: PluginInject;\n on?: PluginOn | null;\n render?: PluginAuthorRender;\n slots?: PluginSlots;\n shortcuts?: Shortcuts;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition" ] }, "platejs/react:PluginContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginContext", "runtime": false, "signature": "type PluginContext = Omit, keyof PluginBaseContext | 'viewStore'> & PluginBaseContext & {\n defineFormats: DefinePluginFormats;\n editor: PluginContextEditor & Readonly<{\n api: Readonly>>;\n }>;\n plugin: ResolvedPlugin;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:PluginContribution": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginContribution", "runtime": false, "signature": "type PluginContribution = PluginContributionInput & Readonly<{\n point: PluginPoint;\n}>;", "source": null, "typeParameters": [ "TValue", "TRequiredEditor = unknown" ] }, "platejs/react:PluginContributionInput": { "aliases": [], "documentation": "Contextual installation requirement for one opaque plugin contribution.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginContributionInput", "runtime": false, "signature": "type PluginContributionInput = Readonly<{\n point: Readonly<{\n id: string;\n }>;\n /**\n * Contravariant proof of the editor capabilities this value needs.\n *\n * @internal\n */\n [PLUGIN_REQUIRED_EDITOR]?: (editor: TRequiredEditor) => void;\n}>;", "source": null, "typeParameters": [ "TRequiredEditor = unknown" ] }, "platejs/react:PluginDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginDefinition", "runtime": false, "signature": "type PluginDefinition = Readonly<{\n api?: unknown;\n activate?: true;\n commands?: true;\n conflicts?: readonly PluginShallowReference[];\n contributions?: true;\n corrections?: true;\n dependencies?: readonly PluginShallowReference[];\n effectTypes?: true;\n enabled?: boolean;\n name: string;\n on?: true;\n read?: unknown;\n readMiddleware?: true;\n schema?: EditorSchemaDeclaration;\n stateFields?: true;\n update?: unknown;\n validate?: true;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PluginDefinitionInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginDefinitionInput", "runtime": false, "signature": "type PluginDefinitionInput = PluginAuthorFields;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:PluginDependency": { "aliases": [], "documentation": "Exact source carried by an inferred Plate dependency without expanding it.", "entrypoint": "platejs/react", "kind": "interface", "name": "PluginDependency", "runtime": false, "signature": "interface PluginDependency {\n /**\n * Nominal dependency source.\n *\n * @internal\n */\n readonly [pluginDependency]: (plugin: TPlugin) => TPlugin;\n}", "source": null, "typeParameters": [ "in out TPlugin" ] }, "platejs/react:PluginDependencyReference": { "aliases": [], "documentation": "Shallow public reference to an plugin dependency.", "entrypoint": "platejs/react", "kind": "interface", "name": "PluginDependencyReference", "runtime": false, "signature": "interface PluginDependencyReference extends PrivatePluginReferenceBrand {\n readonly enabled?: boolean;\n readonly name: string;\n}", "source": null, "typeParameters": [] }, "platejs/react:PluginExtendInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginExtendInput", "runtime": false, "signature": "type PluginExtendInput = PluginStageObject | PluginReference | ((context: PluginContext) => PluginStageObject | PluginReference);", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition" ] }, "platejs/react:PluginFormatContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginFormatContext", "runtime": false, "signature": "type PluginFormatContext = Readonly<{\n name: C extends Readonly<{\n formatOwnerName: infer TName extends string;\n }> ? TName : C['name'];\n pluginState: Readonly>;\n registry: PluginFormatRegistry;\n schema: PluginFormatSchemaView;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:PluginFormatModelView": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginFormatModelView", "runtime": false, "signature": "type PluginFormatModelView = Readonly<{\n document: EditorDocumentValue;\n node: DescendantIn;\n parent: Extract, Element> | null;\n path: Path;\n previousSibling: DescendantIn | null;\n root: RootKey;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:PluginFormatNode": { "aliases": [], "documentation": "Node narrowed from the format mapping target's schema contribution.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginFormatNode", "runtime": false, "signature": "type PluginFormatNode = [FormatElementNode] extends [never] ? [FormatPropertyEntries] extends [never] ? [FormatPropertyEntries] extends [never] ? Descendant : ElementWith : [FormatPropertyEntries] extends [never] ? TextWith : TextWith | ElementWith : FormatElementNode;", "source": null, "typeParameters": [ "D extends AnyBasePluginDefinition" ] }, "platejs/react:PluginFormatRegistry": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginFormatRegistry", "runtime": false, "signature": "type PluginFormatRegistry = Readonly<{\n has: (plugin: PluginReference | string) => boolean;\n type: (plugin: PluginReference | string) => string | undefined;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PluginFormatSchemaView": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginFormatSchemaView", "runtime": false, "signature": "type PluginFormatSchemaView = Pick;", "source": null, "typeParameters": [] }, "platejs/react:PluginInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginInput", "runtime": false, "signature": "type PluginInput = PluginReference | readonly PluginReference[];", "source": null, "typeParameters": [] }, "platejs/react:PluginMigrationContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginMigrationContext", "runtime": false, "signature": "type PluginMigrationContext = Readonly<{\n /** Immutable structural document before candidate configuration publication. */\n document: EditorSchemaDocumentValue;\n /** Candidate schema that validates the returned document. */\n next: EditorStateSchemaApi;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PluginName": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginName", "runtime": false, "signature": "type PluginName = (typeof PLUGINS)[keyof typeof PLUGINS];", "source": null, "typeParameters": [] }, "platejs/react:PluginOn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginOn", "runtime": false, "signature": "type PluginOn = Readonly & {\n commit?: (context: LifecycleContext) => void;\n nodeChange?: OnNodeChange;\n /**\n * Hears the final range of a mouse selection made in this view's own\n * text, once every write of that press has finished. Plugins hear it in\n * plugin order, each with the range mapped through the writes of the\n * plugins before it. An edit-only plugin does not hear it in a\n * read-only view.\n */\n pointerSelectionEnd?: (context: PluginContext & {\n selection: Range;\n }) => void;\n textChange?: OnTextChange;\n transactionChange?: (context: LifecycleContext) => void;\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:PluginOwnUpdate": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginOwnUpdate", "runtime": false, "signature": "type PluginOwnUpdate

                  = Editor$1]>['update'] & Editor$1]>['update'];", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs/react:PluginPoint": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginPoint", "runtime": false, "signature": "type PluginPoint = Readonly<{\n id: string;\n of: (value: TValue) => PluginContribution;\n}>;", "source": null, "typeParameters": [ "TValue" ] }, "platejs/react:PluginPortal": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginPortal", "runtime": false, "signature": "type PluginPortal = Omit, keyof PluginPortalContext | 'schema'> & PluginReference$1 & Omit, 'read' | 'update'> & {\n /** State-bound reads scoped directly to this plugin. */\n read: PluginReadCapability;\n /** One-shot updates scoped directly to this plugin. */\n update: PluginDirectUpdate;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition", "S = C" ] }, "platejs/react:PluginPublicationError": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "class", "name": "PluginPublicationError", "runtime": true, "signature": "declare class PluginPublicationError extends Error {\n readonly pluginName: string;\n readonly phase: 'acquire' | 'activate' | 'beforePublish';\n readonly rollbackErrors: readonly unknown[];\n constructor(pluginName: string, cause: unknown, rollbackErrors?: readonly unknown[], phase?: 'acquire' | 'activate' | 'beforePublish');\n}", "source": null, "typeParameters": [] }, "platejs/react:PluginReadContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginReadContext", "runtime": false, "signature": "type PluginReadContext = Editor> = Readonly<{\n around: >(read: CompatibleEditorRead, handler: EditorReadAroundHandler, EditorReadResult, TEditor>) => EditorReadRegistration;\n}>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs/react:PluginReadFactory": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginReadFactory", "runtime": false, "signature": "type PluginReadFactory = Editor, TResult extends EditorReadMethodTree = EditorReadMethodTree> = BivariantMethod<[context: PluginReadFactoryContext], TResult>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor", "TResult extends EditorReadMethodTree = EditorReadMethodTree" ] }, "platejs/react:PluginReadFactoryContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginReadFactoryContext", "runtime": false, "signature": "type PluginReadFactoryContext = Editor> = Readonly<{\n editor: TEditor;\n state: EditorStateView, PluginsOf>;\n}>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs/react:PluginReadMiddlewareFactory": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginReadMiddlewareFactory", "runtime": false, "signature": "type PluginReadMiddlewareFactory = Editor> = BivariantMethod<[context: PluginReadContext], ReadonlyArray>>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs/react:PluginReadState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginReadState", "runtime": false, "signature": "type PluginReadState

                  = PluginReadStateForInstalledDefinitions>;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs/react:PluginReconfigureOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginReconfigureOptions", "runtime": false, "signature": "type PluginReconfigureOptions = Readonly<{\n /**\n * Return the complete structural document to publish with the candidate.\n *\n * Runs when the change alters the schema or leaves a plugin name\n * uninstalled. Omit it only when the current document already validates\n * under the candidate schema. Live reconfiguration never fills schema\n * defaults implicitly.\n */\n migrate?: (context: PluginMigrationContext) => EditorSchemaDocumentValue;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PluginReference": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PluginReference", "runtime": false, "signature": "interface PluginReference extends PluginReference$1 {\n /** Plate-owned type projection over the shared plugin descriptor identity. */\n readonly [platePluginReference]: true;\n readonly name: TName;\n}", "source": null, "typeParameters": [ "TName extends string = string" ] }, "platejs/react:PLUGINS": { "aliases": [], "documentation": "First-party Plate capability names. Not a persisted AST identity catalog.", "entrypoint": "platejs/react", "kind": "const", "name": "PLUGINS", "runtime": true, "signature": "PLUGINS: {\n readonly affinity: 'affinity';\n readonly aiChat: 'aiChat';\n readonly audio: 'audio';\n readonly backgroundColor: 'backgroundColor';\n readonly blockPlaceholder: 'blockPlaceholder';\n readonly blockquote: 'blockquote';\n readonly bold: 'bold';\n readonly callout: 'callout';\n readonly code: 'code';\n readonly codeBlock: 'codeBlock';\n readonly codeSyntax: 'codeSyntax';\n readonly color: 'color';\n readonly column: 'column';\n readonly columnGroup: 'columnGroup';\n readonly copilot: 'copilot';\n readonly date: 'date';\n readonly debug: 'debug';\n readonly dnd: 'dnd';\n readonly dom: 'dom';\n readonly elementState: 'elementState';\n readonly equation: 'equation';\n readonly excalidraw: 'excalidraw';\n readonly exitBreak: 'exitBreak';\n readonly file: 'file';\n readonly fixedToolbar: 'fixedToolbar';\n readonly floatingToolbar: 'floatingToolbar';\n readonly fontFamily: 'fontFamily';\n readonly fontSize: 'fontSize';\n readonly footnote: 'footnote';\n readonly footnoteDefinition: 'footnoteDefinition';\n readonly formatPainter: 'formatPainter';\n readonly formatting: 'formatting';\n readonly heading: 'heading';\n readonly highlight: 'highlight';\n readonly history: 'history';\n readonly horizontalRule: 'horizontalRule';\n readonly html: 'html';\n readonly image: 'image';\n readonly indent: 'indent';\n readonly inlineEquation: 'inlineEquation';\n readonly inputRules: 'inputRules';\n readonly italic: 'italic';\n readonly kbd: 'kbd';\n readonly lineHeight: 'lineHeight';\n readonly link: 'link';\n readonly list: 'list';\n readonly markdown: 'markdown';\n readonly mediaEmbed: 'mediaEmbed';\n readonly mention: 'mention';\n readonly navigationFeedback: 'navigationFeedback';\n readonly override: 'override';\n readonly paragraph: 'paragraph';\n readonly script: 'script';\n readonly singleBlock: 'singleBlock';\n readonly singleLine: 'singleLine';\n readonly strikethrough: 'strikethrough';\n readonly suggestion: 'suggestion';\n readonly tabbable: 'tabbable';\n readonly table: 'table';\n readonly tableCell: 'tableCell';\n readonly tableRow: 'tableRow';\n readonly textAlign: 'textAlign';\n readonly textIndent: 'textIndent';\n readonly toc: 'toc';\n readonly details: 'details';\n readonly detailsSummary: 'detailsSummary';\n readonly trailingBlock: 'trailingBlock';\n readonly underline: 'underline';\n readonly upload: 'upload';\n readonly video: 'video';\n readonly wordPaste: 'wordPaste';\n readonly yjs: 'yjs';\n}", "source": null, "typeParameters": [] }, "platejs/react:PluginSchema": { "aliases": [], "documentation": "A frozen schema contribution or a pure configured contribution factory.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSchema", "runtime": false, "signature": "type PluginSchema = ((context: PluginSchemaContext) => PluginSchemaDeclaration) | PluginSchemaDeclaration;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:PluginSchemaContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSchemaContext", "runtime": false, "signature": "type PluginSchemaContext = Readonly<{\n initialState: Readonly>;\n name: C['name'];\n plugins: PluginSchemaReferences;\n targetElementTypes: readonly string[];\n}>;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:PluginSchemaDeclaration": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSchemaDeclaration", "runtime": false, "signature": "type PluginSchemaDeclaration = PluginSchemaContentRoots | PluginElementSchemaDeclaration | PluginSchemaProperties | PluginSchemaText;", "source": null, "typeParameters": [] }, "platejs/react:PluginSchemaElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSchemaElement", "runtime": false, "signature": "type PluginSchemaElement = SchemaElement & Readonly<{\n /** Whether this element is legal in Plate normal block content. */\n blockContent?: boolean;\n /** Default persisted discriminator before closed-application overrides. */\n type?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PluginSchemaMark": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSchemaMark", "runtime": false, "signature": "type PluginSchemaMark = PropertyValueDescriptor | Readonly;", "source": null, "typeParameters": [] }, "platejs/react:PluginSchemaReferences": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSchemaReferences", "runtime": false, "signature": "type PluginSchemaReferences = Readonly<{\n /** Plate normal-flow block content, excluding nested structural elements. */\n blockContent: (options?: PluginBlockContentOptions) => SchemaContent;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PluginSelector": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSelector", "runtime": false, "signature": "type PluginSelector = (state: Readonly, ...args: TArgs) => TResult;", "source": null, "typeParameters": [ "TState extends object = object", "TArgs extends unknown[] = unknown[]", "TResult = unknown" ] }, "platejs/react:PluginSelectorArgs": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSelectorArgs", "runtime": false, "signature": "type PluginSelectorArgs = T extends ((state: infer _TState, ...args: infer TArgs) => unknown) ? TArgs : never;", "source": null, "typeParameters": [ "T" ] }, "platejs/react:PluginSelectorMethods": { "aliases": [], "documentation": "Public selector call shape without the implementation-only state input.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSelectorMethods", "runtime": false, "signature": "type PluginSelectorMethods = { [TKey in keyof TSelectors]: PluginSelectorMethod; };", "source": null, "typeParameters": [ "TSelectors extends object" ] }, "platejs/react:PluginSelectorReturn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSelectorReturn", "runtime": false, "signature": "type PluginSelectorReturn = T extends ((state: infer _TState, ...args: never[]) => infer TResult) ? TResult : never;", "source": null, "typeParameters": [ "T" ] }, "platejs/react:PluginSelectors": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSelectors", "runtime": false, "signature": "type PluginSelectors = Record>;", "source": null, "typeParameters": [ "TState extends object = object" ] }, "platejs/react:PluginsFromOptions": { "aliases": [], "documentation": "Plugin tuple inferred from a `createEditor` options object.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginsFromOptions", "runtime": false, "signature": "type PluginsFromOptions = TOptions extends {\n plugins: infer TPlugins extends readonly unknown[];\n} ? TPlugins : readonly [];", "source": null, "typeParameters": [ "TOptions" ] }, "platejs/react:PluginShortcutInput": { "aliases": [], "documentation": "Validate inferred shortcut object keys against callable plugin commands.\nUnknown names require a custom handler; ambiguous names require an explicit\nroute, except plugin/editor API collisions which require a custom handler.\nFields outside the shortcut shape are rejected, because inference would\notherwise accept them as known properties.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginShortcutInput", "runtime": false, "signature": "type PluginShortcutInput, TShortcut = EditorShortcut> = TShortcuts & { [K in keyof TShortcuts]: K extends string ? Extract | (Exclude extends never ? never : PluginShortcutForKey & UnknownShortcutFields, TShortcut>) : never; };", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition", "TShortcuts extends Record", "TShortcut = EditorShortcut" ] }, "platejs/react:PluginSlot": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSlot", "runtime": false, "signature": "type PluginSlot = Readonly<{\n key: TKey;\n of: (input: TInput) => PluginSlotValue;\n}>;", "source": null, "typeParameters": [ "TKey extends string" ] }, "platejs/react:PluginSlotLike": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSlotLike", "runtime": false, "signature": "type PluginSlotLike = Readonly<{\n key: string;\n of: (input: PluginInput) => PluginReference;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:PluginSlotValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginSlotValue", "runtime": false, "signature": "type PluginSlotValue = PluginDependencyContractReference;\n installed: EditorResolvedInstalledPlugins>[number];\n}>> & PluginReference & EditorSchemaPluginProvider<() => SchemaPluginsOf> & {\n name: `slot:${TKey}`;\n};", "source": null, "typeParameters": [ "TKey extends string", "TInput extends PluginInput" ] }, "platejs/react:PluginsOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginsOf", "runtime": false, "signature": "type PluginsOf = E extends BaseEditor ? TPlugins : readonly [];", "source": null, "typeParameters": [ "E" ] }, "platejs/react:PluginState": { "aliases": [], "documentation": "Installed editor state visible while a plugin registers editor behavior.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginState", "runtime": false, "signature": "type PluginState

                  = PluginEditorStateView, InstalledRuntimePluginDefinitions

                  >;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition" ] }, "platejs/react:PluginStore": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginStore", "runtime": false, "signature": "type PluginStore = {\n /** Read the complete current plugin state. */\n get(): Readonly>;\n /** Read one state field or evaluate one named selector. */\n get>(key: K, ...args: IsBroadPluginDefinition$1 extends true ? unknown[] : K extends keyof InferSelectors ? PluginSelectorArgs[K]> : []): PluginStoreValue;\n /** Replace fields or update the current plugin state through a draft. */\n set(value: Partial> | ((state: Draft>) => void)): void;\n /**\n * Subscribe to raw state changes. A listener that throws goes to the editor's\n * `lifecycleErrorSink`, and the other listeners still run. The throw fails\n * neither the write nor an update around it.\n */\n subscribe: (listener: (state: InferPluginStoreState, previousState: InferPluginStoreState) => void) => () => void;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = AnyBasePluginDefinition" ] }, "platejs/react:PluginTransaction": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginTransaction", "runtime": false, "signature": "type PluginTransaction

                  = true extends IsBroadPluginDefinition

                  ? Omit, InstalledPluginDefinition

                  >, 'plugin'> & Readonly<{\n plugin: TransactionPluginPortal;\n}> : PluginTransactionForInstalledDefinitions, InstalledPluginDefinition

                  >;", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:PluginTypeProvider": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "class", "name": "PluginTypeProvider", "runtime": false, "signature": "declare class PluginTypeProvider {\n protected readonly pluginTypes: TProvider;\n}", "source": null, "typeParameters": [ "TProvider extends PluginTypeLambda" ] }, "platejs/react:PluginTypes": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginTypes", "runtime": false, "signature": "type PluginTypes = {\n api?: Record;\n read?: EditorReadMethodTree;\n update?: Record;\n};", "source": null, "typeParameters": [] }, "platejs/react:PluginUpdate": { "aliases": [], "documentation": "One plugin's update methods and their policy form, transaction-only controls included.", "entrypoint": "platejs/react", "kind": "type", "name": "PluginUpdate", "runtime": false, "signature": "type PluginUpdate

                  = PluginUpdateMethods & ((policy: EditorUpdatePolicy) => PluginUpdateMethods);", "source": null, "typeParameters": [ "P extends AnyBasePluginDefinition", "S = P" ] }, "platejs/react:PluginUpdateFactory": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginUpdateFactory", "runtime": false, "signature": "type PluginUpdateFactory = Editor, TResult = unknown> = BivariantMethod<[context: PluginUpdateFactoryContext], TResult>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor", "TResult = unknown" ] }, "platejs/react:PluginUpdateFactoryContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PluginUpdateFactoryContext", "runtime": false, "signature": "type PluginUpdateFactoryContext = Editor> = Readonly<{\n context: EditorUpdateContext;\n editor: TEditor;\n tx: EditorUpdateTransaction, PluginsOf>;\n}>;", "source": null, "typeParameters": [ "TEditor extends BaseEditor = Editor" ] }, "platejs/react:Point": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Point", "runtime": false, "signature": "type Point = BasePoint;", "source": null, "typeParameters": [] }, "platejs/react:PointApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "PointApi", "runtime": true, "signature": "PointApi: Readonly", "source": null, "typeParameters": [] }, "platejs/react:PointEntry": { "aliases": [], "documentation": "`PointEntry` objects are returned when iterating over `Point` objects that\nbelong to a range.", "entrypoint": "platejs/react", "kind": "type", "name": "PointEntry", "runtime": false, "signature": "type PointEntry = readonly [Point, 'anchor' | 'focus'];", "source": null, "typeParameters": [] }, "platejs/react:PointInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PointInterface", "runtime": false, "signature": "interface PointInterface {\n /**\n * Compare a point to another, returning an integer indicating whether the\n * point was before, at, or after the other.\n */\n compare: (point: Point, another: Point) => -1 | 0 | 1;\n /**\n * Check if a point is after another.\n */\n isAfter: (point: Point, another: Point) => boolean;\n /**\n * Check if a point is before another.\n */\n isBefore: (point: Point, another: Point) => boolean;\n /**\n * Check if a point is exactly equal to another.\n */\n equals: (point: Point, another: Point) => boolean;\n /**\n * Check if a value implements the `Point` interface.\n */\n isPoint: (value: unknown) => value is Point;\n}", "source": null, "typeParameters": [] }, "platejs/react:ProjectedRangeSegment": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ProjectedRangeSegment", "runtime": false, "signature": "type ProjectedRangeSegment = Readonly<{\n path: Path;\n key: NodeKey;\n start: number;\n end: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:property": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "property", "runtime": true, "signature": "property: PropertyBuilderApi", "source": null, "typeParameters": [] }, "platejs/react:PropertyBooleanDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PropertyBooleanDescriptor", "runtime": false, "signature": "interface PropertyBooleanDescriptor | undefined = undefined> extends PropertyValueDescriptor {}", "source": null, "typeParameters": [ "TOptions extends PropertyValueOptions | undefined = undefined" ] }, "platejs/react:PropertyBuilderApi": { "aliases": [], "documentation": "Shared JSON property value builders.", "entrypoint": "platejs/react", "kind": "interface", "name": "PropertyBuilderApi", "runtime": false, "signature": "interface PropertyBuilderApi {\n readonly boolean: = {}>(options?: PropertyValueOptions & TOptions) => PropertyBooleanDescriptor;\n readonly enum: typeof defineEnum;\n readonly json: typeof defineJson;\n readonly number: = {}>(options?: PropertyValueOptions & TOptions) => PropertyNumberDescriptor;\n readonly set: > = {}>(item: TItemDescriptor, options?: PropertySetOptions> & TOptions) => PropertySetDescriptor;\n readonly string: = {}>(options?: PropertyValueOptions & TOptions) => PropertyStringDescriptor;\n}", "source": null, "typeParameters": [] }, "platejs/react:PropertyEnumDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PropertyEnumDescriptor", "runtime": false, "signature": "interface PropertyEnumDescriptor | undefined = undefined> extends PropertyValueDescriptor {\n readonly values: TValues;\n}", "source": null, "typeParameters": [ "TValues extends readonly string[] = readonly string[]", "TOptions extends PropertyValueOptions | undefined = undefined" ] }, "platejs/react:PropertyJsonDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PropertyJsonDescriptor", "runtime": false, "signature": "interface PropertyJsonDescriptor | undefined = undefined> extends PropertyValueDescriptor {}", "source": null, "typeParameters": [ "TValue = EditorJsonValue", "TOptions extends PropertyValueOptions | undefined = undefined" ] }, "platejs/react:PropertyJsonOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PropertyJsonOptions", "runtime": false, "signature": "type PropertyJsonOptions = PropertyValueOptions;", "source": null, "typeParameters": [ "TValue = EditorJsonValue" ] }, "platejs/react:PropertyNumberDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PropertyNumberDescriptor", "runtime": false, "signature": "interface PropertyNumberDescriptor | undefined = undefined> extends PropertyValueDescriptor {}", "source": null, "typeParameters": [ "TOptions extends PropertyValueOptions | undefined = undefined" ] }, "platejs/react:PropertyOptionsOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PropertyOptionsOf", "runtime": false, "signature": "type PropertyOptionsOf = TDescriptor extends Readonly<{\n '~schema.options'?: infer TOptions;\n}> ? TOptions : never;", "source": null, "typeParameters": [ "TDescriptor" ] }, "platejs/react:PropertySetDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PropertySetDescriptor", "runtime": false, "signature": "interface PropertySetDescriptor> | undefined = undefined> extends PropertyValueDescriptor>, 'set', TOptions> {\n readonly item: TItemDescriptor;\n}", "source": null, "typeParameters": [ "TItemDescriptor extends PropertyValueDescriptor = PropertyValueDescriptor", "TOptions extends PropertySetOptions> | undefined = undefined" ] }, "platejs/react:PropertySetOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PropertySetOptions", "runtime": false, "signature": "type PropertySetOptions = PropertyValueOptions;", "source": null, "typeParameters": [ "TItem" ] }, "platejs/react:PropertyStringDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "PropertyStringDescriptor", "runtime": false, "signature": "interface PropertyStringDescriptor | undefined = undefined> extends PropertyValueDescriptor {}", "source": null, "typeParameters": [ "TOptions extends PropertyValueOptions | undefined = undefined" ] }, "platejs/react:PropertyValidation": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PropertyValidation", "runtime": false, "signature": "type PropertyValidation = Readonly<{\n validate?: never;\n validationVersion?: never;\n}> | Readonly<{\n /** Narrow an untrusted JSON value to the declared property type. */\n validate: (value: unknown) => value is TValue;\n /** Bump whenever validation behavior changes. */\n validationVersion: number;\n}>;", "source": null, "typeParameters": [ "TValue" ] }, "platejs/react:PropertyValueDescriptor": { "aliases": [], "documentation": "One immutable JSON value law shared by text and element properties.", "entrypoint": "platejs/react", "kind": "interface", "name": "PropertyValueDescriptor", "runtime": false, "signature": "interface PropertyValueDescriptor | undefined = PropertyValueOptions | undefined> {\n /** Type-only carrier for exact property-option inference. */\n readonly '~schema.options'?: TOptions;\n /** Type-only carrier for exact property-value inference. */\n readonly '~schema.value'?: TValue;\n readonly default?: TValue;\n readonly generate?: () => TValue;\n readonly kind: TKind;\n readonly omitDefault: [PropertyValueOptions | undefined] extends [TOptions] ? boolean : TOptions extends {\n omitDefault: true;\n } ? true : false;\n readonly required: [PropertyValueOptions | undefined] extends [TOptions] ? boolean : TOptions extends {\n required: true;\n } ? true : false;\n /** Runtime validator; excluded from structural schema identity. */\n readonly validate?: (value: unknown) => value is TValue;\n /** Structural identity for `validate`; required whenever it is present. */\n readonly validationVersion?: number;\n}", "source": null, "typeParameters": [ "TValue = unknown", "TKind extends PropertyValueKind = PropertyValueKind", "TOptions extends PropertyValueOptions | undefined = PropertyValueOptions | undefined" ] }, "platejs/react:PropertyValueKind": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PropertyValueKind", "runtime": false, "signature": "type PropertyValueKind = 'boolean' | 'enum' | 'json' | 'number' | 'set' | 'string';", "source": null, "typeParameters": [] }, "platejs/react:PropertyValueOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PropertyValueOf", "runtime": false, "signature": "type PropertyValueOf = TDescriptor extends Readonly<{\n '~schema.value'?: infer TValue;\n}> ? TValue : never;", "source": null, "typeParameters": [ "TDescriptor" ] }, "platejs/react:PropertyValueOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "PropertyValueOptions", "runtime": false, "signature": "type PropertyValueOptions = PropertyValueBaseOptions & PropertyValidation;", "source": null, "typeParameters": [ "TValue" ] }, "platejs/react:Range": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Range", "runtime": false, "signature": "type Range = BaseRange;", "source": null, "typeParameters": [] }, "platejs/react:RangeAnchorAssociation": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RangeAnchorAssociation", "runtime": false, "signature": "type RangeAnchorAssociation = AnchorAssociation | 'inward' | 'outward';", "source": null, "typeParameters": [] }, "platejs/react:RangeApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "RangeApi", "runtime": true, "signature": "RangeApi: Readonly", "source": null, "typeParameters": [] }, "platejs/react:RangeDirection": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RangeDirection", "runtime": false, "signature": "type RangeDirection = TextDirection | 'outward' | 'inward';", "source": null, "typeParameters": [] }, "platejs/react:RangeEdgesOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "RangeEdgesOptions", "runtime": false, "signature": "interface RangeEdgesOptions {\n reverse?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:RangeGeometry": { "aliases": [], "documentation": "Immutable DOM geometry for one range in one mounted Editable.", "entrypoint": "platejs/react", "kind": "type", "name": "RangeGeometry", "runtime": false, "signature": "type RangeGeometry = RangeRects & Readonly<{\n /**\n * The part of the Editable anyone can see: the viewport cut by every box\n * that clips the Editable, its own box included when its overflow clips.\n * Every range of one Editable shares it in a frame. `null` when none shows.\n */\n clipRect: ViewportRect | null;\n /**\n * The range's boxes cut to `clipRect`, each line outside it dropped. A\n * line that only touches the edge is outside; a caret on the edge is\n * inside. `null` when nothing of the range is inside. Show or hide by it,\n * and draw inside `clipRect`.\n */\n visible: RangeRects | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:RangeInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "RangeInterface", "runtime": false, "signature": "interface RangeInterface {\n /**\n * Get the start and end points of a range, in the order in which they appear\n * in the document.\n */\n edges: (range: Range, options?: RangeEdgesOptions) => readonly [Point, Point];\n /**\n * Get the end point of a range.\n */\n end: (range: Range) => Point;\n /**\n * Check if a range is exactly equal to another.\n */\n equals: (range: Range | null, another: Range | null) => boolean;\n /**\n * Check if a range includes a path, a point or part of another range.\n */\n includes: (range: Range, target: Location) => boolean;\n /**\n * Check if a range includes another range.\n */\n surrounds: (range: Range, target: Range) => boolean;\n /**\n * Get the intersection of a range with another.\n */\n intersection: (range: Range, another: Range) => Range | null;\n /**\n * Check if a range is backward, meaning that its anchor point appears in the\n * document _after_ its focus point.\n */\n isBackward: (range: Range) => boolean;\n /**\n * Check if a range is collapsed, meaning that both its anchor and focus\n * points refer to the exact same position in the document.\n */\n isCollapsed: (range: Range) => boolean;\n /**\n * Check if a range is expanded.\n *\n * This is the opposite of [[RangeApi.isCollapsed]] and is provided for legibility.\n */\n isExpanded: (range: Range) => boolean;\n /**\n * Check if a range is forward.\n *\n * This is the opposite of [[RangeApi.isBackward]] and is provided for legibility.\n */\n isForward: (range: Range) => boolean;\n /**\n * Check if a value implements the [[Range]] interface.\n */\n isRange: (value: unknown) => value is Range;\n /**\n * Iterate through all of the point entries in a range.\n */\n points: (range: Range) => Generator;\n /**\n * Get the start point of a range.\n */\n start: (range: Range) => Point;\n}", "source": null, "typeParameters": [] }, "platejs/react:RangeMode": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RangeMode", "runtime": false, "signature": "type RangeMode = 'highest' | 'lowest';", "source": null, "typeParameters": [] }, "platejs/react:RangeRects": { "aliases": [], "documentation": "The boxes of one range in viewport coordinates.", "entrypoint": "platejs/react", "kind": "type", "name": "RangeRects", "runtime": false, "signature": "type RangeRects = Readonly<{\n boundingRect: ViewportRect;\n focusRect: ViewportRect | null;\n rects: readonly ViewportRect[];\n}>;", "source": null, "typeParameters": [] }, "platejs/react:react": { "aliases": [], "documentation": "Installs the DOM bridge and exposes React focus, read-only, and composition\nAPIs through the editor plugin system.", "entrypoint": "platejs/react", "kind": "const", "name": "react", "runtime": true, "signature": "react: ({ dom: domPlugin }: ReactPluginOptions) => ReactPlugin$1", "source": null, "typeParameters": [] }, "platejs/react:ReactApi": { "aliases": [], "documentation": "React capability exposed through `editor.api.react`.", "entrypoint": "platejs/react", "kind": "type", "name": "ReactApi", "runtime": false, "signature": "type ReactApi = {\n isComposing: () => boolean;\n isFocused: () => boolean;\n isReadOnly: () => boolean;\n /**\n * Commit pending native input to the model, including an active Android\n * keyboard draft. Returns false while a non-Android composition is active or\n * when the mounted Editable unmounts during the flush.\n */\n settleInput: () => boolean;\n /**\n * Call `listener` with the text each mounted Editable of this editor types:\n * an `insertText` input or composition commit whose one change is an\n * insertion ending at a collapsed caret. Paste, drop, yank, replacement and\n * data-transfer input, history replay, remote edits and typing over a\n * selection report nothing, and so does a commit whose document an earlier\n * commit listener changes before the report. Android keyboards that paste through\n * `insertText` report the pasted text. Returns the unsubscribe function.\n */\n subscribeTypedText: (listener: TypedTextListener) => () => void;\n};", "source": null, "typeParameters": [] }, "platejs/react:ReactPluginOptions": { "aliases": [], "documentation": "Options for installing React over one exact DOM plugin descriptor.", "entrypoint": "platejs/react", "kind": "interface", "name": "ReactPluginOptions", "runtime": false, "signature": "interface ReactPluginOptions {\n /** DOM plugin owned by this React bridge. */\n dom: TDOMPlugin;\n}", "source": null, "typeParameters": [ "TDOMPlugin extends AnyDOMPlugin = AnyDOMPlugin" ] }, "platejs/react:ReactUpdatePolicy": { "aliases": [], "documentation": "Selection-effect policies owned by the editor React runtime.", "entrypoint": "platejs/react", "kind": "const", "name": "ReactUpdatePolicy", "runtime": true, "signature": "ReactUpdatePolicy: Readonly<{\n preserveSelection: Readonly<{\n tags: readonly [\"skip-dom-selection\", \"skip-selection-focus\", \"skip-scroll-into-view\"];\n }>;\n}>", "source": null, "typeParameters": [] }, "platejs/react:readEditorSchemaContract": { "aliases": [], "documentation": "Strictly recognize a generated schema contract before runtime use.", "entrypoint": "platejs/react", "kind": "const", "name": "readEditorSchemaContract", "runtime": true, "signature": "readEditorSchemaContract: (value: unknown) => EditorSchemaContract | undefined", "source": null, "typeParameters": [] }, "platejs/react:readEditorSelection": { "aliases": [ "getSelection" ], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "readEditorSelection", "runtime": true, "signature": "getSelection: (editor: AnyEditor) => Selection", "source": null, "typeParameters": [] }, "platejs/react:RemoveMarkCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RemoveMarkCommand", "runtime": false, "signature": "type RemoveMarkCommand = {\n key: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:RemoveNodesCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RemoveNodesCommand", "runtime": false, "signature": "type RemoveNodesCommand = {\n options?: CommandTargetOptions;\n};", "source": null, "typeParameters": [] }, "platejs/react:RenderElementFn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderElementFn", "runtime": false, "signature": "type RenderElementFn = (props: RenderElementProps) => any;", "source": null, "typeParameters": [] }, "platejs/react:RenderElementProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderElementProps", "runtime": false, "signature": "type RenderElementProps = TElement extends Element$1 ? {\n attributes: {\n 'data-editor-inline'?: true;\n 'data-editor-node': 'element';\n 'data-editor-path': string;\n 'data-editor-node-key': string;\n 'data-editor-void'?: true;\n /** The direction of a text block's first letter, absent when none decides. */\n dir?: 'ltr' | 'rtl';\n /**\n * Binds and places the element. It changes when the node or its page\n * placement changes, so a ref merge must change with it and pass a\n * detach on as a call with `null`.\n */\n ref: React$1.RefCallback;\n };\n children: ReactNode;\n element: TElement;\n isInline: boolean;\n slots: EditableElementSlots;\n} : never;", "source": null, "typeParameters": [ "TElement extends Element$1 = Element$1" ] }, "platejs/react:RenderElementSlots": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderElementSlots", "runtime": false, "signature": "type RenderElementSlots = {\n children: (options?: any) => any;\n contentBoundary: (props: any) => any;\n contentRoot: (slot: ElementContentRootSlot, options?: any) => any;\n};", "source": null, "typeParameters": [ "N extends Element = Element" ] }, "platejs/react:RenderLeafFn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderLeafFn", "runtime": false, "signature": "type RenderLeafFn = (props: RenderLeafProps) => any;", "source": null, "typeParameters": [] }, "platejs/react:RenderLeafProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderLeafProps", "runtime": false, "signature": "type RenderLeafProps = {\n attributes: {\n 'data-editor-leaf': true;\n 'data-editor-leaf-end'?: number;\n 'data-editor-leaf-start'?: number;\n };\n children: ReactNode;\n leaf: Omit;\n leafPosition?: {\n end: number;\n isFirst?: true;\n isLast?: true;\n start: number;\n };\n path?: Path;\n text: Omit;\n};", "source": null, "typeParameters": [] }, "platejs/react:RenderNodeWrapper": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderNodeWrapper", "runtime": false, "signature": "type RenderNodeWrapper = {\n bivarianceHack(props: RenderNodeWrapperProps): RenderNodeWrapperFunction;\n}['bivarianceHack'];", "source": null, "typeParameters": [ "TSource extends RenderNodeWrapperSource = never" ] }, "platejs/react:RenderNodeWrapperConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderNodeWrapperConfig", "runtime": false, "signature": "type RenderNodeWrapperConfig = RenderNodeWrapper | RenderNodeWrapperDescriptor;", "source": null, "typeParameters": [ "TSource extends RenderNodeWrapperSource = never" ] }, "platejs/react:RenderNodeWrapperDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderNodeWrapperDescriptor", "runtime": false, "signature": "type RenderNodeWrapperDescriptor = Readonly<{\n component: React$1.ComponentType>;\n /** Cheap hook-free eligibility check run before wrapper props are composed. */\n match?: (props: Pick, 'editor' | 'element' | 'renderPath'>) => boolean;\n}>;", "source": null, "typeParameters": [ "TSource extends RenderNodeWrapperSource = never" ] }, "platejs/react:RenderNodeWrapperFunction": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderNodeWrapperFunction", "runtime": false, "signature": "type RenderNodeWrapperFunction = {\n bivarianceHack(elementProps: RenderNodeWrapperProps): React$1.ReactNode;\n}['bivarianceHack'] | undefined;", "source": null, "typeParameters": [ "TSource extends RenderNodeWrapperSource = never" ] }, "platejs/react:RenderNodeWrapperProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderNodeWrapperProps", "runtime": false, "signature": "type RenderNodeWrapperProps = RenderNodeWrapperDefinition extends (infer C extends AnyBasePluginDefinition) ? EditorNodeProps & Omit>>>, 'path'> & {\n renderPath: Path;\n} : never;", "source": null, "typeParameters": [ "TSource extends RenderNodeWrapperSource = never" ] }, "platejs/react:RenderPlaceholderProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderPlaceholderProps", "runtime": false, "signature": "type RenderPlaceholderProps = {\n attributes: {\n 'aria-hidden': true;\n 'data-editor-placeholder': true;\n contentEditable: false;\n dir?: 'rtl';\n ref: React$1.RefCallback;\n style: CSSProperties;\n };\n children: ReactNode;\n};", "source": null, "typeParameters": [] }, "platejs/react:RenderStaticNodeWrapper": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderStaticNodeWrapper", "runtime": false, "signature": "type RenderStaticNodeWrapper = {\n bivarianceHack(props: RenderStaticNodeWrapperProps): RenderStaticNodeWrapperFunction;\n}['bivarianceHack'];", "source": null, "typeParameters": [ "TSource extends RenderStaticNodeWrapperSource = any" ] }, "platejs/react:RenderStaticNodeWrapperFunction": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderStaticNodeWrapperFunction", "runtime": false, "signature": "type RenderStaticNodeWrapperFunction = {\n bivarianceHack(hocProps: RenderStaticNodeWrapperProps): any;\n}['bivarianceHack'] | null | undefined;", "source": null, "typeParameters": [ "TSource extends RenderStaticNodeWrapperSource = any" ] }, "platejs/react:RenderStaticNodeWrapperProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderStaticNodeWrapperProps", "runtime": false, "signature": "type RenderStaticNodeWrapperProps = RenderStaticNodeWrapperDefinition extends (infer C extends AnyBasePluginDefinition) ? BaseRenderNodeProps & RenderElementProps<0 extends 1 & TSource ? Element : ElementWith>> & {\n path: Path;\n} : never;", "source": null, "typeParameters": [ "TSource extends RenderStaticNodeWrapperSource = any" ] }, "platejs/react:RenderTextFn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderTextFn", "runtime": false, "signature": "type RenderTextFn = (props: RenderTextProps) => any;", "source": null, "typeParameters": [] }, "platejs/react:RenderTextHostProps": { "aliases": [], "documentation": "One call for a whole text, which owns the text's identity.", "entrypoint": "platejs/react", "kind": "type", "name": "RenderTextHostProps", "runtime": false, "signature": "type RenderTextHostProps = {\n /** The text node being rendered. */\n text: N;\n /** Pre-computed path for static rendering. */\n path?: Path;\n /** The children (leaves) rendered within this text node. */\n children: any;\n /**\n * HTML attributes to be spread onto the rendered container element. Includes\n * `data-editor-node=\"text\"` and `ref`.\n */\n attributes: {\n [key: string]: unknown;\n 'data-editor-node': 'text';\n ref?: ((element: HTMLSpanElement | null) => void) | {\n current: HTMLSpanElement | null;\n } | null;\n className?: string;\n style?: any;\n };\n piece?: undefined;\n};", "source": null, "typeParameters": [ "N extends Text$1 = Text$1" ] }, "platejs/react:RenderTextPieceProps": { "aliases": [], "documentation": "One call for one piece of a paged text: a measured run of the text on a\ndrawn page, the lines of a page not drawn yet, or a whole text that no layout\nmeasures. One line can hold several runs of a text.", "entrypoint": "platejs/react", "kind": "type", "name": "RenderTextPieceProps", "runtime": false, "signature": "type RenderTextPieceProps = {\n /** The whole text node the piece belongs to. */\n text: N;\n /** The leaves of this piece alone. */\n children: any;\n /**\n * HTML attributes to be spread onto the rendered element. Includes\n * `data-editor-text-piece` and the attributes plugins add, never the text's\n * identity or `ref`.\n */\n attributes: {\n [key: string]: unknown;\n 'data-editor-node'?: never;\n 'data-editor-node-key'?: never;\n 'data-editor-path'?: never;\n 'data-editor-text-piece': true;\n className?: string;\n ref?: never;\n style?: any;\n };\n path?: never;\n /** The piece's position among the text's pieces. */\n piece: Readonly<{\n index: number;\n }>;\n};", "source": null, "typeParameters": [ "N extends Text$1 = Text$1" ] }, "platejs/react:RenderTextProps": { "aliases": [], "documentation": "Props of a `renderText` call. Outside a paged view each text gets one call\nwith its host attributes. In a paged view each piece of a text gets its own\ncall with `piece`, and the editor renders the text host around them.", "entrypoint": "platejs/react", "kind": "type", "name": "RenderTextProps", "runtime": false, "signature": "type RenderTextProps = RenderTextHostProps | RenderTextPieceProps;", "source": null, "typeParameters": [] }, "platejs/react:RenderVoidProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RenderVoidProps", "runtime": false, "signature": "type RenderVoidProps = {\n element: TElement;\n};", "source": null, "typeParameters": [ "TElement extends Element$1 = Element$1" ] }, "platejs/react:ReplaceSliceCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ReplaceSliceCommand", "runtime": false, "signature": "type ReplaceSliceCommand = {\n options?: CommandTargetOptions;\n slice: ContentSlice$1;\n};", "source": null, "typeParameters": [] }, "platejs/react:ResolvedAnnotation": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "ResolvedAnnotation", "runtime": false, "signature": "interface ResolvedAnnotation {\n data?: TData;\n id: string;\n range: Range | null;\n}", "source": null, "typeParameters": [ "TData = unknown" ] }, "platejs/react:ResolvedInputRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ResolvedInputRule", "runtime": false, "signature": "type ResolvedInputRule = StoredInputRule & {\n id: string;\n plugin: AnyBasePlugin;\n priority: number;\n ruleIndex: number;\n pluginIndex: number;\n};", "source": null, "typeParameters": [] }, "platejs/react:ResolvedInputRulesMeta": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ResolvedInputRulesMeta", "runtime": false, "signature": "type ResolvedInputRulesMeta = Readonly<{\n insertBreak: ReadonlyArray>;\n insertData: ReadonlyArray>;\n insertText: Readonly<{\n all: ReadonlyArray>;\n byTrigger: Readonly>>>;\n }>;\n plugins: Readonly>>;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:restoreEditorSchemaContract": { "aliases": [], "documentation": "Restore a generated structural contract and bind current live validators.", "entrypoint": "platejs/react", "kind": "const", "name": "restoreEditorSchemaContract", "runtime": true, "signature": "restoreEditorSchemaContract: (input: unknown, records: readonly EditorSchemaContributionRecord[], revision?: number) => CompiledEditorSchema", "source": null, "typeParameters": [] }, "platejs/react:RootChromeController": { "aliases": [], "documentation": "Props and root metadata for root-level mouse interaction chrome.", "entrypoint": "platejs/react", "kind": "type", "name": "RootChromeController", "runtime": false, "signature": "type RootChromeController = {\n props: {\n 'data-editor-root-chrome'?: NamedRootKey;\n onMouseDownCapture: MouseEventHandler;\n onMouseMoveCapture: MouseEventHandler;\n onMouseUpCapture: MouseEventHandler;\n };\n root: NamedRootKey | undefined;\n};", "source": null, "typeParameters": [] }, "platejs/react:RootKey": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RootKey", "runtime": false, "signature": "type RootKey = string;", "source": null, "typeParameters": [] }, "platejs/react:RuleDecision": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "RuleDecision", "runtime": false, "signature": "type RuleDecision = TAction | StructuralRuleResolver;", "source": null, "typeParameters": [ "TAction", "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:RuntimeReactPlugin": { "aliases": [ "ReactPlugin$1" ], "documentation": "React plugin backed by one exact DOM dependency.", "entrypoint": "platejs/react", "kind": "type", "name": "RuntimeReactPlugin", "runtime": false, "signature": "type ReactPlugin$1 = ReturnType>;", "source": null, "typeParameters": [ "TDOMPlugin extends AnyDOMPlugin = DOMPlugin" ] }, "platejs/react:RuntimeStateSelectorOptions": { "aliases": [], "documentation": "Selector options for `useRuntimeState` and `useRootState`.", "entrypoint": "platejs/react", "kind": "type", "name": "RuntimeStateSelectorOptions", "runtime": false, "signature": "type RuntimeStateSelectorOptions = {\n deferred?: boolean;\n equalityFn?: (a: T | null, b: T) => boolean;\n shouldUpdate?: (change?: EditorCommit) => boolean;\n};", "source": null, "typeParameters": [ "T" ] }, "platejs/react:schema": { "aliases": [], "documentation": "Placement, key, grammar, and root declaration builders.", "entrypoint": "platejs/react", "kind": "const", "name": "schema", "runtime": true, "signature": "schema: SchemaDefinitionApi", "source": null, "typeParameters": [] }, "platejs/react:SchemaBuiltInGroupName": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaBuiltInGroupName", "runtime": false, "signature": "type SchemaBuiltInGroupName = 'all' | 'block' | 'element' | 'inline' | 'text' | 'textBlock';", "source": null, "typeParameters": [] }, "platejs/react:SchemaContent": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContent", "runtime": false, "signature": "type SchemaContent = Readonly<{\n allowed: TAllowed;\n prefix?: readonly SchemaContentPrefixSlot[];\n} & ([TOptions] extends [undefined] ? SchemaContentOptions : TOptions) & ([SchemaContentRule] extends [TAllowed] ? {} : SchemaContentRuleWitness)>;", "source": null, "typeParameters": [ "TAllowed extends SchemaContentRule = SchemaContentRule", "TOptions extends SchemaContentOptions | undefined = undefined" ] }, "platejs/react:SchemaContentDefault": { "aliases": [], "documentation": "The child content creates when it needs one: an empty text, or a `type`\nelement with optional `properties`, such as a heading's required `level`.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentDefault", "runtime": false, "signature": "type SchemaContentDefault = 'text' | Readonly<{\n properties?: Readonly>;\n type: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaContentInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentInput", "runtime": false, "signature": "type SchemaContentInput = SchemaContent | SchemaContentRule;", "source": null, "typeParameters": [] }, "platejs/react:SchemaContentOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentOptions", "runtime": false, "signature": "type SchemaContentOptions = Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaContentPrefixSlot": { "aliases": [], "documentation": "One required child at a fixed position before ordinary content.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentPrefixSlot", "runtime": false, "signature": "type SchemaContentPrefixSlot = Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaContentRoot": { "aliases": [], "documentation": "One element-owned named-root grammar and its ownership law.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentRoot", "runtime": false, "signature": "type SchemaContentRoot = Readonly<{\n content: TContent;\n ownership: TOwnership;\n /** Needs `ownership: 'exclusive'` and a void owner. */\n structure?: SchemaContentRootStructure;\n}>;", "source": null, "typeParameters": [ "TContent extends SchemaContent = SchemaContent", "TOwnership extends SchemaContentRootOwnership = SchemaContentRootOwnership" ] }, "platejs/react:SchemaContentRootContribution": { "aliases": [], "documentation": "One content-root slot projected onto matching element types.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentRootContribution", "runtime": false, "signature": "type SchemaContentRootContribution = Readonly;", "source": null, "typeParameters": [ "TSlot extends string = string", "TRoot extends SchemaContentRoot = SchemaContentRoot", "TTarget extends SchemaElementTarget = SchemaElementTarget" ] }, "platejs/react:SchemaContentRootInput": { "aliases": [], "documentation": "Shared roots may use their grammar directly; ownership defaults to shared.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentRootInput", "runtime": false, "signature": "type SchemaContentRootInput = SchemaContent | SchemaContentRoot;", "source": null, "typeParameters": [] }, "platejs/react:SchemaContentRootOwnership": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentRootOwnership", "runtime": false, "signature": "type SchemaContentRootOwnership = 'exclusive' | 'shared';", "source": null, "typeParameters": [] }, "platejs/react:SchemaContentRootSlotsFor": { "aliases": [], "documentation": "Required `childRoots` slots inferred for one schema element type.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentRootSlotsFor", "runtime": false, "signature": "type SchemaContentRootSlotsFor> = SchemaOwnedContentRootSlots | SchemaTargetedContentRootSlot;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes" ] }, "platejs/react:SchemaContentRootStructure": { "aliases": [], "documentation": "A content root whose top-level blocks are members of a set: a text selection\nstays in one member, and range removal never crosses two. Members keep their\nstored order.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentRootStructure", "runtime": false, "signature": "type SchemaContentRootStructure = Readonly<{\n kind: 'set';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaContentRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaContentRule", "runtime": false, "signature": "type SchemaContentRule = Readonly<{\n kind: 'all';\n rules: readonly SchemaContentRule[];\n}> | Readonly<{\n kind: 'any';\n rules: readonly SchemaContentRule[];\n}> | Readonly<{\n group: string;\n kind: 'group';\n}> | Readonly<{\n kind: 'not';\n rule: SchemaContentRule;\n}> | Readonly<{\n kind: 'open';\n}> | Readonly<{\n kind: 'text';\n}> | Readonly<{\n kind: 'type';\n type: string;\n}> | Readonly<{\n kind: 'types';\n types: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaDescendant": { "aliases": [], "documentation": "Any descendant accepted by a closed schema definition.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaDescendant", "runtime": false, "signature": "type SchemaDescendant = string extends SchemaElementTypes ? BaseElement | BaseText : SchemaElementFor | SchemaText;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs/react:SchemaElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElement", "runtime": false, "signature": "type SchemaElement = Readonly;", "source": null, "typeParameters": [ "TInput extends SchemaElementInput = SchemaElementInput" ] }, "platejs/react:SchemaElementConstructionPropertiesFor": { "aliases": [], "documentation": "Element properties accepted before schema defaults are materialized.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementConstructionPropertiesFor", "runtime": false, "signature": "type SchemaElementConstructionPropertiesFor> = string extends SchemaElementTypes ? Readonly> : SchemaConstructionPropertiesFromEntries>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes" ] }, "platejs/react:SchemaElementFor": { "aliases": [], "documentation": "One element variant inferred from a frozen schema definition.\n\nIts discriminator and properties are exact. Its descendants stay broad;\nruntime schema owns parent/child grammar and recursive validation.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementFor", "runtime": false, "signature": "type SchemaElementFor = SchemaElementTypes> = string extends SchemaElementTypes ? BaseElement : TType extends SchemaElementTypes ? Readonly<{\n '~schema.node'?: SchemaNodeTypeProviderFor;\n}> & SchemaNodeElementFor : never;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes = SchemaElementTypes" ] }, "platejs/react:SchemaElementHandle": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementHandle", "runtime": false, "signature": "type SchemaElementHandle : string> = Readonly<{\n kind: 'schema-element';\n schema: TSchema;\n type: TType;\n}>;", "source": null, "typeParameters": [ "TSchema extends object = EditorSchemaSource", "TType extends string = TSchema extends EditorSchemaSource ? SchemaElementTypes : string" ] }, "platejs/react:SchemaElementInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementInput", "runtime": false, "signature": "type SchemaElementInput = Readonly<{\n atom?: boolean;\n content?: SchemaContent;\n /** Projected named-root grammars keyed by the element's `childRoots` slot. */\n contentRoots?: Readonly>;\n /** Explicit product groups. Structural groups are compiler-derived. */\n groups?: readonly string[];\n inline?: boolean;\n /** Grid and grid cell roles are always isolating, and refuse `false`. */\n isolating?: boolean;\n markableVoid?: boolean;\n object?: boolean;\n /**\n * Declares the text block a structure of its own, such as a code block:\n * `tx.break.exit` leaves it before any container around it. Text blocks\n * only; voids and objects always own their exit.\n */\n ownsExit?: boolean;\n properties?: SchemaElementProperties;\n readOnly?: boolean;\n selectable?: boolean;\n slice?: SchemaElementSlicePolicy;\n structure?: SchemaElementStructure;\n void?: 'block' | 'inline' | 'markable-inline';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaElementProperties": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementProperties", "runtime": false, "signature": "type SchemaElementProperties = Readonly>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaElementPropertiesFor": { "aliases": [], "documentation": "Optional JSON property values accepted for one schema element type.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementPropertiesFor", "runtime": false, "signature": "type SchemaElementPropertiesFor> = string extends SchemaElementTypes ? Readonly> : SchemaPropertiesFromEntries>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes" ] }, "platejs/react:SchemaElementProperty": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementProperty", "runtime": false, "signature": "type SchemaElementProperty = SchemaPropertyReferencesOf> = Readonly<{\n copy: SchemaPropertyCopyPolicy;\n key: TKey;\n landing: SchemaPropertyLandingPolicy;\n placement: 'element';\n references?: TReferences;\n role: SchemaPropertyRole;\n split: SchemaPropertySplitPolicy;\n target: TTarget;\n typeChange: SchemaPropertyTypeChangePolicy;\n unique?: true;\n value: TDescriptor;\n}>;", "source": null, "typeParameters": [ "TKey extends SchemaPropertyKey = SchemaPropertyKey", "TDescriptor extends PropertyValueDescriptor = PropertyValueDescriptor", "TTarget extends SchemaTarget = SchemaTarget", "TReferences extends SchemaPropertyReferencesOf = SchemaPropertyReferencesOf" ] }, "platejs/react:SchemaElementPropertyDefinition": { "aliases": [], "documentation": "Element-property law before a keyed owner assigns persisted identity.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementPropertyDefinition", "runtime": false, "signature": "type SchemaElementPropertyDefinition = SchemaPropertyReferencesOf> = Omit, 'key'>;", "source": null, "typeParameters": [ "TDescriptor extends PropertyValueDescriptor = PropertyValueDescriptor", "TTarget extends SchemaTarget = SchemaTarget", "TReferences extends SchemaPropertyReferencesOf = SchemaPropertyReferencesOf" ] }, "platejs/react:SchemaElementPropertyKeys": { "aliases": [], "documentation": "Element property keys accepted for one schema element type.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementPropertyKeys", "runtime": false, "signature": "type SchemaElementPropertyKeys> = string extends SchemaElementTypes ? string : SchemaEntryKey>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes" ] }, "platejs/react:SchemaElementPropertyOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementPropertyOptions", "runtime": false, "signature": "type SchemaElementPropertyOptions = Readonly<{\n copy?: SchemaPropertyCopyPolicy;\n /** Defaults to `preserve`. */\n landing?: SchemaPropertyLandingPolicy;\n references?: SchemaPropertyReferences;\n role?: SchemaPropertyRole;\n /** Defaults to `drop` for a generated value, and `preserve` otherwise. */\n split?: SchemaPropertySplitPolicy;\n target: SchemaTarget;\n typeChange?: SchemaPropertyTypeChangePolicy;\n /**\n * No two elements store one value of this property. A commit or a load that\n * stores a value another element holds gives one of them a fresh value from\n * the generator, so a write that stores a held value lands with a new one:\n * read the value back from the landed node. A peer's concurrent repair can\n * change it again. Requires a generator that never repeats a value, an\n * exact key, a value other than a set, the `metadata` role, a target that\n * holds wherever its types stand, `landing: 'preserve'` and\n * `typeChange: 'preserve-if-allowed'`. Where the target holds on a type that\n * is not a void, it holds on every type that can take that type's place, so\n * a retype keeps the value. A void may hold it alone: a retype between a\n * type that holds it and one that does not replaces the element. Editing\n * drops the value and undo brings it back; Suggesting records a deletion and\n * an insertion, so a rejection keeps the element and its value. Where the\n * two cannot stand side by side, such as in a slot at its maximum or under\n * one exclusive content root, Suggesting refuses the retype and changes\n * nothing. A format tag that a writer without this rule saved for such a\n * retype holds no value, so rejecting a tag that dropped the value returns\n * `invalid`. Only a holder of a declared type keeps its value this way; an\n * undeclared type that `unknown: 'preserve'` keeps does not. Sets `copy` and\n * `split` to `drop`. The key takes no other element declaration, since every\n * holder's fresh value comes from this one's generator.\n * Suggesting writes the value in place, with no suggestion, except that a\n * suggested split that drops the value parks it in the split's history,\n * where no element holds it until someone decides.\n */\n unique?: true;\n}>;", "source": null, "typeParameters": [ "TValue = unknown" ] }, "platejs/react:SchemaElementPropertyValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementPropertyValue", "runtime": false, "signature": "type SchemaElementPropertyValue, TKey extends SchemaElementPropertyKeys> = SchemaEntryValue, TKey>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes", "TKey extends SchemaElementPropertyKeys" ] }, "platejs/react:SchemaElementShapeFor": { "aliases": [], "documentation": "One schema-owned element shape before it is placed in an installed editor.\nA descriptor owns its discriminator and properties; runtime schema owns its\nlegal parent/child relationships.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementShapeFor", "runtime": false, "signature": "type SchemaElementShapeFor = SchemaElementTypes> = string extends SchemaElementTypes ? BaseElement : TType extends SchemaElementTypes ? Readonly<{\n '~schema.node'?: SchemaNodeTypeProviderFor;\n}> & SchemaNodeElementFor : never;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource", "TType extends SchemaElementTypes = SchemaElementTypes" ] }, "platejs/react:SchemaElementSlicePolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementSlicePolicy", "runtime": false, "signature": "type SchemaElementSlicePolicy = Readonly<{\n endMatter?: boolean;\n preserveContext?: boolean;\n replaceWhenCovered?: boolean;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaElementStructure": { "aliases": [], "documentation": "Declarative logical structure read by document comparison and range removal.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementStructure", "runtime": false, "signature": "type SchemaElementStructure = Readonly<{\n kind: 'grid';\n /** Cell column-span property. Only valid for the `cell` role. */\n columnSpan?: string;\n role: 'cell' | 'grid' | 'row';\n /** Cell row-span property. Only valid for the `cell` role. */\n rowSpan?: string;\n}> | Readonly<{\n /** Element property containing the logical nesting depth. */\n depth: string;\n kind: 'list';\n /** Optional element property identifying one logical list. */\n membership?: string;\n}> | Readonly<{\n kind: 'outline';\n /** Element property containing the outline level. */\n level: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaElementTarget": { "aliases": [], "documentation": "Element-type-only target used by structural schema contributions.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementTarget", "runtime": false, "signature": "type SchemaElementTarget = Readonly<{\n kind: 'and';\n targets: readonly SchemaElementTarget[];\n}> | Readonly<{\n group: string;\n kind: 'group';\n}> | Readonly<{\n kind: 'not';\n target: SchemaElementTarget;\n}> | Readonly<{\n kind: 'or';\n targets: readonly SchemaElementTarget[];\n}> | Readonly<{\n kind: 'type';\n type: string;\n}> | SchemaTypesTarget;", "source": null, "typeParameters": [] }, "platejs/react:SchemaElementTypes": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaElementTypes", "runtime": false, "signature": "type SchemaElementTypes = Extract['elements']>, string>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs/react:SchemaGroup": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaGroup", "runtime": false, "signature": "type SchemaGroup = Readonly;", "source": null, "typeParameters": [ "TOptions extends SchemaGroupOptions = SchemaGroupOptions" ] }, "platejs/react:SchemaGroupNames": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaGroupNames", "runtime": false, "signature": "type SchemaGroupNames = SchemaBuiltInGroupName | Extract['groups']>, string>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs/react:SchemaGroupOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaGroupOptions", "runtime": false, "signature": "type SchemaGroupOptions = Readonly<{\n extends?: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaKeyPrefix": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaKeyPrefix", "runtime": false, "signature": "type SchemaKeyPrefix = Readonly<{\n kind: 'prefix';\n prefix: TPrefix;\n}>;", "source": null, "typeParameters": [ "TPrefix extends string = string" ] }, "platejs/react:SchemaPluginsOf": { "aliases": [], "documentation": "Complete schema vocabulary composed from every installed contribution.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPluginsOf", "runtime": false, "signature": "type SchemaPluginsOf = SchemaComposedPlugin;", "source": null, "typeParameters": [ "TInput" ] }, "platejs/react:SchemaProperty": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaProperty", "runtime": false, "signature": "type SchemaProperty = SchemaElementProperty | SchemaTextProperty;", "source": null, "typeParameters": [] }, "platejs/react:SchemaPropertyCopyPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyCopyPolicy", "runtime": false, "signature": "type SchemaPropertyCopyPolicy = 'drop' | 'preserve';", "source": null, "typeParameters": [] }, "platejs/react:SchemaPropertyDefinition": { "aliases": [], "documentation": "Property law accepted by keyed schema-owner maps.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyDefinition", "runtime": false, "signature": "type SchemaPropertyDefinition = SchemaElementPropertyDefinition | SchemaTextPropertyDefinition;", "source": null, "typeParameters": [] }, "platejs/react:SchemaPropertyExclusiveGroup": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyExclusiveGroup", "runtime": false, "signature": "type SchemaPropertyExclusiveGroup = Readonly<{\n id: TId;\n kind: 'exclusive';\n}>;", "source": null, "typeParameters": [ "TId extends string = string" ] }, "platejs/react:SchemaPropertyHandle": { "aliases": [], "documentation": "One exact authored or compiled property identity.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyHandle", "runtime": false, "signature": "type SchemaPropertyHandle = Readonly<{\n id: string;\n key: TKey;\n kind: 'schema-property';\n placement: TPlacement;\n /**\n * Covariant value witness; absent from runtime values.\n *\n * @internal\n */\n readonly [schemaPropertyHandleValue]?: TValue;\n}>;", "source": null, "typeParameters": [ "TKey extends SchemaPropertyKey = SchemaPropertyKey", "TValue = unknown", "TPlacement extends 'element' | 'text' = 'element' | 'text'" ] }, "platejs/react:SchemaPropertyHandleValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyHandleValue", "runtime": false, "signature": "type SchemaPropertyHandleValue = THandle extends SchemaPropertyHandle ? TValue : never;", "source": null, "typeParameters": [ "THandle" ] }, "platejs/react:SchemaPropertyIds": { "aliases": [], "documentation": "Stable compiled property-ID patterns. Hash suffixes remain runtime-derived.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyIds", "runtime": false, "signature": "type SchemaPropertyIds = SchemaAllPropertyEntry extends (infer TEntry) ? TEntry extends {\n key: infer TKey extends SchemaPropertyKey;\n placement: infer TPlacement extends 'element' | 'text';\n} ? `${TPlacement}:${SchemaPropertyLabel}@${string}` : never : never;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs/react:SchemaPropertyKey": { "aliases": [], "documentation": "Exact keys are strings; namespaces use `schema.key.prefix(...)`.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyKey", "runtime": false, "signature": "type SchemaPropertyKey = SchemaKeyPrefix | string;", "source": null, "typeParameters": [] }, "platejs/react:SchemaPropertyLandingPolicy": { "aliases": [], "documentation": "Whether where content lands decides an element property. `rebase`: a text\nmove may change it, such as a depth. `adopt`: a text move may change it,\nand a block copy or move may take it from where it lands, such as a list.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyLandingPolicy", "runtime": false, "signature": "type SchemaPropertyLandingPolicy = 'adopt' | 'preserve' | 'rebase';", "source": null, "typeParameters": [] }, "platejs/react:SchemaPropertyReferences": { "aliases": [], "documentation": "How an element property names elements by the values of a unique element\nproperty. The property must have an exact key, target element types alone,\nhave no default value and not be unique itself, and `key` must be the key\nof a unique string element property. No content slot or content default\nmay fix either property. The compiler refuses any other declaration.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyReferences", "runtime": false, "signature": "type SchemaPropertyReferences = Readonly<{\n /** The unique element property whose values this property names. */\n key: string;\n /**\n * The value with each name it holds replaced by `renamed(name)` where that\n * is defined. `renamed` returns the new value of a holder the same copy\n * carried, and `undefined` for any other name.\n */\n map: (value: TValue, renamed: (name: string) => string | undefined) => TValue;\n}>;", "source": null, "typeParameters": [ "TValue" ] }, "platejs/react:SchemaPropertyRole": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyRole", "runtime": false, "signature": "type SchemaPropertyRole = 'content' | 'metadata';", "source": null, "typeParameters": [] }, "platejs/react:SchemaPropertySplitPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertySplitPolicy", "runtime": false, "signature": "type SchemaPropertySplitPolicy = 'drop' | 'preserve';", "source": null, "typeParameters": [] }, "platejs/react:SchemaPropertyTypeChangePolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaPropertyTypeChangePolicy", "runtime": false, "signature": "type SchemaPropertyTypeChangePolicy = 'drop' | 'preserve-if-allowed';", "source": null, "typeParameters": [] }, "platejs/react:SchemaRecordSet": { "aliases": [], "documentation": "One set of keyed records the document keeps beside its children.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaRecordSet", "runtime": false, "signature": "type SchemaRecordSet = Readonly<{\n /**\n * `retain` leaves this set's puts and drops out of undo and redo, so a\n * record another change still points at outlives the undo of the commit\n * that wrote it.\n */\n history?: 'retain';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaRootNames": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaRootNames", "runtime": false, "signature": "type SchemaRootNames = Extract['roots']>, string>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs/react:SchemaTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaTarget", "runtime": false, "signature": "type SchemaTarget = Readonly<{\n kind: 'and';\n targets: readonly SchemaTarget[];\n}> | Readonly<{\n group: string;\n kind: 'group';\n}> | Readonly<{\n kind: 'not';\n target: SchemaTarget;\n}> | Readonly<{\n kind: 'or';\n targets: readonly SchemaTarget[];\n}> | Readonly<{\n kind: 'parent';\n target: SchemaTarget;\n}> | Readonly<{\n kind: 'root';\n root: string | null;\n}> | Readonly<{\n kind: 'type';\n type: string;\n}> | SchemaTypesTarget;", "source": null, "typeParameters": [] }, "platejs/react:SchemaText": { "aliases": [], "documentation": "One text leaf inferred from a frozen schema definition.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaText", "runtime": false, "signature": "type SchemaText = string extends SchemaElementTypes ? BaseText : Readonly<{\n text: string;\n}> & SchemaTextProperties;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs/react:SchemaTextBlockOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaTextBlockOptions", "runtime": false, "signature": "type SchemaTextBlockOptions = Omit;", "source": null, "typeParameters": [] }, "platejs/react:SchemaTextProperties": { "aliases": [], "documentation": "Optional JSON property values accepted on schema text leaves.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaTextProperties", "runtime": false, "signature": "type SchemaTextProperties = string extends SchemaElementTypes ? Readonly> : SchemaPropertiesFromEntries>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs/react:SchemaTextProperty": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaTextProperty", "runtime": false, "signature": "type SchemaTextProperty = Readonly<{\n copy: SchemaPropertyCopyPolicy;\n exclusive?: readonly SchemaPropertyExclusiveGroup[];\n inclusive: boolean;\n key: TKey;\n placement: 'text';\n role: SchemaPropertyRole;\n split: SchemaPropertySplitPolicy;\n target?: TTarget;\n typeChange: SchemaPropertyTypeChangePolicy;\n value: TDescriptor;\n}>;", "source": null, "typeParameters": [ "TKey extends SchemaPropertyKey = SchemaPropertyKey", "TDescriptor extends PropertyValueDescriptor = PropertyValueDescriptor", "TTarget extends SchemaTarget | undefined = SchemaTarget | undefined" ] }, "platejs/react:SchemaTextPropertyDefinition": { "aliases": [], "documentation": "Text-property law before a keyed owner assigns persisted identity.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaTextPropertyDefinition", "runtime": false, "signature": "type SchemaTextPropertyDefinition = Omit, 'key'>;", "source": null, "typeParameters": [ "TDescriptor extends PropertyValueDescriptor = PropertyValueDescriptor", "TTarget extends SchemaTarget | undefined = SchemaTarget | undefined" ] }, "platejs/react:SchemaTextPropertyKeys": { "aliases": [], "documentation": "Exact and prefix-pattern text property keys declared by a schema.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaTextPropertyKeys", "runtime": false, "signature": "type SchemaTextPropertyKeys = string extends SchemaElementTypes ? string : SchemaEntryKey>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaSource" ] }, "platejs/react:SchemaTextPropertyOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaTextPropertyOptions", "runtime": false, "signature": "type SchemaTextPropertyOptions = Readonly<{\n copy?: SchemaPropertyCopyPolicy;\n exclusive?: readonly SchemaPropertyExclusiveGroup[];\n inclusive?: boolean;\n role?: SchemaPropertyRole;\n split?: SchemaPropertySplitPolicy;\n target?: SchemaTarget;\n typeChange?: SchemaPropertyTypeChangePolicy;\n /** Only an element property can be unique. */\n unique?: never;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SchemaTypesTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaTypesTarget", "runtime": false, "signature": "type SchemaTypesTarget = Readonly<{\n kind: 'types';\n types: TTypes;\n}>;", "source": null, "typeParameters": [ "TTypes extends readonly string[] = readonly string[]" ] }, "platejs/react:SchemaValue": { "aliases": [], "documentation": "Finite installed element vocabulary inferred from one complete schema.\nRuntime schema validates primary and named-root grammar.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaValue", "runtime": false, "signature": "type SchemaValue = ReadonlyArray ? BaseElement : [SchemaElementTypes] extends [never] ? BaseElement : SchemaElementFor | (SchemaDefinitionOf['unknown'] extends 'preserve' ? PreservedSchemaElement : never)> & SchemaValueBrand>;", "source": null, "typeParameters": [ "TSchema extends EditorSchemaPlugin" ] }, "platejs/react:SchemaValueFromPlugins": { "aliases": [], "documentation": "Default document value derived from the composed installed schema.", "entrypoint": "platejs/react", "kind": "type", "name": "SchemaValueFromPlugins", "runtime": false, "signature": "type SchemaValueFromPlugins = SchemaComposedPlugin extends (infer TSchema) ? TSchema extends EditorSchemaPlugin ? SchemaValue : never : never;", "source": null, "typeParameters": [ "TInput" ] }, "platejs/react:screenReaderAnnouncementEffect": { "aliases": [], "documentation": "Local, ephemeral screen-reader text emitted by an application command.\n\nApplications own localization and wording. React hosts consume the effect;\nheadless editors retain it only on the commit that emitted it.", "entrypoint": "platejs/react", "kind": "const", "name": "screenReaderAnnouncementEffect", "runtime": true, "signature": "screenReaderAnnouncementEffect: EditorEffectType", "source": null, "typeParameters": [] }, "platejs/react:ScriptPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "ScriptPlugin", "runtime": true, "signature": "ScriptPlugin: InternalReactPluginAdapterResult & Readonly<{\n name: \"script\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"script\";\n localId: \"script\";\n ownerName: \"script\";\n placement: \"text\";\n unaliased: true;\n value: \"sub\" | \"sup\";\n }>;\n schema: {\n readonly mark: PropertyEnumDescriptor>;\n };\n}>>, {\n readonly component: (props: any) => React$1.JSX.Element;\n}>", "source": null, "typeParameters": [] }, "platejs/react:ScriptRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "ScriptRules", "runtime": true, "signature": "ScriptRules: {\n markdown: ({ value, ...options }: MarkdownMarkRuleOptions & {\n value: ScriptValue;\n }) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs/react:ScriptValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ScriptValue", "runtime": false, "signature": "type ScriptValue = (typeof scriptValues)[number];", "source": null, "typeParameters": [] }, "platejs/react:ScrollIntoViewTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ScrollIntoViewTarget", "runtime": false, "signature": "type ScrollIntoViewTarget = Path | Point$1;", "source": null, "typeParameters": [] }, "platejs/react:ScrollMode": { "aliases": [], "documentation": "Mode for picking a target when multiple enabled changes are present.", "entrypoint": "platejs/react", "kind": "type", "name": "ScrollMode", "runtime": false, "signature": "type ScrollMode = 'first' | 'last';", "source": null, "typeParameters": [] }, "platejs/react:SelectCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SelectCommand", "runtime": false, "signature": "type SelectCommand = {\n target: EditorSelection | Location;\n};", "source": null, "typeParameters": [] }, "platejs/react:Selection": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Selection", "runtime": false, "signature": "type Selection = TSelection | null;", "source": null, "typeParameters": [ "TSelection extends SelectionValue = SelectionValue" ] }, "platejs/react:SelectionApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "SelectionApi", "runtime": true, "signature": "SelectionApi: Readonly<{\n equals(left: Selection, right: Selection): boolean;\n isNode(value: unknown): value is NodeSelection;\n isSelection(value: unknown): value is SelectionValue;\n isText(value: unknown): value is TextSelection;\n nodes(paths: readonly [Path, ...Path[]], options: NodeSelectionOptions): NodeSelection;\n root(selection: Range | Selection): NamedRootKey | undefined;\n text(range: Range, options?: Omit): TextSelection;\n}>", "source": null, "typeParameters": [] }, "platejs/react:SelectionAssociation": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SelectionAssociation", "runtime": false, "signature": "type SelectionAssociation = 'backward' | 'forward';", "source": null, "typeParameters": [] }, "platejs/react:SelectionChangeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SelectionChangeContext", "runtime": false, "signature": "type SelectionChangeContext = CommitContext & {\n selection: Selection;\n};", "source": null, "typeParameters": [ "E = Editor" ] }, "platejs/react:SelectionCollapseOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "SelectionCollapseOptions", "runtime": false, "signature": "interface SelectionCollapseOptions {\n edge?: SelectionEdge;\n}", "source": null, "typeParameters": [] }, "platejs/react:SelectionEdge": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SelectionEdge", "runtime": false, "signature": "type SelectionEdge = 'anchor' | 'focus' | 'start' | 'end';", "source": null, "typeParameters": [] }, "platejs/react:SelectionInputRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SelectionInputRuleContext", "runtime": false, "signature": "type SelectionInputRuleContext = {\n editor: InputRuleEditor;\n getBlockEntry: () => NodeEntry | undefined;\n getBlockStartRange: () => Range | undefined;\n getBlockStartText: () => string | undefined;\n getBlockTextBeforeSelection: () => string;\n getCharAfter: () => string | undefined;\n getCharBefore: () => string | undefined;\n isCollapsed: boolean;\n plugin: AnyBasePlugin;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:SelectionMode": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SelectionMode", "runtime": false, "signature": "type SelectionMode = 'all' | 'highest' | 'lowest';", "source": null, "typeParameters": [] }, "platejs/react:SelectionMoveOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "SelectionMoveOptions", "runtime": false, "signature": "interface SelectionMoveOptions {\n distance?: number;\n unit?: MoveUnit;\n reverse?: boolean;\n edge?: SelectionEdge;\n}", "source": null, "typeParameters": [] }, "platejs/react:SelectionMutationMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "SelectionMutationMethods", "runtime": false, "signature": "interface SelectionMutationMethods {\n /**\n * Collapse the selection.\n */\n collapse: (editor: Editor, options?: SelectionCollapseOptions) => void;\n /**\n * Unset the selection.\n */\n deselect: (editor: Editor) => void;\n /**\n * Move the selection's point forward or backward.\n */\n move: (editor: Editor, options?: SelectionMoveOptions) => void;\n /**\n * Set the selection to a new value.\n */\n select: (editor: Editor, target: EditorSelection | Location) => void;\n /**\n * Set new properties on one of the selection's points.\n */\n setPoint: (editor: Editor, props: Partial, options?: SelectionSetPointOptions) => void;\n /**\n * Set new properties on the selection.\n */\n setSelection: (editor: Editor, props: Partial) => void;\n}", "source": null, "typeParameters": [] }, "platejs/react:SelectionRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SelectionRules", "runtime": false, "signature": "type SelectionRules = {\n /**\n * Defines the selection behavior at the boundaries of nodes.\n *\n * - `directional`: Selection affinity is determined by the direction of cursor\n * movement. Maintains inward or outward affinity based on approach.\n * - `outward`: Forces outward affinity. Typing at the edge of a mark will not\n * apply the mark to new text.\n * - `hard`: Creates a 'hard' edge that requires two key presses to move across.\n * Uses offset-based navigation.\n * - `default`: Uses the editor's default behavior.\n */\n affinity?: 'default' | 'directional' | 'hard' | 'outward';\n};", "source": null, "typeParameters": [] }, "platejs/react:SelectionSetPointOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "SelectionSetPointOptions", "runtime": false, "signature": "interface SelectionSetPointOptions {\n edge?: SelectionEdge;\n}", "source": null, "typeParameters": [] }, "platejs/react:SelectionValue": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SelectionValue", "runtime": false, "signature": "type SelectionValue = NodeSelection | TextSelection;", "source": null, "typeParameters": [] }, "platejs/react:SerializedEditorEffect": { "aliases": [], "documentation": "JSON envelope for one typed editor effect.", "entrypoint": "platejs/react", "kind": "type", "name": "SerializedEditorEffect", "runtime": false, "signature": "type SerializedEditorEffect = SerializedEditorValue & Readonly<{\n key: string;\n}>;", "source": null, "typeParameters": [ "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs/react:SerializedEditorSelection": { "aliases": [], "documentation": "JSON envelope for one installed editor selection kind.", "entrypoint": "platejs/react", "kind": "type", "name": "SerializedEditorSelection", "runtime": false, "signature": "type SerializedEditorSelection = SerializedEditorValue & Readonly<{\n kind: string;\n}>;", "source": null, "typeParameters": [ "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs/react:SerializedEditorValue": { "aliases": [], "documentation": "JSON envelope produced by versioned editor value persistence.", "entrypoint": "platejs/react", "kind": "type", "name": "SerializedEditorValue", "runtime": false, "signature": "type SerializedEditorValue = Readonly<{\n value: TEncoded;\n version: number;\n}>;", "source": null, "typeParameters": [ "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs/react:serializePlainText": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "function", "name": "serializePlainText", "runtime": true, "signature": "declare function serializePlainText(editor: Editor, options?: PlainTextEditorOptions): PlainTextSerializeResult;", "source": null, "typeParameters": [] }, "platejs/react:setDebugValueScrubber": { "aliases": [], "documentation": "Override the debug value scrubber used by diagnostic formatting.", "entrypoint": "platejs/react", "kind": "const", "name": "setDebugValueScrubber", "runtime": true, "signature": "setDebugValueScrubber: (scrubber: DebugValueScrubber | null | undefined) => void", "source": null, "typeParameters": [] }, "platejs/react:setEditorReadOnly": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "setEditorReadOnly", "runtime": true, "signature": "setEditorReadOnly: (editor: AnyPluginEditor, readOnly: boolean) => void", "source": null, "typeParameters": [] }, "platejs/react:setEditorViewing": { "aliases": [], "documentation": "Put the editor root that shows this view in Viewing, or take it out. Every\nview of that editor root, nested ones included, turns read-only at once,\nwhile another editor root of the same editor keeps its own Mode. A lock\nfrom `setEditorReadOnly` stays on its view and the views nested in it.\nThrows for an editor that no editor root shows, such as the one\n`createEditor` returns; pass a mounted view instead.", "entrypoint": "platejs/react", "kind": "const", "name": "setEditorViewing", "runtime": true, "signature": "setEditorViewing: (editor: AnyPluginEditor, viewing: boolean) => void", "source": null, "typeParameters": [] }, "platejs/react:SetNodesCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SetNodesCommand", "runtime": false, "signature": "type SetNodesCommand = {\n options?: CommandTargetOptions;\n props: Partial;\n};", "source": null, "typeParameters": [] }, "platejs/react:SetSelectionCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SetSelectionCommand", "runtime": false, "signature": "type SetSelectionCommand = {\n props: Partial;\n};", "source": null, "typeParameters": [] }, "platejs/react:Shortcut": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Shortcut", "runtime": false, "signature": "type Shortcut = Omit & ({\n handler: (context: {\n editor: Editor;\n event: KeyboardEvent;\n }) => boolean | void;\n target?: never;\n} | {\n handler?: never;\n target?: 'api' | 'update';\n});", "source": null, "typeParameters": [] }, "platejs/react:Shortcuts": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Shortcuts", "runtime": false, "signature": "type Shortcuts = Record;", "source": null, "typeParameters": [] }, "platejs/react:SingleBlockPlugin": { "aliases": [], "documentation": "Forces editor to only have one block.", "entrypoint": "platejs/react", "kind": "const", "name": "SingleBlockPlugin", "runtime": true, "signature": "SingleBlockPlugin: BasePlugin & Readonly<{\n name: \"singleBlock\";\n}> & Readonly>>", "source": null, "typeParameters": [] }, "platejs/react:SingleLinePlugin": { "aliases": [], "documentation": "Forces editor to only have one line.", "entrypoint": "platejs/react", "kind": "const", "name": "SingleLinePlugin", "runtime": true, "signature": "SingleLinePlugin: BasePlugin & Readonly<{\n name: \"singleLine\";\n}> & Readonly>>", "source": null, "typeParameters": [] }, "platejs/react:SliceLanding": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SliceLanding", "runtime": false, "signature": "type SliceLanding = Readonly<{\n /** What the paste fits as ordinary content, cut to the same length limit. */\n slice: ContentSlice$1;\n /**\n * Content that replaces an `empty` target whole. The editor checks it and\n * falls back to `slice` when it does not fit. A middleware that rewrites\n * `slice` rewrites or drops this too.\n */\n replaceEmpty?: Readonly<{\n /** Target properties the replacement's head never keeps. */\n omitTargetProperties?: readonly string[];\n slice: ContentSlice$1;\n }>;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SliceLandingInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SliceLandingInput", "runtime": false, "signature": "type SliceLandingInput = Readonly<{\n /**\n * `copy` for a paste, a node-selection replace, a copied text drop and a\n * block duplicate; `move` for a text drag that moves, where only properties\n * declared `landing: 'rebase'` or `'adopt'` may change.\n */\n intent: 'copy' | 'move';\n /** The command's slice as handlers left it, before the length limit. */\n source: ContentSlice$1;\n /** What survives the length limit, crediting the text the paste replaces. */\n slice: ContentSlice$1;\n target: SliceLandingTarget;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SliceLandingTarget": { "aliases": [], "documentation": "Where a paste or a block duplicate lands. `empty` is a collapsed caret in an\nempty block that a whole-block paste may replace. `context` holds the lowest\nblock at a paste's start, the first selected block's start for a paste that\nreplaces selected blocks whole, or `null` when no block is found there.\n`beside` is a block duplicate. `root` is the named root the slice lands in,\nabsent for the main document.", "entrypoint": "platejs/react", "kind": "type", "name": "SliceLandingTarget", "runtime": false, "signature": "type SliceLandingTarget = Readonly<{\n block: NodeEntry;\n kind: 'empty';\n root?: string;\n}> | Readonly<{\n block: NodeEntry | null;\n kind: 'context';\n root?: string;\n}> |\n/**\n * The slice holds closed copies of whole blocks, which land as the next\n * siblings of the last block copied, in `root`. `source` is the whole copy\n * and `slice` what survives the length limit, as for a paste. No target\n * block is fitted, so a middleware refreshes only what a copy must not share\n * with its source.\n */\nReadonly<{\n kind: 'beside';\n root?: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SnapshotIndex": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SnapshotIndex", "runtime": false, "signature": "type SnapshotIndex = Readonly<{\n /** Materialize the lazy index and return stable, frozen node-key/path pairs. */\n entries: () => ReadonlyArray;\n /** Return the node key at a snapshot path, or `null` when absent. */\n keyAt: (path: Path) => NodeKey | null;\n /** Return the snapshot path for a node key, or `null` when absent. */\n pathOf: (nodeKey: NodeKey) => Path | null;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:SnapshotInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "SnapshotInput", "runtime": false, "signature": "type SnapshotInput = PersistedDocumentInput | Readonly<{\n children: V | readonly Descendant[];\n meta?: Readonly>;\n /** Omitted, the editor's records stay as they are. */\n records?: EditorDocumentRecords;\n roots?: Readonly>;\n selection?: SnapshotSelectionInput;\n}>;", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:Span": { "aliases": [], "documentation": "The `Span` interface is a low-level way to refer to locations in nodes\nwithout using `Point` which requires leaf text nodes to be present.", "entrypoint": "platejs/react", "kind": "type", "name": "Span", "runtime": false, "signature": "type Span = readonly [Path, Path];", "source": null, "typeParameters": [] }, "platejs/react:SpanApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "SpanApi", "runtime": true, "signature": "SpanApi: Readonly", "source": null, "typeParameters": [] }, "platejs/react:SpanInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "SpanInterface", "runtime": false, "signature": "interface SpanInterface {\n /**\n * Check if a value implements the `Span` interface.\n */\n isSpan: (value: unknown) => value is Span;\n}", "source": null, "typeParameters": [] }, "platejs/react:StateFieldCollabPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "StateFieldCollabPolicy", "runtime": false, "signature": "type StateFieldCollabPolicy = 'local' | 'shared';", "source": null, "typeParameters": [] }, "platejs/react:StateFieldDescriptor": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "StateFieldDescriptor", "runtime": false, "signature": "type StateFieldDescriptor = Readonly<{\n collab?: StateFieldCollabPolicy;\n /** Suppresses transitions whose stored values are semantically equal. */\n compare?: (left: TValue, right: TValue) => boolean;\n history?: StateFieldHistoryPolicy;\n initial?: StateFieldInitial;\n key: string;\n persist?: EditorValuePersistence;\n reduce?: (value: TValue, effect: EditorEffect) => TValue;\n}>;", "source": null, "typeParameters": [ "TValue = unknown", "TEncoded extends EditorJsonValue = EditorJsonValue" ] }, "platejs/react:StateFieldHistoryPolicy": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "StateFieldHistoryPolicy", "runtime": false, "signature": "type StateFieldHistoryPolicy = 'push' | 'skip';", "source": null, "typeParameters": [] }, "platejs/react:StateFieldInitial": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "StateFieldInitial", "runtime": false, "signature": "type StateFieldInitial = TValue | (() => TValue);", "source": null, "typeParameters": [ "TValue" ] }, "platejs/react:StateFieldSetter": { "aliases": [], "documentation": "Setter returned by `useSetStateField` for one editor state field.", "entrypoint": "platejs/react", "kind": "type", "name": "StateFieldSetter", "runtime": false, "signature": "type StateFieldSetter = (value: StateFieldValueInput, policy?: EditorUpdatePolicy) => void;", "source": null, "typeParameters": [ "TValue" ] }, "platejs/react:StateFieldValueInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "StateFieldValueInput", "runtime": false, "signature": "type StateFieldValueInput = TValue | ((previous: TValue) => TValue);", "source": null, "typeParameters": [ "TValue" ] }, "platejs/react:StaticRenderLeafProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "StaticRenderLeafProps", "runtime": false, "signature": "type StaticRenderLeafProps = {\n attributes: {\n [key: string]: unknown;\n className?: string;\n 'data-editor-leaf'?: true;\n style?: any;\n };\n children: any;\n leaf: L;\n /** Pre-computed path for static rendering. */\n path?: Path;\n text: N;\n leafPosition?: LeafPosition;\n};", "source": null, "typeParameters": [ "N extends Text$1 = Text$1", "L extends Text$1 = N" ] }, "platejs/react:StrikethroughPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "StrikethroughPlugin", "runtime": true, "signature": "StrikethroughPlugin: Plugin & Readonly<{\n name: \"strikethrough\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"strikethrough\";\n localId: \"strikethrough\";\n ownerName: \"strikethrough\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:StrikethroughRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "StrikethroughRules", "runtime": true, "signature": "StrikethroughRules: {\n markdown: (options?: MarkdownMarkRuleOptions) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs/react:StructuralRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "StructuralRuleContext", "runtime": false, "signature": "type StructuralRuleContext = {\n editor: StructuralRuleEditor;\n node: Element;\n path: Path;\n plugin: PluginReference;\n} & PluginBaseContext;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:StructuralRuleEditor": { "aliases": [], "documentation": "Read-only editor capabilities available while resolving a structural rule.", "entrypoint": "platejs/react", "kind": "type", "name": "StructuralRuleEditor", "runtime": false, "signature": "type StructuralRuleEditor = Omit & {\n plugin(plugin: P): StructuralRulePluginPortal

                  ;\n};", "source": null, "typeParameters": [] }, "platejs/react:target": { "aliases": [], "documentation": "Frozen serializable property-placement target builders.", "entrypoint": "platejs/react", "kind": "const", "name": "target", "runtime": true, "signature": "target: Readonly<{\n and: (...targets: TTargets) => Readonly<{\n kind: \"and\";\n targets: TTargets;\n }>;\n group: typeof groupTarget;\n element: typeof elementTarget;\n elements: typeof elementTargets;\n not: (innerTarget: TTarget) => {\n kind: 'not';\n target: TTarget;\n };\n or: (...targets: TTargets) => Readonly<{\n kind: \"or\";\n targets: TTargets;\n }>;\n parent: (innerTarget2: TTarget) => {\n kind: 'parent';\n target: TTarget;\n };\n root: typeof rootTarget;\n type: typeof typeTarget;\n types: typeof typesTarget;\n}>", "source": null, "typeParameters": [] }, "platejs/react:TargetFreshnessRequest": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TargetFreshnessRequest", "runtime": false, "signature": "type TargetFreshnessRequest = {\n fallback: Selection;\n reason: 'implicit-target';\n};", "source": null, "typeParameters": [] }, "platejs/react:TaskListRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "TaskListRules", "runtime": true, "signature": "TaskListRules: {\n markdown: ({ checked, enabled, priority }?: MarkdownListRuleOptions & {\n checked?: boolean;\n }) => InsertTextInputRule & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>, InternalInstalledSchemaDefinitionsProvider & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isNonNegativeSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n }>> & Readonly & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>]>> & Readonly void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n }>> & Readonly>> & Pick;\n key: \"indent\";\n localId: \"indent\";\n ownerName: \"indent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly properties: {\n indent: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n readonly name: \"indent\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly initialState: {\n readonly indentMax: number | null;\n readonly offset: number;\n readonly unit: string;\n };\n readonly inject: true;\n readonly update: {\n readonly decrease: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n readonly increase: TxDeclaredMethod<(options?: IndentChangeOptions) => void>;\n };\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor>;\n key: \"checked\";\n localId: \"checked\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listId\";\n localId: \"listId\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>;\n key: \"listLevels\";\n localId: \"listLevels\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: Readonly>>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listRestart\";\n localId: \"listRestart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isListOrdinal;\n readonly validationVersion: 1;\n }>;\n key: \"listStart\";\n localId: \"listStart\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"listStyle\";\n localId: \"listStyle\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"listType\";\n localId: \"listType\";\n ownerName: \"list\";\n placement: \"element\";\n unaliased: true;\n value: \"bulleted\" | \"numbered\" | \"task\";\n }>;\n readonly schema: {\n readonly properties: {\n checked: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listRestart: SchemaElementPropertyDefinition, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listId: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listLevels: SchemaElementPropertyDefinition>>, {\n readonly validate: typeof isListLevels;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly>> | undefined;\n generate?: (() => Readonly>>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly>>;\n validationVersion: number;\n }>>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listStyle: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n listType: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n readonly targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"image\"];\n readonly name: \"list\";\n readonly shortcuts: true;\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly formats: true;\n readonly on: true;\n readonly override: true;\n readonly read: {\n /**\n * Number shown for a numbered list item: its `listRestart`, or its count in\n * its list at its level, opened at its `listStart`, its level's `listLevels`\n * start, or 1. A shallower item of the list restarts deeper levels unless the\n * level's `restartAfter` says otherwise. Resolves `at` in this editor's root;\n * a known path skips node lookup. Returns `undefined` when `at` is not a\n * numbered list item there.\n */\n readonly ordinal: (at: NodeTarget) => number | undefined;\n readonly isActive: ({ style, type }: {\n style?: ListStyle | (string & {});\n type: ListType;\n }) => boolean;\n };\n readonly readMiddleware: true;\n readonly rules: true;\n readonly update: {\n readonly outdent: TxDeclaredMethod<({ at }?: OutdentListOptions) => void>;\n readonly clear: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => void>;\n readonly insert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockInsertOptions) => boolean>;\n readonly toggle: TxDeclaredMethod<({ at, listStart, listStyle, type }: ToggleListOptions) => boolean>;\n readonly restart: TxDeclaredMethod<({ at, start }?: {\n at?: Location | NodeSelection;\n start?: number;\n }) => boolean>;\n readonly continue: TxDeclaredMethod<({ at }?: {\n at?: Location | NodeSelection;\n }) => boolean>;\n readonly upsert: TxDeclaredMethod<(input: {\n type: ListType;\n }, options?: BlockUpsertOptions) => boolean>;\n };\n }>> & Readonly>>>, readonly []>>;\n}", "source": null, "typeParameters": [] }, "platejs/react:Text": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "Text", "runtime": false, "signature": "type Text = BaseText;", "source": null, "typeParameters": [] }, "platejs/react:TextAlignDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextAlignDefinition", "runtime": false, "signature": "type TextAlignDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:TextAlignPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "TextAlignPlugin", "runtime": true, "signature": "TextAlignPlugin: Plugin & Readonly<{\n name: \"textAlign\";\n}> & Readonly> & Readonly<{\n update: {\n clear: TxDeclaredMethod<(options?: NodeSetNodesOptions) => void>;\n set: TxDeclaredMethod<(value: Alignment, options?: NodeSetNodesOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyEnumDescriptor>;\n key: \"textAlign\";\n localId: \"textAlign\";\n ownerName: \"textAlign\";\n placement: \"element\";\n unaliased: true;\n value: \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\";\n }>;\n schema: {\n readonly properties: {\n textAlign: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n}> & Readonly<{\n targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs/react:TextApi": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "TextApi", "runtime": true, "signature": "TextApi: Readonly", "source": null, "typeParameters": [] }, "platejs/react:TextDeleteOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "TextDeleteOptions", "runtime": false, "signature": "interface TextDeleteOptions {\n /** Location to delete from. Defaults to the transaction target. */\n at?: Location;\n /** Number of units to delete. Defaults to one unit. */\n distance?: number;\n /** Unit used for collapsed deletion. Defaults to a single character. */\n unit?: TextUnit;\n /** Delete before the target instead of after it. */\n reverse?: boolean;\n /** Keep hanging range edges instead of un-hanging before deletion. */\n hanging?: boolean;\n /** Allow deletion inside void elements. */\n voids?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:TextDirection": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextDirection", "runtime": false, "signature": "type TextDirection = 'forward' | 'backward';", "source": null, "typeParameters": [] }, "platejs/react:TextEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextEntry", "runtime": false, "signature": "type TextEntry = NodeEntry>;", "source": null, "typeParameters": [ "N = Node" ] }, "platejs/react:TextEntryIn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextEntryIn", "runtime": false, "signature": "type TextEntryIn = NodeEntry>;", "source": null, "typeParameters": [ "V extends Value" ] }, "platejs/react:TextEntryOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextEntryOf", "runtime": false, "signature": "type TextEntryOf = NodeEntry>;", "source": null, "typeParameters": [ "E" ] }, "platejs/react:TextEqualsOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "TextEqualsOptions", "runtime": false, "signature": "interface TextEqualsOptions {\n loose?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:TextIn": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextIn", "runtime": false, "signature": "type TextIn = TextOf;", "source": null, "typeParameters": [ "V extends readonly unknown[]" ] }, "platejs/react:TextIndentDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextIndentDefinition", "runtime": false, "signature": "type TextIndentDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:TextIndentPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "TextIndentPlugin", "runtime": true, "signature": "TextIndentPlugin: Plugin & Readonly<{\n name: \"textIndent\";\n}> & Readonly> & Readonly<{\n initialState: {\n readonly offset: number;\n readonly unit: string;\n };\n}> & Readonly<{\n update: {\n clear: TxDeclaredMethod<(options?: NodeSetNodesOptions) => void>;\n set: TxDeclaredMethod<(value: number, options?: NodeSetNodesOptions) => void>;\n };\n}> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor>;\n key: \"textIndent\";\n localId: \"textIndent\";\n ownerName: \"textIndent\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly properties: {\n textIndent: SchemaElementPropertyDefinition>, Readonly<{\n kind: 'types';\n types: readonly string[];\n }>>;\n };\n };\n}> & Readonly<{\n targetPlugins: readonly [BasePlugin & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs/react:TextIndentPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextIndentPluginState", "runtime": false, "signature": "type TextIndentPluginState = {\n offset: number;\n unit: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:TextInsertFragmentOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "TextInsertFragmentOptions", "runtime": false, "signature": "interface TextInsertFragmentOptions {\n /** Location to insert at. Defaults to the transaction target. */\n at?: Location;\n /** Keep hanging range edges instead of un-hanging before insertion. */\n hanging?: boolean;\n /** Allow insertion into void elements. */\n voids?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:TextInsertTextOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "TextInsertTextOptions", "runtime": false, "signature": "interface TextInsertTextOptions {\n /** Location to insert at. Defaults to the transaction target. */\n at?: Location;\n /** Apply pending editor marks to implicit text insertion. */\n marks?: boolean;\n /** Allow insertion into void elements. */\n voids?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:TextInterface": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "TextInterface", "runtime": false, "signature": "interface TextInterface {\n /**\n * Check if two text nodes are equal.\n *\n * When loose is set, the text is not compared. This is\n * used to check whether sibling text nodes can be merged.\n */\n equals: (text: Text, another: Text, options?: TextEqualsOptions) => boolean;\n /**\n * Check if a value implements the `Text` interface.\n */\n isText: (value: unknown) => value is N;\n /**\n * Check if a value is a list of `Text` objects.\n */\n isTextList: (value: unknown) => value is readonly N[];\n /**\n * Check if some props are a partial of Text.\n */\n isTextProps: (props: unknown) => props is Partial;\n /**\n * Check if an text matches set of properties.\n *\n * Note: this is for matching custom properties, and it does not ensure that\n * the `text` property are two nodes equal.\n */\n matches: (text: N, props: Partial) => boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:TextMutationMethods": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "TextMutationMethods", "runtime": false, "signature": "interface TextMutationMethods {\n /**\n * Delete content at a location, or at the transaction target when omitted.\n */\n delete: (editor: Editor, options?: TextDeleteOptions) => void;\n /**\n * Insert text at a location, or at the transaction target when omitted.\n */\n insertText: (editor: Editor, text: string, options?: TextInsertTextOptions) => void;\n /**\n * Remove a string of text at a point or the current selection anchor.\n */\n removeText: (editor: Editor, text: string, options?: TextRemoveTextOptions) => void;\n}", "source": null, "typeParameters": [ "V extends Value = Value" ] }, "platejs/react:TextNodeProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextNodeProps", "runtime": false, "signature": "type TextNodeProps = ((props: EditorNodeProps & RenderLeafProps$1) => AnyObject | undefined) | AnyObject;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:TextOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextOf", "runtime": false, "signature": "type TextOf = N extends unknown ? TextOfVariant : never;", "source": null, "typeParameters": [ "N" ] }, "platejs/react:TextRemoveTextOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "TextRemoveTextOptions", "runtime": false, "signature": "interface TextRemoveTextOptions {\n at?: {\n path: Path;\n offset: number;\n };\n}", "source": null, "typeParameters": [] }, "platejs/react:TextSelection": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextSelection", "runtime": false, "signature": "type TextSelection = Range & Readonly<{\n /** Side of the focus point that survives edits at the same position. */\n affinity?: SelectionAssociation;\n kind: 'text';\n /** Explicit properties for the next insertion at this collapsed selection. */\n marks?: Readonly>;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TextStaticProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextStaticProps", "runtime": false, "signature": "type TextStaticProps = ((props: BaseRenderNodeProps & RenderTextProps) => AnyObject | undefined) | AnyObject;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:TextSubstitutionInputRuleConfig": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextSubstitutionInputRuleConfig", "runtime": false, "signature": "type TextSubstitutionInputRuleConfig = BaseInputRule & {\n patterns: TextSubstitutionPattern[];\n};", "source": null, "typeParameters": [] }, "platejs/react:TextSubstitutionMatch": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextSubstitutionMatch", "runtime": false, "signature": "type TextSubstitutionMatch = {\n end: string;\n pattern: TextSubstitutionPattern;\n points: {\n afterStartMatchPoint: Point$1 | undefined;\n beforeEndMatchPoint: Point$1;\n beforeStartMatchPoint: Point$1 | undefined;\n };\n};", "source": null, "typeParameters": [] }, "platejs/react:TextSubstitutionPattern": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextSubstitutionPattern", "runtime": false, "signature": "type TextSubstitutionPattern = {\n format: readonly [string, string] | string;\n match: readonly string[] | string;\n trigger?: readonly string[] | string;\n};", "source": null, "typeParameters": [] }, "platejs/react:TextUnit": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextUnit", "runtime": false, "signature": "type TextUnit = 'character' | 'word' | 'line' | 'block';", "source": null, "typeParameters": [] }, "platejs/react:TextUnitAdjustment": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TextUnitAdjustment", "runtime": false, "signature": "type TextUnitAdjustment = TextUnit | 'offset';", "source": null, "typeParameters": [] }, "platejs/react:TextWith": { "aliases": [], "documentation": "Text leaf narrowed to schema properties contributed by one or more owners.\nThe second generic marks exact authored local IDs known to be present.", "entrypoint": "platejs/react", "kind": "type", "name": "TextWith", "runtime": false, "signature": "type TextWith> = never> = Text$1 & SchemaPropertyShape, TRequired>;", "source": null, "typeParameters": [ "TSource extends SchemaPropertySource", "TRequired extends SchemaPropertyRequiredLocalId> = never" ] }, "platejs/react:ToggleBlockCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ToggleBlockCommand", "runtime": false, "signature": "type ToggleBlockCommand = {\n options?: EditorToggleBlockOptions;\n props: Partial> & {\n type: string;\n };\n};", "source": null, "typeParameters": [] }, "platejs/react:ToggleHeadingOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ToggleHeadingOptions", "runtime": false, "signature": "type ToggleHeadingOptions = {\n level: HeadingLevel;\n};", "source": null, "typeParameters": [] }, "platejs/react:ToggleListOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ToggleListOptions", "runtime": false, "signature": "type ToggleListOptions = {\n at?: Location | NodeSelection;\n /** Start for the first target, applied only while that item opens numbering at its level. */\n listStart?: number;\n listStyle?: ListStyle | (string & {});\n type: ListType;\n};", "source": null, "typeParameters": [] }, "platejs/react:ToggleMarkCommand": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ToggleMarkCommand", "runtime": false, "signature": "type ToggleMarkCommand = {\n key: string;\n options?: EditorToggleMarkOptions;\n value: unknown;\n};", "source": null, "typeParameters": [] }, "platejs/react:TopLevelRuntimeRange": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TopLevelRuntimeRange", "runtime": false, "signature": "type TopLevelRuntimeRange = readonly [number, number];", "source": null, "typeParameters": [] }, "platejs/react:toReactPlugin": { "aliases": [], "documentation": "Lift one semantic Base descriptor into the React layer.\n\nThe returned value remains the same single Base plugin descriptor;\nthis adapter only adds React authoring context and component binding.", "entrypoint": "platejs/react", "kind": "function", "name": "toReactPlugin", "runtime": true, "signature": "declare function toReactPlugin(basePlugin: BasePluginAdapterSource & PluginDefinitionWitness & ConfiguredPluginDescriptor): ConfiguredPlugin;", "source": null, "typeParameters": [ "const C extends AnyBasePluginDefinition" ] }, "platejs/react:TrailingBlockDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TrailingBlockDefinition", "runtime": false, "signature": "type TrailingBlockDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:TrailingBlockPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "TrailingBlockPlugin", "runtime": true, "signature": "TrailingBlockPlugin: BasePlugin & Readonly<{\n name: \"trailingBlock\";\n}> & Readonly> & Readonly<{\n initialState: {\n readonly level: number;\n readonly match: NodeMatch | null;\n readonly type: string;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/react:TrailingBlockPluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TrailingBlockPluginState", "runtime": false, "signature": "type TrailingBlockPluginState = {\n /** Level where the trailing node should be, the first level being 0. */\n level: number;\n /** Match the last node before inserting the trailing block. */\n match: NodeMatch | null;\n /** Type of the trailing block */\n type: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:TransactionSpec": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "TransactionSpec", "runtime": false, "signature": "interface TransactionSpec {\n /**\n * Opaque proof that this spec was built by the owning editor.\n *\n * @internal\n */\n readonly [TRANSACTION_SPEC_TYPE]: true;\n readonly annotations: ReadonlyArray>;\n readonly changes: DocumentChange;\n readonly effects: readonly EditorEffect[];\n readonly kind: 'transaction';\n readonly selection?: Readonly<{\n /** Named selection root. Omitted for the primary document. */\n root?: NamedRootKey;\n value: Selection;\n }>;\n readonly tags: readonly EditorUpdateTag[];\n}", "source": null, "typeParameters": [ "TRoot extends RootKey = RootKey" ] }, "platejs/react:transfer": { "aliases": [], "documentation": "The drag-and-drop and keyboard move action; React editors install it.", "entrypoint": "platejs/react", "kind": "const", "name": "transfer", "runtime": true, "signature": "transfer: () => TransferPlugin", "source": null, "typeParameters": [] }, "platejs/react:TransferAdoptInput": { "aliases": [], "documentation": "A block copy or move at its final edge, before placement and vetoes judge\nit.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferAdoptInput", "runtime": false, "signature": "type TransferAdoptInput = TransferLandingInput & Readonly<{\n payload: Extract;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferApi": { "aliases": [], "documentation": "The `editor.api.transfer` group.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferApi", "runtime": false, "signature": "type TransferApi = Readonly<{\n /** Copy blocks or text to a target edge or point. */\n copy: (input: TransferInput) => TransferOutcome;\n /**\n * Move blocks or text inside one document, or copy when the source is\n * read-only or another editor.\n */\n move: (input: TransferInput) => TransferOutcome;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferCheck": { "aliases": [], "documentation": "A transfer's admission without building it, for hover feedback.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferCheck", "runtime": false, "signature": "type TransferCheck = Readonly<{\n admitted: true;\n to: TransferLandingTarget;\n}> | Readonly<{\n admitted: false;\n reason: TransferRefusalReason;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransferDefinition", "runtime": false, "signature": "type TransferDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/react:TransferDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransferDiagnostic", "runtime": false, "signature": "type TransferDiagnostic = Readonly<{\n impact: 'lossless' | 'lossy';\n message: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferEdge": { "aliases": [], "documentation": "A position beside one block, addressed by its key.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferEdge", "runtime": false, "signature": "type TransferEdge = Readonly<{\n edge: 'after' | 'before';\n key: NodeKey;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransferInput", "runtime": false, "signature": "type TransferInput = Readonly<{\n /** Screen-reader text the commit carries when the transfer lands. */\n announce?: string;\n /** Source view. Defaults to the editor that runs the transfer. */\n from?: AnyEditor;\n /**\n * Block payload in `from`, addressed by key. Defaults to the selected\n * blocks, or the blocks containing the selection.\n */\n nodes?: readonly NodeKey[];\n /** Text payload in `from`, instead of `nodes`. */\n range?: Range;\n to: TransferTarget;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferIntent": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransferIntent", "runtime": false, "signature": "type TransferIntent = 'copy' | 'move';", "source": null, "typeParameters": [] }, "platejs/react:TransferLandingInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransferLandingInput", "runtime": false, "signature": "type TransferLandingInput = Readonly<{\n edge: 'after' | 'before';\n /** Source view. */\n from: AnyEditor;\n intent: TransferIntent;\n payload: TransferPayload;\n relation: TransferRelation;\n target: NodeEntry;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferLandingTarget": { "aliases": [], "documentation": "A resolved landing: beside a block, at its side, or at a text point.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferLandingTarget", "runtime": false, "signature": "type TransferLandingTarget = TransferEdge | TransferSide | Readonly<{\n point: Point;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferOutcome": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransferOutcome", "runtime": false, "signature": "type TransferOutcome = Readonly<{\n at: NodeSelection | Range;\n status: 'moved';\n}> | Readonly<{\n at: NodeSelection | Range;\n diagnostics: readonly TransferDiagnostic[];\n reason: 'identity' | 'independent' | 'intent' | 'read-only-source';\n status: 'copied';\n}> | Readonly<{\n reason: TransferRefusalReason;\n status: 'refused';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferPatch": { "aliases": [], "documentation": "Properties a block copy or move adopts at `at`, a path inside the payload\nwhose first index picks one of its nodes.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferPatch", "runtime": false, "signature": "type TransferPatch = Readonly<{\n at: Path;\n properties: TransferPatchProperties;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferPatchProperties": { "aliases": [], "documentation": "Only properties declared `landing: 'adopt'`; `undefined` unsets one. A move\npatch may not set `null`.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferPatchProperties", "runtime": false, "signature": "type TransferPatchProperties = Readonly & {\n childRoots?: never;\n children?: never;\n text?: never;\n type?: never;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferPayload": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransferPayload", "runtime": false, "signature": "type TransferPayload = Readonly<{\n kind: 'nodes';\n nodes: readonly Descendant[];\n /** Parent keys in the source; comparable to target keys only within one document. */\n parentKeys: ReadonlyArray;\n}> | Readonly<{\n kind: 'text';\n}> | Readonly<{\n kind: 'files';\n types: readonly string[];\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferPlugin": { "aliases": [], "documentation": "Moves and copies blocks and text through one admission law.", "entrypoint": "platejs/react", "kind": "const", "name": "TransferPlugin", "runtime": true, "signature": "TransferPlugin: TransferPluginDescriptor", "source": null, "typeParameters": [] }, "platejs/react:TransferRead": { "aliases": [], "documentation": "The `editor.read.transfer` group.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferRead", "runtime": false, "signature": "type TransferRead = Readonly<{\n /**\n * Whether a move would be admitted, without running it: the dry run the\n * drop indicator paints from. A refusal at commit time, such as a lossy\n * landing, is not predicted.\n */\n check: (input: TransferInput) => TransferCheck;\n /**\n * The blocks a transfer carries, after feature expansion such as list\n * families, without nested duplicates, in document order. With `node`, a\n * handle's blocks: the node selection when it holds the node, else the node\n * alone. Without it, a keyboard move's blocks: the selected blocks, else the\n * blocks holding the selection.\n */\n nodes: (options?: Readonly<{\n node?: NodeTarget;\n }>) => readonly NodeKey[];\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferRefusalReason": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransferRefusalReason", "runtime": false, "signature": "type TransferRefusalReason = 'inside-source' | 'lossy' | 'no-op' | 'policy' | 'read-only-target' | 'schema' | 'source-missing';", "source": null, "typeParameters": [] }, "platejs/react:TransferRelation": { "aliases": [], "documentation": "How the source and target documents relate. `document` is one document\nacross its views and roots; `identity` is one runtime seen through a\ndifferent document override, projection or authoring intent;\n`independent` is another editor.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferRelation", "runtime": false, "signature": "type TransferRelation = 'document' | 'identity' | 'independent';", "source": null, "typeParameters": [] }, "platejs/react:TransferSide": { "aliases": [], "documentation": "The inline start or end side of a block, where a dropped block lands beside\nit. A `transfer.side` read decides what the landing builds; without one the\ntransfer refuses.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferSide", "runtime": false, "signature": "type TransferSide = Readonly<{\n key: NodeKey;\n side: 'end' | 'start';\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferSideInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransferSideInput", "runtime": false, "signature": "type TransferSideInput = Readonly<{\n /** Source view. */\n from: AnyEditor;\n intent: TransferIntent;\n payload: TransferPayload;\n relation: TransferRelation;\n side: 'end' | 'start';\n target: NodeEntry;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferSourceInput": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransferSourceInput", "runtime": false, "signature": "type TransferSourceInput = Readonly<{\n selection: NodeSelection;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferTarget": { "aliases": [], "documentation": "Where a transfer lands. `previous` and `next` step the payload past the\nnearest sibling edge the landing policy admits, and keep the selection.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferTarget", "runtime": false, "signature": "type TransferTarget = TransferLandingTarget | 'next' | 'previous';", "source": null, "typeParameters": [] }, "platejs/react:transferVeto": { "aliases": [], "documentation": "Contribute a veto that refuses a landing on its final edge.", "entrypoint": "platejs/react", "kind": "const", "name": "transferVeto", "runtime": true, "signature": "transferVeto: Readonly<{\n id: string;\n of: (value: TransferVeto) => PluginContribution;\n}>", "source": null, "typeParameters": [] }, "platejs/react:TransferVeto": { "aliases": [], "documentation": "A veto refuses a landing on the final edge in `view`, the target view;\nevery contributed veto runs.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferVeto", "runtime": false, "signature": "type TransferVeto = (input: TransferVetoInput, view: AnyEditor) => boolean;", "source": null, "typeParameters": [] }, "platejs/react:TransferVetoInput": { "aliases": [], "documentation": "A veto's input. For a side landing, `edge` and `target` place the shell and\n`wrap` is set: the payload lands inside the shell, deeper than the edge, and\na wrap that takes the target's place also runs every veto with the target as\nthe payload.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferVetoInput", "runtime": false, "signature": "type TransferVetoInput = TransferLandingInput & Readonly<{\n wrap?: TransferWrap;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransferWrap": { "aliases": [], "documentation": "What a side landing builds: `shell`, an element with empty slots, and the\nslot at `payload`, a path inside it, for the dropped blocks. With `target`,\nthe shell takes the target's place and the target moves into the slot at\n`target`. Otherwise the shell lands at `edge` of the target's ancestor\n`ancestor` levels up, 0 being the target itself.", "entrypoint": "platejs/react", "kind": "type", "name": "TransferWrap", "runtime": false, "signature": "type TransferWrap = Readonly<{\n payload: Path;\n shell: Element;\n target: Path;\n}> | Readonly<{\n ancestor: number;\n edge: 'after' | 'before';\n payload: Path;\n shell: Element;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:TransformInputRuleContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransformInputRuleContext", "runtime": false, "signature": "type TransformInputRuleContext = {\n decline: () => InputRuleDecline;\n tx: InputRuleTransaction;\n};", "source": null, "typeParameters": [ "TEditor = Editor" ] }, "platejs/react:TransformOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "TransformOptions", "runtime": false, "signature": "type TransformOptions = BaseTransformOptions & PluginContext;", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:TxDeclaredMethod": { "aliases": [], "documentation": "A plugin update method declared with `txLocate`, `txSelection` or\n`txStored`.", "entrypoint": "platejs/react", "kind": "type", "name": "TxDeclaredMethod", "runtime": false, "signature": "type TxDeclaredMethod unknown> = TMethod & {\n readonly [TX_DECLARED_METHOD]: true;\n};", "source": null, "typeParameters": [ "TMethod extends (...args: never[]) => unknown" ] }, "platejs/react:txLocate": { "aliases": [], "documentation": "Declare where a plugin update method's arguments land. The method runs in\nthe root of the targets `locate` places. While a command document is\nregistered, `locate` also maps them into the document editing commands\ndecide on, or returns null when they have no place there, so the method\ndoes nothing. `false` says the arguments hold no location. A call that\npasses a function runs in the caller's root, and `locate` runs only to map\nits arguments into the command document. A method called with arguments\nthat has no declaration throws.", "entrypoint": "platejs/react", "kind": "const", "name": "txLocate", "runtime": true, "signature": "txLocate: unknown>(locate: NoInfer>> | false, method: TMethod) => TxDeclaredMethod", "source": null, "typeParameters": [] }, "platejs/react:TxMethodDeclarations": { "aliases": [], "documentation": "Refuses a plugin's update methods when one takes arguments without\n`txLocate`, `txSelection` or `txOnly`, because calling such a method with\narguments throws. Intersect it with the update factory's return type.", "entrypoint": "platejs/react", "kind": "type", "name": "TxMethodDeclarations", "runtime": false, "signature": "type TxMethodDeclarations = [UndeclaredTxMethodPaths] extends [never] ? unknown : Readonly} takes arguments, so declare it with txLocate, txSelection or txOnly`, true>>;", "source": null, "typeParameters": [ "TUpdate" ] }, "platejs/react:txOnly": { "aliases": [], "documentation": "Mark a plugin method that only has meaning inside an existing update. It\nstays on `tx`. A direct call through `editor.update.` or a plugin\nportal refuses it, and every member of a marked group.", "entrypoint": "platejs/react", "kind": "const", "name": "txOnly", "runtime": true, "signature": "txOnly: any>(method: TMethod) => TxOnlyMethod", "source": null, "typeParameters": [] }, "platejs/react:TxOnlyMethod": { "aliases": [], "documentation": "A method available on a transaction but omitted from direct updates.", "entrypoint": "platejs/react", "kind": "type", "name": "TxOnlyMethod", "runtime": false, "signature": "type TxOnlyMethod any> = TMethod & {\n readonly [TX_ONLY_METHOD]: true;\n};", "source": null, "typeParameters": [ "TMethod extends (...args: any[]) => any" ] }, "platejs/react:txSelection": { "aliases": [], "documentation": "Declare a plugin update method that only moves the selection, as caret\nmovement does: it runs in the caller's root on the stored document, and\nthrows if it changes content.", "entrypoint": "platejs/react", "kind": "const", "name": "txSelection", "runtime": true, "signature": "txSelection: unknown>(method: TMethod) => TxDeclaredMethod", "source": null, "typeParameters": [] }, "platejs/react:UnderlinePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "UnderlinePlugin", "runtime": true, "signature": "UnderlinePlugin: InternalReactPluginAdapterResult & Readonly<{\n name: \"underline\";\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"underline\";\n localId: \"underline\";\n ownerName: \"underline\";\n placement: \"text\";\n unaliased: true;\n value: boolean;\n }>;\n schema: {\n readonly mark: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n };\n}>>, {\n readonly shortcuts: {\n readonly toggle: {\n readonly keys: \"mod+u\";\n };\n };\n}>", "source": null, "typeParameters": [] }, "platejs/react:UnderlineRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "UnderlineRules", "runtime": true, "signature": "UnderlineRules: {\n markdown: (options?: MarkdownMarkRuleOptions) => InsertTextInputRule;\n}", "source": null, "typeParameters": [] }, "platejs/react:UnknownObject": { "aliases": [], "documentation": "Dynamic object whose values must be narrowed before use.", "entrypoint": "platejs/react", "kind": "type", "name": "UnknownObject", "runtime": false, "signature": "type UnknownObject = Record;", "source": null, "typeParameters": [] }, "platejs/react:UnwrapLinkOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "UnwrapLinkOptions", "runtime": false, "signature": "type UnwrapLinkOptions = {\n at?: Location;\n mode?: MaximizeMode;\n split?: boolean;\n voids?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:UpsertLinkOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "UpsertLinkOptions", "runtime": false, "signature": "type UpsertLinkOptions = {\n insertNodesOptions?: TextInsertFragmentOptions;\n} & CreateLinkNodeOptions;", "source": null, "typeParameters": [] }, "platejs/react:useAnnotation": { "aliases": [], "documentation": "Read one resolved annotation by id from an explicit store.", "entrypoint": "platejs/react", "kind": "function", "name": "useAnnotation", "runtime": true, "signature": "declare function useAnnotation(store: AnnotationStore, id: string): ResolvedAnnotation | null;", "source": null, "typeParameters": [ "TData = unknown" ] }, "platejs/react:useAnnotations": { "aliases": [], "documentation": "Read the current annotation snapshot from an explicit store.", "entrypoint": "platejs/react", "kind": "function", "name": "useAnnotations", "runtime": true, "signature": "declare function useAnnotations(store: AnnotationStore): AnnotationSnapshot;", "source": null, "typeParameters": [ "TData = unknown" ] }, "platejs/react:useAnnotationStore": { "aliases": [], "documentation": "Create an annotation store from a React-owned annotation value.\n\nNew array identities refresh automatically. Pass `revision` only when an\nexternal mutable source changes without producing a new array.", "entrypoint": "platejs/react", "kind": "function", "name": "useAnnotationStore", "runtime": true, "signature": "declare function useAnnotationStore(editor: Editor$3, annotations: ReadonlyArray>, options?: UseAnnotationStoreOptions): AnnotationStore;", "source": null, "typeParameters": [ "TData = unknown", "V extends Value = Value", "TPlugins extends readonly unknown[] = readonly []" ] }, "platejs/react:UseAnnotationStoreOptions": { "aliases": [], "documentation": "Options for a React-owned annotation store.", "entrypoint": "platejs/react", "kind": "type", "name": "UseAnnotationStoreOptions", "runtime": false, "signature": "type UseAnnotationStoreOptions = {\n id?: string;\n onError?: ViewSourceErrorSink;\n /** Explicit invalidation token for a mutable external annotation source. */\n revision?: unknown;\n};", "source": null, "typeParameters": [] }, "platejs/react:useChildRoot": { "aliases": [], "documentation": "Resolve a stable same-runtime root key owned by an element.\n\nPrefer storing `childRoots[slot]` on the element when the child root is part\nof persisted document data. The node-key fallback is useful for ephemeral\nisland roots, but it is intentionally not a persistence contract.", "entrypoint": "platejs/react", "kind": "function", "name": "useChildRoot", "runtime": true, "signature": "declare function useChildRoot(element?: Element$1 | null, slot?: string): NamedRootKey;", "source": null, "typeParameters": [] }, "platejs/react:useComposedRef": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "useComposedRef", "runtime": true, "signature": "useComposedRef: (...refs: Array>) => (node: T | null) => (() => void) | undefined", "source": null, "typeParameters": [] }, "platejs/react:useContentRoot": { "aliases": [], "documentation": "Resolve a schema-owned child content root and its root chrome controller.", "entrypoint": "platejs/react", "kind": "function", "name": "useContentRoot", "runtime": true, "signature": "declare function useContentRoot(element?: Element$1 | null, options?: UseContentRootOptions): ContentRootController;", "source": null, "typeParameters": [] }, "platejs/react:UseContentRootOptions": { "aliases": [], "documentation": "Options for resolving a schema-owned child content root.", "entrypoint": "platejs/react", "kind": "type", "name": "UseContentRootOptions", "runtime": false, "signature": "type UseContentRootOptions = UseRootChromeOptions & {\n /** Select one schema `contentRoots` slot. Optional for single-slot elements. */\n slot?: string;\n};", "source": null, "typeParameters": [] }, "platejs/react:useCreateEditor": { "aliases": [], "documentation": "Creates a Plate editor for the component lifetime.\n\nThe editor is memoized by `id`, `userId`, `enabled` and `deps`. Plugins\ntake resources outside the editor, such as a Yjs document, when React\ncommits the component, and give them back when it unmounts or the editor is\nreplaced.\n\nExamples:\n\n```ts\nconst editor = useCreateEditor({\n plugins: [ParagraphPlugin, HeadingPlugin],\n initialValue: [{ type: 'paragraph', children: [{ text: 'Hello world!' }] }],\n});\n\n// Editor with custom dependencies\nconst editor = useCreateEditor(\n {\n plugins: [ParagraphPlugin],\n enabled,\n },\n [enabled]\n); // Re-create when enabled changes\n\n// Name the schema only when persisted or collaborative state needs lineage.\nconst persistedEditor = useCreateEditor({\n schema: { id: 'acme-document', version: 1 },\n});\n```\n\nA change of `id`, or of the user that `userId` names, creates a new editor\nfrom the options of that render; a missing, empty or `'local'` `userId` all\nname the local user. The old editor's unsaved document and comments are\ndropped, so pass them in as the new editor's initial value and comments.", "entrypoint": "platejs/react", "kind": "function", "name": "useCreateEditor", "runtime": true, "signature": "declare function useCreateEditor(options?: CreateEditorOptions & {\n enabled?: TEnabled;\n}, deps?: React$1.DependencyList): UseCreateEditorReturn>;", "source": null, "typeParameters": [ "const TSchema extends EditorApplicationSchema | undefined = undefined", "TEnabled extends boolean | undefined = undefined" ] }, "platejs/react:useDropIndicator": { "aliases": [], "documentation": "This view's block drop indicator while a block drag hovers an admitted\nedge: the target key, edge, axis and the viewport line to paint.", "entrypoint": "platejs/react", "kind": "const", "name": "useDropIndicator", "runtime": true, "signature": "useDropIndicator: () => DropIndicator | null", "source": null, "typeParameters": [] }, "platejs/react:useEditableClip": { "aliases": [], "documentation": "Cuts viewport boxes to `RangeGeometry.clipRect` of one Editable, with the\nedge rule of `RangeGeometry.visible`. Returns [] when no part shows or no\nEditable is mounted. It reads layout, so call it where you measure. The\nreturned function is stable.", "entrypoint": "platejs/react", "kind": "function", "name": "useEditableClip", "runtime": true, "signature": "declare function useEditableClip({ editableRef }: UseEditableClipOptions): EditableClip;", "source": null, "typeParameters": [] }, "platejs/react:UseEditableClipOptions": { "aliases": [], "documentation": "Identifies the exact mounted Editable whose visible part cuts the boxes.", "entrypoint": "platejs/react", "kind": "type", "name": "UseEditableClipOptions", "runtime": false, "signature": "type UseEditableClipOptions = Readonly<{\n editableRef: RefObject;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:useEditableRef": { "aliases": [], "documentation": "Get the selected view's Editable ref; its value is null before mount. Inside\n`EditorSelectionView` it is the Editable of the view holding the selection.", "entrypoint": "platejs/react", "kind": "function", "name": "useEditableRef", "runtime": true, "signature": "declare function useEditableRef(): React$1.RefObject;", "source": null, "typeParameters": [] }, "platejs/react:useEditor": { "aliases": [], "documentation": "Get the editor selected by the nearest Plate, PlateController, or EditorProvider.", "entrypoint": "platejs/react", "kind": "function", "name": "useEditor", "runtime": true, "signature": "declare function useEditor(): Editor;", "source": null, "typeParameters": [] }, "platejs/react:useEditorComposing": { "aliases": [], "documentation": "Whether the selected command view is composing text.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorComposing", "runtime": true, "signature": "useEditorComposing: () => boolean", "source": null, "typeParameters": [] }, "platejs/react:useEditorContainerRef": { "aliases": [], "documentation": "Get the selected Plate container ref; its value is null before mount.", "entrypoint": "platejs/react", "kind": "function", "name": "useEditorContainerRef", "runtime": true, "signature": "declare function useEditorContainerRef(): React$1.RefObject;", "source": null, "typeParameters": [] }, "platejs/react:useEditorFocused": { "aliases": [], "documentation": "Whether the selected command view is currently focused.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorFocused", "runtime": true, "signature": "useEditorFocused: () => boolean", "source": null, "typeParameters": [] }, "platejs/react:useEditorHasSelection": { "aliases": [], "documentation": "Whether the selected root has a text selection, including a caret.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorHasSelection", "runtime": true, "signature": "useEditorHasSelection: () => boolean", "source": null, "typeParameters": [] }, "platejs/react:useEditorHistory": { "aliases": [], "documentation": "Create undo/redo commands and keyboard handling.\n\nWithout `editor` or `root`, they run through the shown writable view used\nlast, and are on only while a shown writable `Editable` reaches every root\nthe next undo or redo changes. With `editor` or `root`, they replay the next\nbatch whatever roots it changes. With `root`, they are off while no view of\nit is shown. With `editor`, they can stay on while no `Editable` runs that\neditor, and a click then does nothing. They are off while their view is\nread-only or composes text.", "entrypoint": "platejs/react", "kind": "function", "name": "useEditorHistory", "runtime": true, "signature": "declare function useEditorHistory({ editor: providedEditor, focusPolicy, root: fixedRoot }?: UseEditorHistoryOptions): EditorHistoryController;", "source": null, "typeParameters": [ "const TRoot extends RootKey = RootKey" ] }, "platejs/react:UseEditorHistoryOptions": { "aliases": [], "documentation": "Options for history commands and shortcut handling.", "entrypoint": "platejs/react", "kind": "type", "name": "UseEditorHistoryOptions", "runtime": false, "signature": "type UseEditorHistoryOptions = {\n focusPolicy?: EditorHistoryFocusPolicy;\n} & ({\n /** Bind commands and focus to this existing view, including outside an editor root. */\n editor: Editor$1;\n root?: never;\n} | {\n editor?: undefined;\n root?: NamedRootKey;\n});", "source": null, "typeParameters": [ "TRoot extends RootKey = RootKey" ] }, "platejs/react:useEditorId": { "aliases": [], "documentation": "Get the selected editor's application ID.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorId", "runtime": true, "signature": "useEditorId: () => string", "source": null, "typeParameters": [] }, "platejs/react:useEditorMounted": { "aliases": [], "documentation": "Whether the selected command view has a mounted editable.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorMounted", "runtime": true, "signature": "useEditorMounted: () => boolean", "source": null, "typeParameters": [] }, "platejs/react:useEditorPluginStore": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "function", "name": "useEditorPluginStore", "runtime": true, "signature": "declare function useEditorPluginStore

                  > = PluginStoreKey>>(editor: AnyEditor, plugin: P, key: K, ...args: PluginStoreArgs, K>): PluginStoreValue, K>;", "source": null, "typeParameters": [ "P extends PluginStoreDescriptor", "K extends PluginStoreKey> = PluginStoreKey>" ] }, "platejs/react:useEditorReadOnly": { "aliases": [], "documentation": "Whether the selected command view rejects editing, including after unmount.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorReadOnly", "runtime": true, "signature": "useEditorReadOnly: () => boolean", "source": null, "typeParameters": [] }, "platejs/react:useEditorRootElement": { "aliases": [], "documentation": "Return the mounted editor root element.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorRootElement", "runtime": true, "signature": "useEditorRootElement: (editor: DOMScopeEditor) => HTMLElement | null", "source": null, "typeParameters": [] }, "platejs/react:useEditorRuntimeState": { "aliases": [], "documentation": "Subscribe to a derived state value from an explicit editor instance.\n\nUse this for chrome that owns or receives an editor but is outside a\n`` provider. Commit-driven selectors invalidate synchronously. Inside\nprovider descendants, prefer `useEditorState`.", "entrypoint": "platejs/react", "kind": "function", "name": "useEditorRuntimeState", "runtime": true, "signature": "declare function useEditorRuntimeState = Editor$3>(editor: TEditor, selector: (state: EditorStateView, PluginsOf>) => T, { equalityFn, shouldUpdate }?: EditorRuntimeStateSelectorOptions): T;", "source": null, "typeParameters": [ "T", "TEditor extends Editor$3 = Editor$3" ] }, "platejs/react:useEditorScrollElement": { "aliases": [], "documentation": "Return the editor scroll container element.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorScrollElement", "runtime": true, "signature": "useEditorScrollElement: (editor: DOMScopeEditor) => HTMLElement | null", "source": null, "typeParameters": [] }, "platejs/react:useEditorScrollElementRef": { "aliases": [], "documentation": "Register the element that scrolls the editor, such as a page's scrolling\n`main`. Every editor of the document returns it from\n`editor.api.dom.scroll()`, and virtualized editables follow its scroll. A\n`fallback` registration applies only while no other element is registered.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorScrollElementRef", "runtime": true, "signature": "useEditorScrollElementRef: (editor: DOMScopeEditor, { fallback }?: {\n fallback?: boolean;\n}) => (element: HTMLElement | null) => void", "source": null, "typeParameters": [] }, "platejs/react:useEditorSelection": { "aliases": [], "documentation": "Get the selected root's text selection.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorSelection", "runtime": true, "signature": "useEditorSelection: () => Range | null", "source": null, "typeParameters": [] }, "platejs/react:useEditorSelector": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorSelector", "runtime": true, "signature": "useEditorSelector: (selector: (editor: Editor) => T, options?: UseEditorSelectorOptions) => T", "source": null, "typeParameters": [] }, "platejs/react:UseEditorSelectorOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "UseEditorSelectorOptions", "runtime": false, "signature": "type UseEditorSelectorOptions = EditorRuntimeStateSelectorOptions;", "source": null, "typeParameters": [ "T" ] }, "platejs/react:useEditorState": { "aliases": [], "documentation": "Subscribe to a value derived from the selected editor's immutable state.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorState", "runtime": true, "signature": "useEditorState: (selector: (state: EditorStateView, PluginsOf>) => T, options?: UseEditorStateOptions) => T", "source": null, "typeParameters": [] }, "platejs/react:UseEditorStateOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "UseEditorStateOptions", "runtime": false, "signature": "type UseEditorStateOptions = EditorRuntimeStateSelectorOptions;", "source": null, "typeParameters": [ "T" ] }, "platejs/react:useEditorValue": { "aliases": [], "documentation": "Get the selected root's children.", "entrypoint": "platejs/react", "kind": "const", "name": "useEditorValue", "runtime": true, "signature": "useEditorValue: () => readonly BaseElement[]", "source": null, "typeParameters": [] }, "platejs/react:useEditorViewState": { "aliases": [], "documentation": "Subscribe to a derived view-state value from an explicit editor instance.\n\nView state covers editable facts such as read-only, focus, and composition.", "entrypoint": "platejs/react", "kind": "function", "name": "useEditorViewState", "runtime": true, "signature": "declare function useEditorViewState(editor: TEditor, selector: (view: EditorStateView>['view']) => T, { equalityFn }?: EditorViewStateSelectorOptions): T;", "source": null, "typeParameters": [ "T", "TEditor extends AnyEditor = AnyEditor" ] }, "platejs/react:useElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "function", "name": "useElement", "runtime": true, "signature": "declare function useElement(): Element$1;", "source": null, "typeParameters": [] }, "platejs/react:useElementPath": { "aliases": [], "documentation": "Subscribe to the live path for the current rendered element.", "entrypoint": "platejs/react", "kind": "const", "name": "useElementPath", "runtime": true, "signature": "useElementPath: () => Path | null", "source": null, "typeParameters": [] }, "platejs/react:useElementSelected": { "aliases": [], "documentation": "Subscribe to whether an element path matches the current view's selection,\nincluding retained content in a mounted markup view.", "entrypoint": "platejs/react", "kind": "const", "name": "useElementSelected", "runtime": true, "signature": "useElementSelected: ({ at, mode }?: UseElementSelectedOptions) => boolean", "source": null, "typeParameters": [] }, "platejs/react:UseElementSelectedMode": { "aliases": [], "documentation": "Selection match mode for `useElementSelected`:\n\n- `intersects`: any selection reaches the element.\n- `collapsed`: a collapsed selection reaches the element.\n- `text`: a text selection reaches the element; any node selection is false.\n- `node`: a node selection holds the element.\n- `object`: an object node selection holds the element itself.", "entrypoint": "platejs/react", "kind": "type", "name": "UseElementSelectedMode", "runtime": false, "signature": "type UseElementSelectedMode = 'collapsed' | 'intersects' | 'node' | 'object' | 'text';", "source": null, "typeParameters": [] }, "platejs/react:UseElementSelectedOptions": { "aliases": [], "documentation": "Options for selecting the context element or an explicit element path.", "entrypoint": "platejs/react", "kind": "type", "name": "UseElementSelectedOptions", "runtime": false, "signature": "type UseElementSelectedOptions = {\n at?: NodeKey | Path | null;\n mode?: UseElementSelectedMode;\n};", "source": null, "typeParameters": [] }, "platejs/react:useElementSelector": { "aliases": [], "documentation": "Derive a value from the nearest element payload, skipping path-only updates.\nDerive a value from the plugin's scoped element with exact schema inference.", "entrypoint": "platejs/react", "kind": "function", "name": "useElementSelector", "runtime": true, "signature": "declare function useElementSelector(selector: ElementSelector, options?: UseElementSelectorOptions): T;", "source": null, "typeParameters": [ "T" ] }, "platejs/react:useFocusedLast": { "aliases": [], "documentation": "Whether this editor was last focused in its owning document, including toolbar focus.", "entrypoint": "platejs/react", "kind": "function", "name": "useFocusedLast", "runtime": true, "signature": "declare function useFocusedLast(): boolean;", "source": null, "typeParameters": [] }, "platejs/react:useIsomorphicLayoutEffect": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "useIsomorphicLayoutEffect", "runtime": true, "signature": "useIsomorphicLayoutEffect: typeof React$1.useLayoutEffect", "source": null, "typeParameters": [] }, "platejs/react:useModelEditor": { "aliases": [], "documentation": "Get the complete document editor owned by the nearest EditorRoot.", "entrypoint": "platejs/react", "kind": "function", "name": "useModelEditor", "runtime": true, "signature": "declare function useModelEditor(): Editor;", "source": null, "typeParameters": [] }, "platejs/react:useOptionalEditor": { "aliases": [], "documentation": "Get the provider's selected editor, or null when no editor is available.", "entrypoint": "platejs/react", "kind": "function", "name": "useOptionalEditor", "runtime": true, "signature": "declare function useOptionalEditor(): Editor | null;", "source": null, "typeParameters": [] }, "platejs/react:usePath": { "aliases": [], "documentation": "Subscribe to the live path for the nearest rendered element.\nSubscribe to a derived path value, skipping equal results.", "entrypoint": "platejs/react", "kind": "function", "name": "usePath", "runtime": true, "signature": "declare function usePath(): Path;", "source": null, "typeParameters": [] }, "platejs/react:usePluginStore": { "aliases": [], "documentation": "Subscribe to one plugin state field or named selector. Pass a selector\ncallback to derive directly from the plugin state. The plugin descriptor\ncarries the state and selector contract, so name-only objects are rejected.", "entrypoint": "platejs/react", "kind": "function", "name": "usePluginStore", "runtime": true, "signature": "declare function usePluginStore

                  > = PluginStoreKey>>(plugin: P, key: K, ...args: PluginStoreArgs, K>): PluginStoreValue, K>;", "source": null, "typeParameters": [ "P extends PluginStoreDescriptor", "K extends PluginStoreKey> = PluginStoreKey>" ] }, "platejs/react:useRootChrome": { "aliases": [], "documentation": "Create props for root-level mouse interaction outside editable content.\n\nEach mounted `Editable` of the root is a copy of it. A press acts on the copy\nthat the chrome surrounds, even while another copy of that root was used\nlast. A press on a control or widget inside the chrome, such as a button,\nacts on no copy. When one chrome holds several copies, a press outside them\nacts on the copy used last, or else the first. Chrome of the primary\ndocument inside another chrome of it acts as part of the outer one. A press\nthat an `Editable` of another root around the chrome handles first never\nreaches the chrome.", "entrypoint": "platejs/react", "kind": "function", "name": "useRootChrome", "runtime": true, "signature": "declare function useRootChrome(root?: NamedRootKey, { disabled, selection }?: UseRootChromeOptions): RootChromeController;", "source": null, "typeParameters": [ "const TRoot extends RootKey = RootKey" ] }, "platejs/react:UseRootChromeOptions": { "aliases": [], "documentation": "Options for mouse interaction on root-level chrome outside editable text.", "entrypoint": "platejs/react", "kind": "type", "name": "UseRootChromeOptions", "runtime": false, "signature": "type UseRootChromeOptions = {\n disabled?: boolean;\n selection?: 'end' | 'restore';\n};", "source": null, "typeParameters": [] }, "platejs/react:useRootEditor": { "aliases": [], "documentation": "Create a command-capable editor for one root.\n\nThe returned object is stable for the requested root and read-only option.\nIt obeys the read-only state and the authored view of the mounted view that\nshows its root, and of the view around the hook while none shows it. Inside\na view, that mounted view is the one this view mounts for the root, such as\nits own board when two editing areas show the same board. Use it for\nroot-specific toolbar/sidebar commands. Pass `readOnly: true` when UI only\nneeds read APIs. Exact plugin capability comes from `editor.plugin(Plugin)`.", "entrypoint": "platejs/react", "kind": "function", "name": "useRootEditor", "runtime": true, "signature": "declare function useRootEditor(root?: NamedRootKey, options?: UseRootEditorOptions): Editor$1;", "source": null, "typeParameters": [ "const TRoot extends RootKey = RootKey" ] }, "platejs/react:UseRootEditorOptions": { "aliases": [], "documentation": "Options for creating a root-specific command editor.", "entrypoint": "platejs/react", "kind": "type", "name": "UseRootEditorOptions", "runtime": false, "signature": "type UseRootEditorOptions = {\n readOnly?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs/react:useRootState": { "aliases": [], "documentation": "Subscribe to a selected value from one root.\n\nRoot-scoped selectors skip commits that cannot affect the requested root.\nUse this for chrome tied to a known root, such as headers, sidebars, and\nnested content roots. Use `useRuntimeState` only when the selected value\ngenuinely spans roots. The selector state holds the core editor groups; read\na plugin's state through `editor.plugin(Plugin)`.", "entrypoint": "platejs/react", "kind": "function", "name": "useRootState", "runtime": true, "signature": "declare function useRootState(root: NamedRootKey | undefined, selector: (state: ReactEditorState) => T, { deferred, equalityFn, shouldUpdate }?: RuntimeStateSelectorOptions): T;", "source": null, "typeParameters": [ "T", "const TRoot extends RootKey = RootKey" ] }, "platejs/react:useRuntimeState": { "aliases": [], "documentation": "Subscribe to a selected value from the root runtime editor state.\n\nUse this for toolbar, sidebar, and shell UI that reads the whole editor\nruntime. Use `useRootState` for root-scoped UI in multi-root editors.\nInline selectors observe current render values. Use `shouldUpdate` when a\ncommit can be skipped before the selector runs. The selector state holds the\ncore editor groups; read a plugin's state through `editor.plugin(Plugin)`.", "entrypoint": "platejs/react", "kind": "function", "name": "useRuntimeState", "runtime": true, "signature": "declare function useRuntimeState(selector: (state: ReactEditorState) => T, { deferred, equalityFn, shouldUpdate }?: RuntimeStateSelectorOptions): T;", "source": null, "typeParameters": [ "T" ] }, "platejs/react:useSelectionFragmentProp": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "const", "name": "useSelectionFragmentProp", "runtime": true, "signature": "useSelectionFragmentProp: (options?: GetFragmentPropOptions) => unknown", "source": null, "typeParameters": [] }, "platejs/react:useSelectionGeometry": { "aliases": [], "documentation": "Read geometry for the current selection in one exact Editable.", "entrypoint": "platejs/react", "kind": "function", "name": "useSelectionGeometry", "runtime": true, "signature": "declare function useSelectionGeometry({ editableRef }: UseSelectionGeometryOptions): RangeGeometry | null;", "source": null, "typeParameters": [] }, "platejs/react:UseSelectionGeometryOptions": { "aliases": [], "documentation": "Identifies the exact mounted Editable used to resolve selection geometry.", "entrypoint": "platejs/react", "kind": "type", "name": "UseSelectionGeometryOptions", "runtime": false, "signature": "type UseSelectionGeometryOptions = Readonly<{\n editableRef: RefObject;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:useSetStateField": { "aliases": [], "documentation": "Create a setter for one `defineStateField` value.\n\nThe setter writes through `editor.update` and preserves DOM selection by\ndefault so external controls can update state without stealing focus. Pass\nan update policy when history or tags need additional control.", "entrypoint": "platejs/react", "kind": "function", "name": "useSetStateField", "runtime": true, "signature": "declare function useSetStateField(field: EditorStateField): StateFieldSetter;", "source": null, "typeParameters": [ "TValue" ] }, "platejs/react:useStateFieldValue": { "aliases": [], "documentation": "Subscribe to one `defineStateField` value.\n\nThe hook only re-renders when the field key appears in the committed dirty\nstate keys. Use it for document meta controls such as title, page settings,\nor feature state that should not subscribe to every editor change.", "entrypoint": "platejs/react", "kind": "function", "name": "useStateFieldValue", "runtime": true, "signature": "declare function useStateFieldValue(field: EditorStateField, options?: UseStateFieldValueOptions): TValue;", "source": null, "typeParameters": [ "TValue" ] }, "platejs/react:UseStateFieldValueOptions": { "aliases": [], "documentation": "Selector options for subscribing to one editor state field.", "entrypoint": "platejs/react", "kind": "type", "name": "UseStateFieldValueOptions", "runtime": false, "signature": "type UseStateFieldValueOptions = Pick, 'deferred' | 'equalityFn'>;", "source": null, "typeParameters": [ "TValue" ] }, "platejs/react:UseViewElementAttributes": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "UseViewElementAttributes", "runtime": false, "signature": "type UseViewElementAttributes = (context: PluginContext & {\n view: Editor$1;\n}) => readonly ViewElementAttributeEntry[];", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:useViewStore": { "aliases": [], "documentation": "Select from a plugin's view store for the nearest editor's view. A write in\nanother view runs no selector here.", "entrypoint": "platejs/react", "kind": "const", "name": "useViewStore", "runtime": true, "signature": "useViewStore:

                  (plugin: P, selector: (state: InferPluginViewState>) => U) => U", "source": null, "typeParameters": [] }, "platejs/react:Value": { "aliases": [], "documentation": "The `Editor` interface exposes the runtime API of an editor. Document\nstate is read through editor methods and mutated through `editor.update`.", "entrypoint": "platejs/react", "kind": "type", "name": "Value", "runtime": false, "signature": "type Value = readonly Element[];", "source": null, "typeParameters": [] }, "platejs/react:ValueChangeContext": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ValueChangeContext", "runtime": false, "signature": "type ValueChangeContext = CommitContext & {\n value: EditorDocumentValue;\n};", "source": null, "typeParameters": [ "E = Editor" ] }, "platejs/react:valueCodecs": { "aliases": [], "documentation": "Strict codecs for primitive JSON state values.", "entrypoint": "platejs/react", "kind": "const", "name": "valueCodecs", "runtime": true, "signature": "valueCodecs: Readonly<{\n boolean: Readonly<{\n decode(value: unknown): value is true;\n encode: (value: boolean) => boolean;\n }>;\n number: Readonly<{\n decode(value: unknown): number;\n encode: (value: number) => number;\n }>;\n string: Readonly<{\n decode(value: unknown): string;\n encode: (value: string) => string;\n }>;\n}>", "source": null, "typeParameters": [] }, "platejs/react:ValueOf": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ValueOf", "runtime": false, "signature": "type ValueOf = E extends EditorValueTypeProvider ? ReturnType extends (infer TProvidedValue) ? IsAny extends true ? Value : TProvidedValue extends Value ? TProvidedValue : Value : Value : E extends BaseEditor ? IsAny extends true ? Value : V extends Value ? V : Value : Value;", "source": null, "typeParameters": [ "E" ] }, "platejs/react:ViewElementAttributeEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ViewElementAttributeEntry", "runtime": false, "signature": "type ViewElementAttributeEntry = Readonly<{\n attributes: ViewElementAttributes;\n key: NodeKey;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ViewElementAttributes": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ViewElementAttributes", "runtime": false, "signature": "type ViewElementAttributes = Readonly<{\n className?: string;\n placeholder?: string;\n style?: Readonly;\n} & {\n [name: `aria-${string}`]: ViewElementAttributePrimitive;\n [name: `data-${string}`]: ViewElementAttributePrimitive;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ViewportRect": { "aliases": [], "documentation": "An immutable rectangle in viewport coordinates.", "entrypoint": "platejs/react", "kind": "type", "name": "ViewportRect", "runtime": false, "signature": "type ViewportRect = Readonly<{\n bottom: number;\n height: number;\n left: number;\n right: number;\n top: number;\n width: number;\n x: number;\n y: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ViewSourceError": { "aliases": [], "documentation": "Diagnostic emitted when an optional view source is deactivated.", "entrypoint": "platejs/react", "kind": "type", "name": "ViewSourceError", "runtime": false, "signature": "type ViewSourceError = Readonly<{\n cause: unknown;\n phase: ViewSourcePhase;\n sourceId: string;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ViewSourceErrorSink": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ViewSourceErrorSink", "runtime": false, "signature": "type ViewSourceErrorSink = (error: ViewSourceError) => void;", "source": null, "typeParameters": [] }, "platejs/react:ViewSourceOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ViewSourceOptions", "runtime": false, "signature": "type ViewSourceOptions = Readonly<{\n id: string;\n onError?: ViewSourceErrorSink;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:ViewSourcePhase": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "ViewSourcePhase", "runtime": false, "signature": "type ViewSourcePhase = 'project' | 'read' | 'resolve';", "source": null, "typeParameters": [] }, "platejs/react:ViewSourceStatus": { "aliases": [], "documentation": "Current isolation state for an optional view source.", "entrypoint": "platejs/react", "kind": "type", "name": "ViewSourceStatus", "runtime": false, "signature": "type ViewSourceStatus = Readonly<{\n active: boolean;\n failureCount: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/react:WithAnyName": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "WithAnyName", "runtime": false, "signature": "type WithAnyName = IsAny$2 extends true ? C : string extends C['name'] ? C : Omit & {\n name: string;\n};", "source": null, "typeParameters": [ "C extends AnyBasePluginDefinition = BasePluginDefinition" ] }, "platejs/react:WithRequiredName": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "WithRequiredName", "runtime": false, "signature": "type WithRequiredName

                  = (P extends {\n name: string;\n} ? P : never) | {\n name: string;\n};", "source": null, "typeParameters": [ "P = {}" ] }, "platejs/react:WrapContentProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "WrapContentProps", "runtime": false, "signature": "type WrapContentProps = {\n children: React$1.ReactNode;\n};", "source": null, "typeParameters": [] }, "platejs/react:WrapLinkOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "interface", "name": "WrapLinkOptions", "runtime": false, "signature": "interface WrapLinkOptions {\n url: string;\n at?: Location;\n mode?: MaximizeMode;\n split?: boolean;\n target?: string;\n voids?: boolean;\n}", "source": null, "typeParameters": [] }, "platejs/react:WrapRootProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react", "kind": "type", "name": "WrapRootProps", "runtime": false, "signature": "type WrapRootProps = EditableSiblingProps & WrapContentProps;", "source": null, "typeParameters": [] }, "platejs/react/virtualized:VirtualizedEditorContent": { "aliases": [], "documentation": "Render Plate content with explicit top-level viewport virtualization.", "entrypoint": "platejs/react/virtualized", "kind": "const", "name": "VirtualizedEditorContent", "runtime": true, "signature": "VirtualizedEditorContent: ({ estimatedBlockSize, overscan, ...props }: VirtualizedEditorContentProps) => React.JSX.Element", "source": null, "typeParameters": [] }, "platejs/react/virtualized:VirtualizedEditorContentProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/react/virtualized", "kind": "type", "name": "VirtualizedEditorContentProps", "runtime": false, "signature": "type VirtualizedEditorContentProps = EditorContentProps & Pick, 'estimatedBlockSize' | 'overscan'>;", "source": null, "typeParameters": [ "TElement extends Element = Element", "TRoot extends RootKey = RootKey" ] }, "platejs/resizable/react:Resizable": { "aliases": [], "documentation": "", "entrypoint": "platejs/resizable/react", "kind": "function", "name": "Resizable", "runtime": true, "signature": "declare function Resizable({ align, children, maxWidth, minWidth, onResizeEnd, ref, style, width: nodeWidth, ...props }: ResizableProps): React$1.JSX.Element;", "source": null, "typeParameters": [] }, "platejs/resizable/react:ResizableProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/resizable/react", "kind": "type", "name": "ResizableProps", "runtime": false, "signature": "type ResizableProps = Omit, 'onResize'> & {\n /** A `center` node grows on both sides as it resizes; any other alignment grows on one side. */\n align?: 'center' | 'end' | 'left' | 'right' | 'start';\n maxWidth?: ResizeLength;\n minWidth?: ResizeLength;\n onResizeEnd?: (width: ResizeLength) => void;\n width?: ResizeLength;\n};", "source": null, "typeParameters": [] }, "platejs/resizable/react:ResizeDirection": { "aliases": [], "documentation": "", "entrypoint": "platejs/resizable/react", "kind": "type", "name": "ResizeDirection", "runtime": false, "signature": "type ResizeDirection = 'bottom' | 'left' | 'right' | 'top';", "source": null, "typeParameters": [] }, "platejs/resizable/react:ResizeEvent": { "aliases": [], "documentation": "", "entrypoint": "platejs/resizable/react", "kind": "type", "name": "ResizeEvent", "runtime": false, "signature": "type ResizeEvent = {\n delta: number;\n direction: ResizeDirection;\n finished: boolean;\n initialSize: number;\n};", "source": null, "typeParameters": [] }, "platejs/resizable/react:ResizeHandle": { "aliases": [], "documentation": "", "entrypoint": "platejs/resizable/react", "kind": "function", "name": "ResizeHandle", "runtime": true, "signature": "declare function ResizeHandle({ direction, initialSize: initialSizeProp, onHover, onHoverEnd, onKeyDown, onPointerDown, onPointerLeave, onPointerEnter, onResize: onResizeProp, style, ...props }: ResizeHandleProps): React$1.JSX.Element | null;", "source": null, "typeParameters": [] }, "platejs/resizable/react:ResizeHandleProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/resizable/react", "kind": "type", "name": "ResizeHandleProps", "runtime": false, "signature": "type ResizeHandleProps = Omit, 'onResize'> & {\n direction?: ResizeDirection;\n initialSize?: number;\n onHover?: () => void;\n onHoverEnd?: () => void;\n onResize?: (event: ResizeEvent) => void;\n};", "source": null, "typeParameters": [] }, "platejs/resizable/react:ResizeLength": { "aliases": [], "documentation": "", "entrypoint": "platejs/resizable/react", "kind": "type", "name": "ResizeLength", "runtime": false, "signature": "type ResizeLength = number | string;", "source": null, "typeParameters": [] }, "platejs/static:EditorElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/static", "kind": "const", "name": "EditorElement", "runtime": true, "signature": "EditorElement: {\n (props: Omit, 'attributes'> & Pick, 'ref'> & {\n attributes: React.PropsWithoutRef & UnknownObject;\n as?: T;\n className?: string;\n path: Path;\n style?: React.CSSProperties;\n }): React.ReactElement;\n (props: Omit & Pick, 'ref'> & {\n attributes: React.PropsWithoutRef & UnknownObject;\n as?: T;\n className?: string;\n path: Path;\n style?: React.CSSProperties;\n }): React.ReactElement;\n}", "source": null, "typeParameters": [] }, "platejs/static:EditorElementProps": { "aliases": [], "documentation": "Props for the static element component owned by a plugin descriptor.", "entrypoint": "platejs/static", "kind": "type", "name": "EditorElementProps", "runtime": false, "signature": "type EditorElementProps = TPlugin extends NodePropsDescriptor ? ElementRenderProps, ElementPropsConfig> : never;", "source": null, "typeParameters": [ "TPlugin extends NodePropsDescriptor" ] }, "platejs/static:EditorLeaf": { "aliases": [], "documentation": "", "entrypoint": "platejs/static", "kind": "const", "name": "EditorLeaf", "runtime": true, "signature": "EditorLeaf: ({ className, ...props }: (EditorNodeProps & StaticRenderLeafProps & {\n attributes: UnknownObject;\n inset?: boolean;\n}) & EditorHTMLProps) => React.ReactElement", "source": null, "typeParameters": [] }, "platejs/static:EditorLeafProps": { "aliases": [], "documentation": "Props for the static leaf component owned by a plugin descriptor.", "entrypoint": "platejs/static", "kind": "type", "name": "EditorLeafProps", "runtime": false, "signature": "type EditorLeafProps = TPlugin extends NodePropsDescriptor ? LeafRenderProps, TextPropsConfig> : never;", "source": null, "typeParameters": [ "TPlugin extends NodePropsDescriptor" ] }, "platejs/static:EditorStatic": { "aliases": [], "documentation": "", "entrypoint": "platejs/static", "kind": "function", "name": "EditorStatic", "runtime": true, "signature": "declare function EditorStatic(props: EditorStaticProps): React.JSX.Element;", "source": null, "typeParameters": [ "E = Editor" ] }, "platejs/static:EditorStaticProps": { "aliases": [], "documentation": "", "entrypoint": "platejs/static", "kind": "type", "name": "EditorStaticProps", "runtime": false, "signature": "type EditorStaticProps = {\n /**\n * A document to render instead of the editor's own, such as a streamed\n * preview. The editor supplies the plugins and is not edited. Pass the same\n * object again to reuse its validated view. Reads, plugin reads and plugin\n * APIs on the rendered editor see the document; an editor captured when a\n * plugin was created still holds its own value.\n */\n document?: EditorDocumentValue;\n /** Editor instance. */\n editor: E;\n style?: React.CSSProperties;\n} & React.HTMLAttributes;", "source": null, "typeParameters": [ "E = Editor" ] }, "platejs/static:EditorText": { "aliases": [], "documentation": "", "entrypoint": "platejs/static", "kind": "const", "name": "EditorText", "runtime": true, "signature": "EditorText: (props: (EditorNodeProps & RenderTextProps & {\n attributes: UnknownObject;\n}) & EditorHTMLProps) => React.ReactElement", "source": null, "typeParameters": [] }, "platejs/static:EditorTextProps": { "aliases": [], "documentation": "Props for the static text component owned by a plugin descriptor.", "entrypoint": "platejs/static", "kind": "type", "name": "EditorTextProps", "runtime": false, "signature": "type EditorTextProps = TPlugin extends NodePropsDescriptor ? EditorNodeProps> & RenderTextProps> & {\n attributes: UnknownObject;\n} : never;", "source": null, "typeParameters": [ "TPlugin extends NodePropsDescriptor" ] }, "platejs/static:renderStaticHtml": { "aliases": [], "documentation": "Render one captured document through the editor's components, or through\n`presentation` when given.", "entrypoint": "platejs/static", "kind": "const", "name": "renderStaticHtml", "runtime": true, "signature": "renderStaticHtml: (editor: Editor, options?: RenderStaticHtmlOptions) => Promise", "source": null, "typeParameters": [] }, "platejs/static:RenderStaticHtmlOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/static", "kind": "type", "name": "RenderStaticHtmlOptions", "runtime": false, "signature": "type RenderStaticHtmlOptions = {\n /** Component used to render the captured document. */\n component?: React.ComponentType;\n /** Complete document to render. Defaults to the editor's current document. */\n document?: EditorDocumentValue;\n /**\n * Static plugins that draw the render, such as the app's static kit. Each\n * element component, mark component and `wrapNode`, `wrapNodeChildren` or\n * `afterNodeChildren` function an installed plugin declares is drawn by the\n * plugin of the same name here, unless the installed plugin's `editOnly`\n * leaves it out. The editor keeps the document and every other plugin\n * setting. A drawing this list lacks is left out, so the content renders\n * plainly, and adds a `missing-static-presentation` diagnostic; an installed\n * tag name, such as `component: 'p'`, stays instead. `afterNodeChildren`\n * draws from this list on an element no installed plugin renders too, and an\n * installed `afterNodeChildren` component, `React.memo` included, with no\n * function here is reported missing. A drawing reads plugin state through its\n * `editor` prop. This list compiles without activating its plugins, so a\n * drawing created in a `configure((ctx) => ...)` callback is unsupported:\n * calling a context getter, or a kept `store`, `read` or `update`, while\n * drawing throws; a plain value the callback copied out, such as a\n * destructured `plugin` or `name`, keeps this list's own configuration; and\n * `ctx.editor` reads return an empty document or throw. Pass a stable array:\n * each new array is compiled again.\n */\n presentation?: readonly BasePluginInput[];\n /**\n * Version of an authored document to export. `accepted` drops pending changes\n * and `proposed` applies them as plain content. Either choice adds an\n * `authored-lossy-projection` warning while changes are pending. Required\n * when the document has authored metadata, which every document from an\n * editor with the authored plugin carries, even with no pending change.\n * Omitting it or passing any other value then throws, and so does a valid\n * value when the editor lacks the authored plugin. A document without\n * authored metadata ignores it.\n */\n projection?: 'accepted' | 'proposed';\n /**\n * Appearance props passed to the static editor component, such as `style`.\n * Pass the editor as the first argument and another document as `document`.\n */\n props?: Partial> & {\n document?: never;\n editor?: never;\n };\n};", "source": null, "typeParameters": [ "T extends EditorStaticProps = EditorStaticProps" ] }, "platejs/static:StaticHtmlDiagnostic": { "aliases": [], "documentation": "", "entrypoint": "platejs/static", "kind": "type", "name": "StaticHtmlDiagnostic", "runtime": false, "signature": "type StaticHtmlDiagnostic = AuthoredProjectionDiagnostic | Readonly<{\n code: 'missing-static-presentation';\n message: string;\n /**\n * Name of the plugin whose element, mark or slot drawing the\n * presentation lacked.\n */\n plugin: string;\n severity: 'warning';\n}>;", "source": null, "typeParameters": [] }, "platejs/static:StaticHtmlResult": { "aliases": [], "documentation": "", "entrypoint": "platejs/static", "kind": "type", "name": "StaticHtmlResult", "runtime": false, "signature": "type StaticHtmlResult = Readonly<{\n data: string;\n diagnostics: readonly StaticHtmlDiagnostic[];\n}>;", "source": null, "typeParameters": [] }, "platejs/suggestion:BaseSuggestionPlugin": { "aliases": [], "documentation": "Paints each node's pending authored changes as `data-editor-authored-*` attributes.", "entrypoint": "platejs/suggestion", "kind": "const", "name": "BaseSuggestionPlugin", "runtime": true, "signature": "BaseSuggestionPlugin: BasePlugin & Readonly<{\n name: \"suggestion\";\n}> & Readonly<{\n dependencies: readonly [PluginReference<\"authored\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly void;\n subscribeChanges: (listener: (delta: AuthoredChangesDelta) => void) => () => void;\n subscribeRefusals: (listener: (refusal: AuthoredRefusal) => void) => () => void;\n }>> & Readonly AuthoredView;\n change: (id: string) => AuthoredChange | null;\n changes: (query?: AuthoredQuery) => AuthoredPage;\n details: (id: string) => AuthoredChangeDetails | null;\n groups: (query: Readonly<{\n at: Location | NodeKey;\n }>) => readonly AuthoredChangeGroup[];\n groupOf: (changeId: string) => AuthoredChangeGroup | null;\n outcome: (id: string) => AuthoredOutcome | null;\n reviewOf: (node: unknown) => AuthoredReview;\n }>> & Readonly AuthoredResult>;\n withdraw: TxDeclaredMethod<(changes: readonly AuthoredChange[]) => AuthoredResult>;\n propose: TxOnlyMethod<(options?: {\n changeId?: string;\n }) => string>;\n }>> & Readonly<{\n dependencies: readonly [Readonly & Readonly<{\n name: \"authored-records\";\n }>>>, \"enabled\" | \"name\">> & PluginDependency];\n }>> & Pick & Readonly<{\n name: \"authored\";\n }> & Readonly<{\n dependencies: readonly [BasePluginDependencyReferenceFor & Readonly<{\n name: \"authored-records\";\n }>>>];\n }> & Readonly>>, Readonly<{}> & Readonly<{\n name: \"authored\";\n }> & Readonly<{\n dependencies: readonly [BasePluginDependencyReferenceFor & Readonly<{\n name: \"authored-records\";\n }>>>];\n }> & Readonly>, AuthoredPlugin>, \"~schema.plugins\">];\n}> & Readonly>>", "source": null, "typeParameters": [] }, "platejs/suggestion:SUGGESTION_COLOR_COUNT": { "aliases": [], "documentation": "How many palette slots the copied suggestion kit paints.", "entrypoint": "platejs/suggestion", "kind": "const", "name": "SUGGESTION_COLOR_COUNT", "runtime": true, "signature": "SUGGESTION_COLOR_COUNT = 7", "source": null, "typeParameters": [] }, "platejs/suggestion:suggestionColorOf": { "aliases": [], "documentation": "The palette slot of a review card: a hash of its id, so every peer and\nevery reload paints one card alike. Two cards share a slot once in `count`.", "entrypoint": "platejs/suggestion", "kind": "const", "name": "suggestionColorOf", "runtime": true, "signature": "suggestionColorOf: (cardId: string, count?: number) => number", "source": null, "typeParameters": [] }, "platejs/suggestion/react:SuggestionPlugin": { "aliases": [], "documentation": "React interaction for the exact mounted suggestion view.", "entrypoint": "platejs/suggestion/react", "kind": "const", "name": "SuggestionPlugin", "runtime": true, "signature": "SuggestionPlugin: InternalReactPluginAdapterResult", "source": null, "typeParameters": [] }, "platejs/suggestion/react:useActiveSuggestion": { "aliases": [], "documentation": "Read the active suggestion owned by the exact mounted editor view.", "entrypoint": "platejs/suggestion/react", "kind": "const", "name": "useActiveSuggestion", "runtime": true, "signature": "useActiveSuggestion: () => {\n activeId: string | null;\n setActiveId: (id: string | null) => void;\n}", "source": null, "typeParameters": [] }, "platejs/suggestion/react:useSuggestionChanges": { "aliases": [], "documentation": "Read the pending authored changes of the node at a path of the mounted view.\nA commit that changes the document or its state rereads them, and so does a\nreview delta that names the path's top-level block, which covers a change a\npreview hides.", "entrypoint": "platejs/suggestion/react", "kind": "const", "name": "useSuggestionChanges", "runtime": true, "signature": "useSuggestionChanges: (path: Path) => Readonly<{\n authorId: string;\n createdAt: number;\n id: string;\n kind: AuthoredChangeKind;\n ranges: readonly Range[];\n revision: number;\n}>[]", "source": null, "typeParameters": [] }, "platejs/suggestion/react:useSuggestionGroups": { "aliases": [], "documentation": "Read the review cards of the block with this key. A review delta that names\nthe block rereads them. A delta names top-level blocks only, so a nested\nblock's cards reread only when the component that calls this hook renders.", "entrypoint": "platejs/suggestion/react", "kind": "const", "name": "useSuggestionGroups", "runtime": true, "signature": "useSuggestionGroups: (blockKey: NodeKey) => readonly Readonly<{\n authorId: string;\n changeCount: number;\n createdAt: number;\n id: string;\n revision: number;\n}>[]", "source": null, "typeParameters": [] }, "platejs/tabbable:TabbableEntry": { "aliases": [], "documentation": "", "entrypoint": "platejs/tabbable", "kind": "type", "name": "TabbableEntry", "runtime": false, "signature": "type TabbableEntry = {\n domNode: FocusableElement;\n path: Path;\n slateNode: Node;\n};", "source": null, "typeParameters": [] }, "platejs/tabbable:TabbableEventContext": { "aliases": [], "documentation": "The Tab keydown and the editor of the view Tabbable runs in.", "entrypoint": "platejs/tabbable", "kind": "type", "name": "TabbableEventContext", "runtime": false, "signature": "type TabbableEventContext = Readonly<{\n editor: Editor;\n event: KeyboardEvent;\n}>;", "source": null, "typeParameters": [] }, "platejs/tabbable:TabbablePluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/tabbable", "kind": "type", "name": "TabbablePluginState", "runtime": false, "signature": "type TabbablePluginState = {\n /**\n * When true, the plugin will add its event listener to the document instead\n * of the editor, allowing it to capture events from outside the editor.\n *\n * @default false\n */\n globalEventListener: boolean;\n /**\n * Add additional tabbables to the list of tabbables. Useful for adding\n * tabbables that are not contained within the editor. Ignores `isTabbable`.\n *\n * @default () => []\n */\n insertTabbableEntries: (context: TabbableEventContext) => TabbableEntry[];\n /**\n * Determine whether an element should be included in the tabbable list.\n *\n * @default ({ editor, entry }) => editor.read.schema.isVoid(entry.slateNode)\n */\n isTabbable: (context: TabbableEventContext & {\n entry: TabbableEntry;\n }) => boolean;\n /**\n * Decide whether Tabbable handles a Tab. A Tab pressed on a stop Tabbable\n * admits, which is an inserted entry or an in-editor tabbable that\n * `isTabbable` accepts, skips `query` and always follows the tab order.\n *\n * @default () => true\n */\n query: (context: TabbableEventContext) => boolean;\n};", "source": null, "typeParameters": [] }, "platejs/tabbable/react:TabbableDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/tabbable/react", "kind": "type", "name": "TabbableDefinition", "runtime": false, "signature": "type TabbableDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/tabbable/react:TabbablePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/tabbable/react", "kind": "const", "name": "TabbablePlugin", "runtime": true, "signature": "TabbablePlugin: Plugin TabbableEntry[];\n readonly isTabbable: (context: TabbableEventContext & {\n entry: TabbableEntry;\n }) => boolean;\n readonly query: (context: TabbableEventContext) => boolean;\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/table:BaseTableCellPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "const", "name": "BaseTableCellPlugin", "runtime": true, "signature": "BaseTableCellPlugin: BasePlugin & Readonly<{\n name: \"tableCell\";\n}> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/table:BaseTablePlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "const", "name": "BaseTablePlugin", "runtime": true, "signature": "BaseTablePlugin: BasePlugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveFiniteNumber;\n readonly validationVersion: 1;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"tableRow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n default: Readonly<{\n type: \"tableCell\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }> | undefined;\n }>>;\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveFiniteNumber;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"row\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"tableCell\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>>];\n }>> & Pick & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>> & Pick & Readonly<{\n name: \"tableCell\";\n }> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveFiniteNumber;\n readonly validationVersion: 1;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"tableRow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n default: Readonly<{\n type: \"tableCell\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }> | undefined;\n }>>;\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveFiniteNumber;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"row\";\n };\n };\n };\n readonly name: \"tableRow\";\n readonly contributions: true;\n readonly formats: true;\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor<(number | null)[], {\n readonly validate: typeof isTableColumnSizes;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: (number | null)[] | undefined;\n generate?: (() => (number | null)[]) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is (number | null)[];\n validationVersion: number;\n }>>;\n key: \"columnWidths\";\n localId: \"columnWidths\";\n ownerName: \"table\";\n placement: \"element\";\n unaliased: true;\n value: (number | null)[];\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor>;\n key: \"marginLeft\";\n localId: \"marginLeft\";\n ownerName: \"table\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"tableRow\";\n type: \"tableRow\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 1;\n } & Readonly<{\n default: Readonly<{\n type: \"tableRow\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableRow\";\n type: \"tableRow\";\n }> | undefined;\n }>>;\n readonly properties: {\n columnWidths: PropertyJsonDescriptor<(number | null)[], {\n readonly validate: typeof isTableColumnSizes;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: (number | null)[] | undefined;\n generate?: (() => (number | null)[]) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is (number | null)[];\n validationVersion: number;\n }>>;\n marginLeft: PropertyNumberDescriptor>;\n };\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"grid\";\n };\n };\n };\n readonly name: \"table\";\n readonly api: {\n readonly columnWidths: (table: TableElement) => readonly number[];\n /**\n * Captures table sizes and returns a pure delta-to-preview calculation.\n * Interior boundaries preserve the adjacent columns' combined width.\n * The left boundary exchanges first-column width for table indentation.\n * Commit the result with `update.resize`; previews never change the editor.\n */\n readonly createResize: (table: TableElement, target: TableResizeTarget) => (delta: number) => TableResize;\n };\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly dataTransferFormats: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowCellSpanEditing: boolean;\n readonly defaultTableWidth: number | null;\n readonly expandOnPaste: boolean;\n readonly minColumnWidth: number;\n };\n readonly read: {\n readonly borders: (options?: TableTargetOptions) => TableBorderStates | null;\n readonly cell: (options?: {\n at?: TableCellTarget;\n }) => Readonly<{\n borders: TableResolvedCellBorders;\n col: number;\n colSpan: number;\n entry: ElementEntry;\n root?: NamedRootKey;\n row: number;\n rowSpan: number;\n size: Readonly<{\n minHeight: number;\n width: number;\n }>;\n }> | null;\n readonly canMerge: (options?: TableTargetOptions) => boolean;\n readonly canSplit: (options?: TableTargetOptions) => boolean;\n readonly selection: (options?: TableTargetOptions) => Readonly<{\n anchor: NodeKey;\n bounds: TableSelectionBounds;\n cells: ReadonlyArray>;\n focus: NodeKey;\n rectangular: boolean;\n root?: NamedRootKey;\n table: ElementEntry;\n tableKey: NodeKey;\n }> | null;\n };\n readonly readMiddleware: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: TableCreateOptions, placement?: BlockInsertOptions) => boolean>;\n readonly insertColumn: TxDeclaredMethod<(options?: TableAxisInsertOptions) => boolean>;\n readonly insertRow: TxDeclaredMethod<(options?: TableAxisInsertOptions) => boolean>;\n readonly upsert: TxDeclaredMethod<(input?: TableCreateOptions, options?: BlockUpsertOptions) => boolean>;\n readonly removeColumn: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly removeRow: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly remove: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly merge: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly split: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly setCellBackground: TxDeclaredMethod<({ at, color }: TableTargetOptions & {\n color: string | null;\n }) => boolean>;\n readonly setBorders: TxDeclaredMethod<({ at, border, value }: TableTargetOptions & {\n border: TableBorderTarget;\n value: TableCellBorder | null;\n }) => boolean>;\n readonly toggleBorders: TxDeclaredMethod<({ at, border }: ToggleTableBordersOptions) => boolean>;\n readonly resize: TxDeclaredMethod<({ at, resize }: TableResizeOptions) => boolean>;\n readonly setColumnWidth: TxDeclaredMethod<({ at, colIndex, width }: TableColumnWidthOptions) => boolean>;\n readonly setRowHeight: TxDeclaredMethod<({ at, height, rowIndex }: TableRowHeightOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/table:BaseTableRowPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "const", "name": "BaseTableRowPlugin", "runtime": true, "signature": "BaseTableRowPlugin: BasePlugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>> & Pick & Readonly<{\n name: \"tableCell\";\n }> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveSafeInteger;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveFiniteNumber;\n readonly validationVersion: 1;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"tableRow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n default: Readonly<{\n type: \"tableCell\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }> | undefined;\n }>>;\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly validate: typeof isPositiveFiniteNumber;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"row\";\n };\n };\n };\n readonly name: \"tableRow\";\n readonly contributions: true;\n readonly formats: true;\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/table:BorderDirection": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "BorderDirection", "runtime": false, "signature": "type BorderDirection = 'bottom' | 'left' | 'right' | 'top';", "source": null, "typeParameters": [] }, "platejs/table:TableAxisInsertOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableAxisInsertOptions", "runtime": false, "signature": "type TableAxisInsertOptions = TableTargetOptions & {\n before?: boolean;\n header?: boolean;\n select?: boolean;\n};", "source": null, "typeParameters": [] }, "platejs/table:TableBorderState": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableBorderState", "runtime": false, "signature": "type TableBorderState = boolean | 'mixed';", "source": null, "typeParameters": [] }, "platejs/table:TableBorderStates": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableBorderStates", "runtime": false, "signature": "type TableBorderStates = Readonly>;", "source": null, "typeParameters": [] }, "platejs/table:TableBorderTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableBorderTarget", "runtime": false, "signature": "type TableBorderTarget = BorderDirection | 'all' | 'outer';", "source": null, "typeParameters": [] }, "platejs/table:TableCellBorder": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableCellBorder", "runtime": false, "signature": "type TableCellBorder = Readonly<{\n color?: string;\n style?: string;\n width?: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/table:TableCellBorders": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableCellBorders", "runtime": false, "signature": "type TableCellBorders = Readonly<{\n /** Only the last row cells have a bottom border. */\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n /** Only the last column cells have a right border. */\n right?: TableCellBorder;\n top?: TableCellBorder;\n}>;", "source": null, "typeParameters": [] }, "platejs/table:TableCellElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableCellElement", "runtime": false, "signature": "type TableCellElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/table:TableCellInfo": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableCellInfo", "runtime": false, "signature": "type TableCellInfo = Readonly<{\n borders: TableResolvedCellBorders;\n col: number;\n colSpan: number;\n entry: ElementEntry;\n root?: NamedRootKey;\n row: number;\n rowSpan: number;\n size: Readonly<{\n minHeight: number;\n width: number;\n }>;\n}>;", "source": null, "typeParameters": [] }, "platejs/table:TableCellTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableCellTarget", "runtime": false, "signature": "type TableCellTarget = NodeTarget;", "source": null, "typeParameters": [] }, "platejs/table:TableColumnResize": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableColumnResize", "runtime": false, "signature": "type TableColumnResize = Readonly<{\n colIndex: number;\n width: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/table:TableColumnWidthOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableColumnWidthOptions", "runtime": false, "signature": "type TableColumnWidthOptions = {\n at?: TableNodeTarget;\n colIndex: number;\n width: number;\n};", "source": null, "typeParameters": [] }, "platejs/table:TableCreateOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableCreateOptions", "runtime": false, "signature": "type TableCreateOptions = {\n columns?: number;\n header?: boolean;\n rows?: number;\n};", "source": null, "typeParameters": [] }, "platejs/table:TableDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableDefinition", "runtime": false, "signature": "type TableDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/table:TableElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableElement", "runtime": false, "signature": "type TableElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/table:TableNodeTarget": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableNodeTarget", "runtime": false, "signature": "type TableNodeTarget = NodeTarget;", "source": null, "typeParameters": [] }, "platejs/table:TablePluginState": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TablePluginState", "runtime": false, "signature": "type TablePluginState = {\n /** Allow merge and split edits that change cell spans. */\n allowCellSpanEditing: boolean;\n /** Width used to resolve missing column sizes. */\n defaultTableWidth: number | null;\n /** Allow a structural table paste to add rows and columns. */\n expandOnPaste: boolean;\n /** Minimum column width. */\n minColumnWidth: number;\n};", "source": null, "typeParameters": [] }, "platejs/table:TableResize": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableResize", "runtime": false, "signature": "type TableResize = Readonly<{\n edge: 'bottom';\n height: number;\n rowIndex: number;\n}> | Readonly<{\n columns: readonly [TableColumnResize, ...TableColumnResize[]];\n edge: 'left';\n marginLeft: number;\n}> | Readonly<{\n columns: readonly [TableColumnResize, ...TableColumnResize[]];\n edge: 'right';\n}>;", "source": null, "typeParameters": [] }, "platejs/table:TableResizeOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableResizeOptions", "runtime": false, "signature": "type TableResizeOptions = {\n at?: TableNodeTarget;\n resize: TableResize;\n};", "source": null, "typeParameters": [] }, "platejs/table:TableResizeTarget": { "aliases": [], "documentation": "The boundary being resized; row height is measured by the host surface.", "entrypoint": "platejs/table", "kind": "type", "name": "TableResizeTarget", "runtime": false, "signature": "type TableResizeTarget = {\n edge: 'bottom';\n height: number;\n rowIndex: number;\n} | {\n edge: 'left';\n} | {\n colIndex: number;\n edge: 'right';\n};", "source": null, "typeParameters": [] }, "platejs/table:TableResolvedCellBorder": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableResolvedCellBorder", "runtime": false, "signature": "type TableResolvedCellBorder = Readonly>;", "source": null, "typeParameters": [] }, "platejs/table:TableResolvedCellBorders": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableResolvedCellBorders", "runtime": false, "signature": "type TableResolvedCellBorders = Readonly<{\n bottom: TableResolvedCellBorder;\n left?: TableResolvedCellBorder;\n right: TableResolvedCellBorder;\n top?: TableResolvedCellBorder;\n}>;", "source": null, "typeParameters": [] }, "platejs/table:TableRowElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableRowElement", "runtime": false, "signature": "type TableRowElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/table:TableRowHeightOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableRowHeightOptions", "runtime": false, "signature": "type TableRowHeightOptions = {\n at?: TableNodeTarget;\n height: number;\n rowIndex: number;\n};", "source": null, "typeParameters": [] }, "platejs/table:TableSelection": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableSelection", "runtime": false, "signature": "type TableSelection = Readonly<{\n anchor: NodeKey;\n bounds: TableSelectionBounds;\n cells: ReadonlyArray>;\n focus: NodeKey;\n rectangular: boolean;\n root?: NamedRootKey;\n table: ElementEntry;\n tableKey: NodeKey;\n}>;", "source": null, "typeParameters": [] }, "platejs/table:TableSelectionBounds": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableSelectionBounds", "runtime": false, "signature": "type TableSelectionBounds = Readonly<{\n maxCol: number;\n maxRow: number;\n minCol: number;\n minRow: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/table:TableTargetOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/table", "kind": "type", "name": "TableTargetOptions", "runtime": false, "signature": "type TableTargetOptions = {\n at?: NodeSelection | TableNodeTarget;\n};", "source": null, "typeParameters": [] }, "platejs/table/react:TableCellPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/table/react", "kind": "const", "name": "TableCellPlugin", "runtime": true, "signature": "TableCellPlugin: Plugin & Readonly<{\n name: \"tableCell\";\n}> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/table/react:TablePlugin": { "aliases": [], "documentation": "Enables support for tables with React-specific features.", "entrypoint": "platejs/table/react", "kind": "const", "name": "TablePlugin", "runtime": true, "signature": "TablePlugin: InternalPluginAuthorExtension & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"tableRow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n default: Readonly<{\n type: \"tableCell\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }> | undefined;\n }>>;\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"row\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"tableCell\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>>];\n }>> & Pick & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>> & Pick & Readonly<{\n name: \"tableCell\";\n }> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"tableRow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n default: Readonly<{\n type: \"tableCell\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }> | undefined;\n }>>;\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"row\";\n };\n };\n };\n readonly name: \"tableRow\";\n readonly contributions: true;\n readonly formats: true;\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor<(number | null)[], {\n readonly validate: typeof isTableColumnSizes;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: (number | null)[] | undefined;\n generate?: (() => (number | null)[]) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is (number | null)[];\n validationVersion: number;\n }>>;\n key: \"columnWidths\";\n localId: \"columnWidths\";\n ownerName: \"table\";\n placement: \"element\";\n unaliased: true;\n value: (number | null)[];\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor>;\n key: \"marginLeft\";\n localId: \"marginLeft\";\n ownerName: \"table\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"tableRow\";\n type: \"tableRow\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 1;\n } & Readonly<{\n default: Readonly<{\n type: \"tableRow\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableRow\";\n type: \"tableRow\";\n }> | undefined;\n }>>;\n readonly properties: {\n columnWidths: PropertyJsonDescriptor<(number | null)[], {\n readonly validate: typeof isTableColumnSizes;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: (number | null)[] | undefined;\n generate?: (() => (number | null)[]) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is (number | null)[];\n validationVersion: number;\n }>>;\n marginLeft: PropertyNumberDescriptor>;\n };\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"grid\";\n };\n };\n };\n readonly name: \"table\";\n readonly shortcuts: true;\n readonly on: true;\n readonly api: {\n readonly columnWidths: (table: TableElement) => readonly number[];\n readonly createResize: (table: TableElement, target: TableResizeTarget) => (delta: number) => TableResize;\n };\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly dataTransferFormats: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowCellSpanEditing: boolean;\n readonly defaultTableWidth: number | null;\n readonly expandOnPaste: boolean;\n readonly minColumnWidth: number;\n };\n readonly read: {\n readonly borders: (options?: TableTargetOptions) => TableBorderStates | null;\n readonly cell: (options?: {\n at?: TableCellTarget;\n }) => Readonly<{\n borders: TableResolvedCellBorders;\n col: number;\n colSpan: number;\n entry: ElementEntry;\n root?: NamedRootKey;\n row: number;\n rowSpan: number;\n size: Readonly<{\n minHeight: number;\n width: number;\n }>;\n }> | null;\n readonly canMerge: (options?: TableTargetOptions) => boolean;\n readonly canSplit: (options?: TableTargetOptions) => boolean;\n readonly selection: (options?: TableTargetOptions) => Readonly<{\n anchor: NodeKey;\n bounds: TableSelectionBounds;\n cells: ReadonlyArray>;\n focus: NodeKey;\n rectangular: boolean;\n root?: NamedRootKey;\n table: ElementEntry;\n tableKey: NodeKey;\n }> | null;\n };\n readonly readMiddleware: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: TableCreateOptions, placement?: BlockInsertOptions) => boolean>;\n readonly insertColumn: TxDeclaredMethod<(options?: TableAxisInsertOptions) => boolean>;\n readonly insertRow: TxDeclaredMethod<(options?: TableAxisInsertOptions) => boolean>;\n readonly upsert: TxDeclaredMethod<(input?: TableCreateOptions, options?: BlockUpsertOptions) => boolean>;\n readonly removeColumn: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly removeRow: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly remove: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly merge: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly split: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly setCellBackground: TxDeclaredMethod<({ at, color }: TableTargetOptions & {\n color: string | null;\n }) => boolean>;\n readonly setBorders: TxDeclaredMethod<({ at, border, value }: TableTargetOptions & {\n border: TableBorderTarget;\n value: TableCellBorder | null;\n }) => boolean>;\n readonly toggleBorders: TxDeclaredMethod<({ at, border }: {\n at?: TableTargetOptions['at'];\n border: BorderDirection | 'none' | 'outer';\n }) => boolean>;\n readonly resize: TxDeclaredMethod<({ at, resize }: TableResizeOptions) => boolean>;\n readonly setColumnWidth: TxDeclaredMethod<({ at, colIndex, width }: TableColumnWidthOptions) => boolean>;\n readonly setRowHeight: TxDeclaredMethod<({ at, height, rowIndex }: TableRowHeightOptions) => boolean>;\n };\n}>, \"dependencies\" | \"name\"> & Readonly<{\n name: \"table\";\n}> & Readonly<{\n dependencies: readonly [Plugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>> & Pick & Readonly<{\n name: \"tableCell\";\n }> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"tableRow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n default: Readonly<{\n type: \"tableCell\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }> | undefined;\n }>>;\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"row\";\n };\n };\n };\n readonly name: \"tableRow\";\n readonly conflicts: readonly [];\n readonly enabled: boolean;\n readonly targetPlugins: readonly [];\n readonly corrections?: true | undefined;\n readonly initialViewState?: {} | undefined;\n readonly inputRules?: true | undefined;\n readonly dataTransferFormats?: true | undefined;\n readonly formats: true;\n readonly inject?: true | undefined;\n readonly on?: true | undefined;\n readonly render: true;\n readonly shortcuts?: true | undefined;\n readonly decorate?: true | undefined;\n readonly api: {};\n readonly initialState: {};\n readonly read: {};\n readonly selectors: {};\n readonly update: {};\n }>, \"dependencies\" | \"name\"> & Readonly<{\n name: \"tableRow\";\n }> & Readonly<{\n dependencies: readonly [Plugin & Readonly<{\n name: \"tableCell\";\n }> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n }>>];\n }>>];\n}>>, Omit & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"tableRow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n default: Readonly<{\n type: \"tableCell\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }> | undefined;\n }>>;\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"row\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"tableCell\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>>];\n }>> & Pick & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>> & Pick & Readonly<{\n name: \"tableCell\";\n }> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"tableRow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n default: Readonly<{\n type: \"tableCell\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }> | undefined;\n }>>;\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"row\";\n };\n };\n };\n readonly name: \"tableRow\";\n readonly contributions: true;\n readonly formats: true;\n }>> & Readonly>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyJsonDescriptor<(number | null)[], {\n readonly validate: typeof isTableColumnSizes;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: (number | null)[] | undefined;\n generate?: (() => (number | null)[]) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is (number | null)[];\n validationVersion: number;\n }>>;\n key: \"columnWidths\";\n localId: \"columnWidths\";\n ownerName: \"table\";\n placement: \"element\";\n unaliased: true;\n value: (number | null)[];\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor>;\n key: \"marginLeft\";\n localId: \"marginLeft\";\n ownerName: \"table\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"tableRow\";\n type: \"tableRow\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 1;\n } & Readonly<{\n default: Readonly<{\n type: \"tableRow\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableRow\";\n type: \"tableRow\";\n }> | undefined;\n }>>;\n readonly properties: {\n columnWidths: PropertyJsonDescriptor<(number | null)[], {\n readonly validate: typeof isTableColumnSizes;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: (number | null)[] | undefined;\n generate?: (() => (number | null)[]) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is (number | null)[];\n validationVersion: number;\n }>>;\n marginLeft: PropertyNumberDescriptor>;\n };\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"grid\";\n };\n };\n };\n readonly name: \"table\";\n readonly shortcuts: true;\n readonly on: true;\n readonly api: {\n readonly columnWidths: (table: TableElement) => readonly number[];\n readonly createResize: (table: TableElement, target: TableResizeTarget) => (delta: number) => TableResize;\n };\n readonly commands: true;\n readonly contributions: true;\n readonly corrections: true;\n readonly dataTransferFormats: true;\n readonly formats: true;\n readonly initialState: {\n readonly allowCellSpanEditing: boolean;\n readonly defaultTableWidth: number | null;\n readonly expandOnPaste: boolean;\n readonly minColumnWidth: number;\n };\n readonly read: {\n readonly borders: (options?: TableTargetOptions) => TableBorderStates | null;\n readonly cell: (options?: {\n at?: TableCellTarget;\n }) => Readonly<{\n borders: TableResolvedCellBorders;\n col: number;\n colSpan: number;\n entry: ElementEntry;\n root?: NamedRootKey;\n row: number;\n rowSpan: number;\n size: Readonly<{\n minHeight: number;\n width: number;\n }>;\n }> | null;\n readonly canMerge: (options?: TableTargetOptions) => boolean;\n readonly canSplit: (options?: TableTargetOptions) => boolean;\n readonly selection: (options?: TableTargetOptions) => Readonly<{\n anchor: NodeKey;\n bounds: TableSelectionBounds;\n cells: ReadonlyArray>;\n focus: NodeKey;\n rectangular: boolean;\n root?: NamedRootKey;\n table: ElementEntry;\n tableKey: NodeKey;\n }> | null;\n };\n readonly readMiddleware: true;\n readonly update: {\n readonly insert: TxDeclaredMethod<(input?: TableCreateOptions, placement?: BlockInsertOptions) => boolean>;\n readonly insertColumn: TxDeclaredMethod<(options?: TableAxisInsertOptions) => boolean>;\n readonly insertRow: TxDeclaredMethod<(options?: TableAxisInsertOptions) => boolean>;\n readonly upsert: TxDeclaredMethod<(input?: TableCreateOptions, options?: BlockUpsertOptions) => boolean>;\n readonly removeColumn: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly removeRow: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly remove: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly merge: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly split: TxDeclaredMethod<(options?: TableTargetOptions) => boolean>;\n readonly setCellBackground: TxDeclaredMethod<({ at, color }: TableTargetOptions & {\n color: string | null;\n }) => boolean>;\n readonly setBorders: TxDeclaredMethod<({ at, border, value }: TableTargetOptions & {\n border: TableBorderTarget;\n value: TableCellBorder | null;\n }) => boolean>;\n readonly toggleBorders: TxDeclaredMethod<({ at, border }: {\n at?: TableTargetOptions['at'];\n border: BorderDirection | 'none' | 'outer';\n }) => boolean>;\n readonly resize: TxDeclaredMethod<({ at, resize }: TableResizeOptions) => boolean>;\n readonly setColumnWidth: TxDeclaredMethod<({ at, colIndex, width }: TableColumnWidthOptions) => boolean>;\n readonly setRowHeight: TxDeclaredMethod<({ at, height, rowIndex }: TableRowHeightOptions) => boolean>;\n };\n}>, \"dependencies\" | \"name\"> & Readonly<{\n name: \"table\";\n}> & Readonly<{\n dependencies: readonly [Plugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>> & Pick & Readonly<{\n name: \"tableCell\";\n }> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"tableRow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n default: Readonly<{\n type: \"tableCell\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }> | undefined;\n }>>;\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"row\";\n };\n };\n };\n readonly name: \"tableRow\";\n readonly conflicts: readonly [];\n readonly enabled: boolean;\n readonly targetPlugins: readonly [];\n readonly corrections?: true | undefined;\n readonly initialViewState?: {} | undefined;\n readonly inputRules?: true | undefined;\n readonly dataTransferFormats?: true | undefined;\n readonly formats: true;\n readonly inject?: true | undefined;\n readonly on?: true | undefined;\n readonly render: true;\n readonly shortcuts?: true | undefined;\n readonly decorate?: true | undefined;\n readonly api: {};\n readonly initialState: {};\n readonly read: {};\n readonly selectors: {};\n readonly update: {};\n }>, \"dependencies\" | \"name\"> & Readonly<{\n name: \"tableRow\";\n }> & Readonly<{\n dependencies: readonly [Plugin & Readonly<{\n name: \"tableCell\";\n }> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n }>>];\n }>>];\n}>, \"inject\" | \"slots\" | \"targetPlugins\", {}, {}, {}, {}, {}, readonly [], boolean, readonly [Plugin & Readonly<{\n name: \"tableCell\";\n}> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n}> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n}>>]>", "source": null, "typeParameters": [] }, "platejs/table/react:TableResizeHandle": { "aliases": [], "documentation": "", "entrypoint": "platejs/table/react", "kind": "type", "name": "TableResizeHandle", "runtime": false, "signature": "type TableResizeHandle = {\n edge: 'bottom';\n rowIndex: number;\n} | Exclude;", "source": null, "typeParameters": [] }, "platejs/table/react:TableRowPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/table/react", "kind": "const", "name": "TableRowPlugin", "runtime": true, "signature": "TableRowPlugin: Plugin & PluginDependency & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n }> & Readonly;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n }>> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>>];\n }>> & Pick & Readonly<{\n name: \"tableCell\";\n }> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n }>>, \"~schema.plugins\">];\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"height\";\n localId: \"height\";\n ownerName: \"tableRow\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n readonly schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & {\n readonly min: 0;\n } & Readonly<{\n default: Readonly<{\n type: \"tableCell\";\n }>;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'type';\n source: \"tableCell\";\n type: \"tableCell\";\n }> | undefined;\n }>>;\n readonly properties: {\n height: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly kind: \"grid\";\n readonly role: \"row\";\n };\n };\n };\n readonly name: \"tableRow\";\n readonly conflicts: readonly [];\n readonly enabled: boolean;\n readonly targetPlugins: readonly [];\n readonly corrections?: true | undefined;\n readonly initialViewState?: {} | undefined;\n readonly inputRules?: true | undefined;\n readonly dataTransferFormats?: true | undefined;\n readonly formats: true;\n readonly inject?: true | undefined;\n readonly on?: true | undefined;\n readonly render: true;\n readonly shortcuts?: true | undefined;\n readonly decorate?: true | undefined;\n readonly api: {};\n readonly initialState: {};\n readonly read: {};\n readonly selectors: {};\n readonly update: {};\n}>, \"dependencies\" | \"name\"> & Readonly<{\n name: \"tableRow\";\n}> & Readonly<{\n dependencies: readonly [Plugin & Readonly<{\n name: \"tableCell\";\n }> & Readonly<{\n dependencies: readonly [PluginReference<\"paragraph\"> & PluginDependency & Readonly<{\n __pluginWritableProperties: never;\n }> & Readonly, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n }>> & Readonly>> & Pick & Readonly<{\n name: \"paragraph\";\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: Readonly<{\n content: Readonly<{\n allowed: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }>;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default: 'text';\n min: 1;\n }> & Readonly<{\n '~schema.content.rule'?: Readonly<{\n kind: 'any';\n rules: readonly [Readonly<{\n kind: 'text';\n }>, Readonly<{\n group: 'inline';\n kind: 'group';\n }>];\n }> | undefined;\n }>>;\n }>;\n };\n }>>, \"~schema.plugins\">];\n }> & Readonly> & Readonly<{\n __pluginWritableProperties: Readonly<{\n descriptor: PropertyStringDescriptor>;\n key: \"backgroundColor\";\n localId: \"backgroundColor\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: string;\n }> | Readonly<{\n descriptor: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n key: \"borders\";\n localId: \"borders\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"colSpan\";\n localId: \"colSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }> | Readonly<{\n descriptor: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n key: \"header\";\n localId: \"header\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: boolean;\n }> | Readonly<{\n descriptor: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n key: \"rowSpan\";\n localId: \"rowSpan\";\n ownerName: \"tableCell\";\n placement: \"element\";\n unaliased: true;\n value: number;\n }>;\n schema: {\n readonly element: {\n readonly content: Readonly<{\n allowed: SchemaContentRule;\n prefix?: readonly Readonly<{\n element: string | Readonly<{\n source: string;\n type: string;\n }>;\n properties?: Readonly>;\n }>[] | undefined;\n } & Readonly<{\n default?: SchemaContentDefault;\n max?: number;\n min?: number;\n }>>;\n readonly properties: {\n backgroundColor: PropertyStringDescriptor>;\n borders: PropertyJsonDescriptor, {\n readonly validate: (value: unknown) => value is TableCellBorders;\n readonly validationVersion: 1;\n } & Readonly<{\n default?: Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }> | undefined;\n generate?: (() => Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>) | undefined;\n omitDefault?: boolean;\n required?: boolean;\n }> & Readonly<{\n validate: (value: unknown) => value is Readonly<{\n bottom?: TableCellBorder;\n left?: TableCellBorder;\n right?: TableCellBorder;\n top?: TableCellBorder;\n }>;\n validationVersion: number;\n }>>;\n colSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n header: PropertyBooleanDescriptor<{\n readonly default: false;\n readonly omitDefault: true;\n }>;\n rowSpan: PropertyNumberDescriptor<{\n readonly validate: (value: unknown) => value is number;\n readonly validationVersion: 1;\n }>;\n };\n readonly blockContent: false;\n readonly structure: {\n readonly columnSpan: \"colSpan\";\n readonly kind: \"grid\";\n readonly role: \"cell\";\n readonly rowSpan: \"rowSpan\";\n };\n };\n };\n }>>];\n}>>", "source": null, "typeParameters": [] }, "platejs/table/react:useTableResize": { "aliases": [], "documentation": "Starts a table resize from a primary pointer on the supplied table.\nPreviews stay in the caller; pointerup commits once. Cancellation, blur,\nread-only changes, table replacement and unmount discard the preview.\nReturns false when the handle cannot start a resize.", "entrypoint": "platejs/table/react", "kind": "const", "name": "useTableResize", "runtime": true, "signature": "useTableResize: ({ element, tableRef, onResize, onResizeEnd }: {\n element: TableElement;\n tableRef: React$1.RefObject;\n onResize: (resize: TableResize) => void;\n onResizeEnd: () => void;\n}) => (event: React$1.PointerEvent, handle: TableResizeHandle) => boolean", "source": null, "typeParameters": [] }, "platejs/testing:after": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "after", "runtime": true, "signature": "after: (editor: AnyEditor, at: Location, options?: EditorAfterOptions) => Point | undefined", "source": null, "typeParameters": [] }, "platejs/testing:before": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "before", "runtime": true, "signature": "before: (editor: AnyEditor, at: Location, options?: EditorBeforeOptions) => Point | undefined", "source": null, "typeParameters": [] }, "platejs/testing:BROWSER_HANDLE_KEY": { "aliases": [], "documentation": "The editable element property `installBrowserHandle()` sets.", "entrypoint": "platejs/testing", "kind": "const", "name": "BROWSER_HANDLE_KEY", "runtime": true, "signature": "BROWSER_HANDLE_KEY = \"__EDITOR_BROWSER_HANDLE__\"", "source": null, "typeParameters": [] }, "platejs/testing:createDataTransfer": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "createDataTransfer", "runtime": true, "signature": "createDataTransfer: (dataMap?: Map) => DataTransfer", "source": null, "typeParameters": [] }, "platejs/testing:createEditor": { "aliases": [], "documentation": "Create a top-level `Editor` object.", "entrypoint": "platejs/testing", "kind": "const", "name": "createEditor", "runtime": true, "signature": "createEditor: (makeEditor: () => Editor) => (_tagName: string, attributes: HyperscriptAttributes, children: any[]) => Editor", "source": null, "typeParameters": [] }, "platejs/testing:createEditorFromFixture": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "createEditorFromFixture", "runtime": true, "signature": "createEditorFromFixture: (fixture: TestEditorFixture) => Editor", "source": null, "typeParameters": [] }, "platejs/testing:createHyperscript": { "aliases": [], "documentation": "Create an editor hyperscript factory with optional custom creators and element\nshorthands.", "entrypoint": "platejs/testing", "kind": "const", "name": "createHyperscript", "runtime": true, "signature": "createHyperscript: (options?: {\n creators?: TCreators;\n elements?: TElements;\n}) => (tagName: S, attributes?: unknown, ...children: any[]) => ReturnType<({\n anchor: typeof createAnchor;\n cursor: typeof createCursor;\n editor: (_tagName: string, attributes: HyperscriptAttributes, children: any[]) => Editor;\n element: typeof createElement;\n focus: typeof createFocus;\n fragment: typeof createFragment;\n selection: typeof createSelection;\n text: typeof createText;\n} & HyperscriptElementCreators & TCreators)[S]>", "source": null, "typeParameters": [] }, "platejs/testing:deleteBackward": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "deleteBackward", "runtime": true, "signature": "deleteBackward: (editor: AnyEditor, options?: EditorDirectedDeletionOptions) => void", "source": null, "typeParameters": [] }, "platejs/testing:deleteForward": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "deleteForward", "runtime": true, "signature": "deleteForward: (editor: AnyEditor, options?: EditorDirectedDeletionOptions) => void", "source": null, "typeParameters": [] }, "platejs/testing:elements": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "elements", "runtime": true, "signature": "elements: {\n readonly ha: {\n readonly type: 'link';\n };\n readonly haudio: {\n readonly type: 'audio';\n };\n readonly hblockquote: {\n readonly type: 'blockquote';\n };\n readonly hcallout: {\n readonly type: 'callout';\n };\n readonly hcodeblock: {\n readonly type: 'codeBlock';\n };\n readonly hcolumn: {\n readonly type: 'column';\n };\n readonly hcolumngroup: {\n readonly type: 'columnGroup';\n };\n readonly hdate: {\n readonly type: 'date';\n };\n readonly hdefault: {\n readonly type: 'paragraph';\n };\n readonly hdetails: {\n readonly type: 'details';\n };\n readonly hequation: {\n readonly type: 'equation';\n };\n readonly hexcalidraw: {\n readonly type: 'excalidraw';\n };\n readonly hfile: {\n readonly type: 'file';\n };\n readonly hfootnoteDefinition: {\n readonly type: 'footnoteDefinition';\n };\n readonly hfootnoteReference: {\n readonly type: 'footnoteReference';\n };\n readonly hheading: {\n readonly type: 'heading';\n };\n readonly himg: {\n readonly type: 'image';\n };\n readonly hinlineequation: {\n readonly type: 'inlineEquation';\n };\n readonly hmediaembed: {\n readonly type: 'mediaEmbed';\n };\n readonly hmention: {\n readonly type: 'mention';\n };\n readonly hnli: {\n readonly type: 'nli';\n };\n readonly hp: {\n readonly type: 'paragraph';\n };\n readonly hplaceholder: {\n readonly type: 'placeholder';\n };\n readonly hsummary: {\n readonly type: 'summary';\n };\n readonly htable: {\n readonly type: 'table';\n };\n readonly htd: {\n readonly type: 'tableCell';\n };\n readonly hth: {\n readonly header: true;\n readonly type: 'tableCell';\n };\n readonly htoc: {\n readonly type: 'toc';\n };\n readonly htodoli: {\n readonly type: 'todoList';\n };\n readonly htr: {\n readonly type: 'tableRow';\n };\n readonly hvideo: {\n readonly type: 'video';\n };\n}", "source": null, "typeParameters": [] }, "platejs/testing:end": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "end", "runtime": true, "signature": "end: (editor: AnyEditor, at: Location) => Point", "source": null, "typeParameters": [] }, "platejs/testing:getChildren": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "getChildren", "runtime": true, "signature": "getChildren: (editor: AnyEditor) => V", "source": null, "typeParameters": [] }, "platejs/testing:getEditorLiveSelection": { "aliases": [ "getLiveSelection" ], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "getEditorLiveSelection", "runtime": true, "signature": "getLiveSelection: (editor: Parameters[0]) => Selection", "source": null, "typeParameters": [] }, "platejs/testing:getSelection": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "getSelection", "runtime": true, "signature": "getSelection: (editor: AnyEditor) => Selection", "source": null, "typeParameters": [] }, "platejs/testing:getSnapshot": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "getSnapshot", "runtime": true, "signature": "getSnapshot: (editor: AnyEditor) => EditorSnapshot", "source": null, "typeParameters": [] }, "platejs/testing:hjsx": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "hjsx", "runtime": true, "signature": "hjsx: typeof jsx", "source": null, "typeParameters": [] }, "platejs/testing:insertBreak": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "insertBreak", "runtime": true, "signature": "insertBreak: (editor: AnyEditor) => void", "source": null, "typeParameters": [] }, "platejs/testing:insertText": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "insertText", "runtime": true, "signature": "insertText: (editor: AnyEditor, text: string, options?: TextInsertTextOptions) => void", "source": null, "typeParameters": [] }, "platejs/testing:isBlock": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "isBlock", "runtime": true, "signature": "isBlock: (editor: AnyEditor, value: Node) => boolean", "source": null, "typeParameters": [] }, "platejs/testing:isEditor": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "isEditor", "runtime": true, "signature": "isEditor: (value: unknown, options?: EditorIsEditorOptions) => value is AnyEditor", "source": null, "typeParameters": [] }, "platejs/testing:jsx": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "function", "name": "jsx", "runtime": true, "signature": "declare function jsx(tagName: 'editor', attributes?: object | null, ...children: unknown[]): TestEditor;", "source": null, "typeParameters": [] }, "platejs/testing:jsxt": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "jsxt", "runtime": true, "signature": "jsxt: typeof jsx", "source": null, "typeParameters": [] }, "platejs/testing:move": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "move", "runtime": true, "signature": "move: (editor: Editor, options?: SelectionMoveOptions) => void", "source": null, "typeParameters": [] }, "platejs/testing:positions": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "positions", "runtime": true, "signature": "positions: (editor: AnyEditor, options?: EditorPositionsOptions) => Generator", "source": null, "typeParameters": [] }, "platejs/testing:projectTestSelectionRange": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "projectTestSelectionRange", "runtime": true, "signature": "projectTestSelectionRange: (selection: Selection | undefined) => Range | null", "source": null, "typeParameters": [] }, "platejs/testing:replace": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "replace", "runtime": true, "signature": "replace: (editor: AnyEditor, input: SnapshotInput) => void", "source": null, "typeParameters": [] }, "platejs/testing:setEditorFocused": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "setEditorFocused", "runtime": true, "signature": "setEditorFocused: (editor: AnyPluginEditor, focused: boolean) => void", "source": null, "typeParameters": [] }, "platejs/testing:string": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "string", "runtime": true, "signature": "string: (editor: AnyEditor, at: Location, options?: EditorStringOptions) => string", "source": null, "typeParameters": [] }, "platejs/testing:TestEditor": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "type", "name": "TestEditor", "runtime": false, "signature": "type TestEditor = TestEditorFixture;", "source": null, "typeParameters": [] }, "platejs/testing:TestEditorFixture": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "type", "name": "TestEditorFixture", "runtime": false, "signature": "type TestEditorFixture = {\n children: Element[];\n selection?: Selection;\n};", "source": null, "typeParameters": [] }, "platejs/testing:unhangRange": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "unhangRange", "runtime": true, "signature": "unhangRange: (editor: AnyEditor, range: Range, options?: EditorUnhangRangeOptions) => Range", "source": null, "typeParameters": [] }, "platejs/testing:voidChildren": { "aliases": [], "documentation": "", "entrypoint": "platejs/testing", "kind": "const", "name": "voidChildren", "runtime": true, "signature": "voidChildren: Text[]", "source": null, "typeParameters": [] }, "platejs/toc:BaseTocPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/toc", "kind": "const", "name": "BaseTocPlugin", "runtime": true, "signature": "BaseTocPlugin: BasePlugin & Readonly<{\n name: \"toc\";\n}> & Readonly> & Readonly<{\n read: {\n readonly headings: () => Heading[];\n };\n}> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: {\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/toc:Heading": { "aliases": [], "documentation": "", "entrypoint": "platejs/toc", "kind": "type", "name": "Heading", "runtime": false, "signature": "type Heading = {\n key: NodeKey;\n level: HeadingLevel;\n title: string;\n};", "source": null, "typeParameters": [] }, "platejs/toc:readTocHeadings": { "aliases": [], "documentation": "Lists every titled heading in `state`, in document order, at the level the\ninstalled `BaseHeadingPlugin` reads. A read override filters this list to\nchange which headings a table of contents shows. `editor`'s heading plugin\nreads each level, so pass the `editor` and `state` of one read.", "entrypoint": "platejs/toc", "kind": "const", "name": "readTocHeadings", "runtime": true, "signature": "readTocHeadings: ({ editor, state }: Readonly<{\n editor: Editor;\n state: EditorStateView;\n}>) => Heading[]", "source": null, "typeParameters": [] }, "platejs/toc:TocDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/toc", "kind": "type", "name": "TocDefinition", "runtime": false, "signature": "type TocDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/toc/react:TocPlugin": { "aliases": [], "documentation": "", "entrypoint": "platejs/toc/react", "kind": "const", "name": "TocPlugin", "runtime": true, "signature": "TocPlugin: Plugin & Readonly<{\n name: \"toc\";\n}> & Readonly> & Readonly<{\n read: {\n readonly headings: () => Heading[];\n };\n}> & Readonly<{\n __pluginWritableProperties: never;\n schema: {\n readonly element: {\n readonly void: \"block\";\n };\n };\n}>>", "source": null, "typeParameters": [] }, "platejs/upload:BaseUploadPlugin": { "aliases": [], "documentation": "Owns persisted upload drafts and editor-lifetime Files SDK requests.", "entrypoint": "platejs/upload", "kind": "const", "name": "BaseUploadPlugin", "runtime": true, "signature": "BaseUploadPlugin: BasePlugin;\n key: \"kind\";\n localId: \"kind\";\n ownerName: \"upload\";\n placement: \"element\";\n unaliased: true;\n value: \"audio\" | \"file\" | \"image\" | \"video\";\n }>;\n readonly schema: {\n readonly element: {\n readonly type: \"upload\";\n readonly properties: {\n kind: PropertyEnumDescriptor;\n };\n readonly void: \"block\";\n };\n };\n readonly name: \"upload\";\n readonly activate: true;\n readonly api: {\n readonly cancel: (key: NodeKey) => void;\n };\n readonly commands: true;\n readonly contributions: true;\n readonly effectTypes: true;\n readonly formats: true;\n readonly initialState: {\n readonly client: UploadClient | null;\n readonly getUrl: ((file: UploadOutcome) => string) | null;\n readonly maxFiles: number;\n readonly onError: ((failure: UploadFailure) => void) | null;\n readonly rules: {\n readonly audio?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly blob?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly image?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly pdf?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly text?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly video?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n };\n readonly tasks: {\n readonly [x: string & {\n readonly '~nodeKey': true;\n }]: {\n readonly file: File;\n readonly getSnapshot: () => UploadTaskState;\n readonly subscribe: (listener: () => void) => () => void;\n } | undefined;\n };\n };\n readonly on: true;\n readonly selectors: NormalizePluginSelectors<{\n readonly client: UploadClient | null;\n readonly getUrl: ((file: UploadOutcome) => string) | null;\n readonly maxFiles: number;\n readonly onError: ((failure: UploadFailure) => void) | null;\n readonly rules: {\n readonly audio?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly blob?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly image?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly pdf?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly text?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly video?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n };\n readonly tasks: {\n readonly [x: string & {\n readonly '~nodeKey': true;\n }]: {\n readonly file: File;\n readonly getSnapshot: () => UploadTaskState;\n readonly subscribe: (listener: () => void) => () => void;\n } | undefined;\n };\n }, PluginSelectorMethods<{\n readonly task: (state: Readonly>, key: NodeKey) => Readonly<{\n file: File;\n getSnapshot: () => UploadTaskState;\n subscribe: (listener: () => void) => () => void;\n }> | undefined;\n }>>;\n readonly update: {\n /**\n * Check a batch for drafts the caller inserts itself. It writes nothing,\n * and returns nothing when there is nothing to do.\n */\n readonly admit: TxDeclaredMethod<(input: readonly File[] | FileList, options?: UploadAdmitOptions) => UploadAdmission | UploadRefusal | undefined>;\n readonly submit: TxDeclaredMethod<(input: readonly File[] | FileList, options?: UploadSubmitOptions) => boolean>;\n };\n}>> & Readonly>", "source": null, "typeParameters": [] }, "platejs/upload:UPLOAD_FILE_TYPES": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload", "kind": "const", "name": "UPLOAD_FILE_TYPES", "runtime": true, "signature": "UPLOAD_FILE_TYPES: readonly ['image', 'video', 'audio', 'pdf', 'text', 'blob']", "source": null, "typeParameters": [] }, "platejs/upload:UPLOAD_KINDS": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload", "kind": "const", "name": "UPLOAD_KINDS", "runtime": true, "signature": "UPLOAD_KINDS: readonly ['audio', 'file', 'image', 'video']", "source": null, "typeParameters": [] }, "platejs/upload:UploadAdmission": { "aliases": [], "documentation": "A batch that passed every check and waits for the caller to insert its\ndrafts. It lives for the transaction that admitted it.", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadAdmission", "runtime": false, "signature": "type UploadAdmission = Readonly<{\n /** One new draft per file, in file order. Upload does not track them. */\n drafts: readonly Element[];\n /**\n * Give each file the live draft its node key names, in file order. It checks\n * every key before it gives any file a draft, and throws when a check fails.\n */\n fill: (keys: readonly NodeKey[]) => void;\n}>;", "source": null, "typeParameters": [] }, "platejs/upload:UploadAdmissionError": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadAdmissionError", "runtime": false, "signature": "type UploadAdmissionError = Readonly<{\n allowedTypes: readonly UploadFileType[];\n code: 'unsupported-file-type';\n files: readonly File[];\n}> | Readonly<{\n code: 'file-too-large';\n fileType: UploadFileType;\n files: readonly File[];\n maxBytes: number;\n}> | Readonly<{\n code: 'too-few-files';\n fileType: UploadFileType;\n files: readonly File[];\n minFiles: number;\n}> | Readonly<{\n code: 'too-many-files';\n fileType: UploadFileType | null;\n files: readonly File[];\n maxFiles: number;\n}>;", "source": null, "typeParameters": [] }, "platejs/upload:UploadAdmitOptions": { "aliases": [], "documentation": "Limits the batch `admit` checks to the one upload kind a caller's drafts take.", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadAdmitOptions", "runtime": false, "signature": "type UploadAdmitOptions = Readonly<{\n /** A file of another kind refuses the batch before every other check. */\n kind?: UploadKind;\n}>;", "source": null, "typeParameters": [] }, "platejs/upload:UploadClient": { "aliases": [], "documentation": "The Files SDK capability Plate needs to complete one admitted browser file.", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadClient", "runtime": false, "signature": "type UploadClient = Readonly<{\n upload: (file: File, options?: UploadCallOptions) => Promise;\n}>;", "source": null, "typeParameters": [] }, "platejs/upload:UploadElement": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadElement", "runtime": false, "signature": "type UploadElement = ElementOf;", "source": null, "typeParameters": [] }, "platejs/upload:UploadFailure": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadFailure", "runtime": false, "signature": "type UploadFailure = (UploadAdmissionError & Readonly<{\n phase: 'admission';\n}>) | Readonly<{\n code: 'missing-client' | 'missing-url-resolver';\n files: readonly File[];\n phase: 'configuration';\n}> | Readonly<{\n code: 'missing-destination';\n files: readonly File[];\n kind: UploadKind;\n phase: 'configuration';\n}> | Readonly<{\n code: 'does-not-fit';\n files: readonly File[];\n phase: 'placement';\n}> | Readonly<{\n code: 'upload-error';\n error: unknown;\n file: File;\n key: NodeKey;\n phase: 'upload';\n}> | Readonly<{\n code: 'invalid-url';\n file: File;\n key: NodeKey;\n phase: 'result';\n result: UploadOutcome;\n}> | Readonly<{\n code: 'completion-error' | 'resolver-error';\n error: unknown;\n file: File;\n key: NodeKey;\n phase: 'result';\n result: UploadOutcome;\n}>;", "source": null, "typeParameters": [] }, "platejs/upload:UploadFileType": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadFileType", "runtime": false, "signature": "type UploadFileType = (typeof UPLOAD_FILE_TYPES)[number];", "source": null, "typeParameters": [] }, "platejs/upload:UploadKind": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadKind", "runtime": false, "signature": "type UploadKind = (typeof UPLOAD_KINDS)[number];", "source": null, "typeParameters": [] }, "platejs/upload:UploadPluginState": { "aliases": [], "documentation": "Configures upload admission and resolves SDK outcomes to document URLs.", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadPluginState", "runtime": false, "signature": "type UploadPluginState = {\n client: UploadClient | null;\n getUrl: ((file: UploadOutcome) => string) | null;\n maxFiles: number;\n onError: ((failure: UploadFailure) => void) | null;\n rules: UploadRules;\n tasks: Partial>;\n};", "source": null, "typeParameters": [] }, "platejs/upload:UploadRefusal": { "aliases": [], "documentation": "A batch `admit` refused, with the failure upload reports after the commit.", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadRefusal", "runtime": false, "signature": "type UploadRefusal = Readonly<{\n failure: Extract;\n}>;", "source": null, "typeParameters": [] }, "platejs/upload:UploadRule": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadRule", "runtime": false, "signature": "type UploadRule = {\n kind: UploadKind;\n maxBytes?: number;\n maxFiles?: number;\n minFiles?: number;\n};", "source": null, "typeParameters": [] }, "platejs/upload:UploadRules": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadRules", "runtime": false, "signature": "type UploadRules = Partial>;", "source": null, "typeParameters": [] }, "platejs/upload:UploadSubmitOptions": { "aliases": [], "documentation": "Fill a live draft slot or insert drafts beside a block.", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadSubmitOptions", "runtime": false, "signature": "type UploadSubmitOptions = ({\n slot: NodeKey;\n} & {\n after?: never;\n at?: never;\n before?: never;\n replaceEmpty?: never;\n}) | ({\n slot?: never;\n} & BlockInsertOptions);", "source": null, "typeParameters": [] }, "platejs/upload:UploadTask": { "aliases": [], "documentation": "One editor-owned request with progress independent of a mounted preview.", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadTask", "runtime": false, "signature": "type UploadTask = Readonly<{\n file: File;\n getSnapshot: () => UploadTaskState;\n subscribe: (listener: () => void) => () => void;\n}>;", "source": null, "typeParameters": [] }, "platejs/upload:UploadTaskState": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload", "kind": "type", "name": "UploadTaskState", "runtime": false, "signature": "type UploadTaskState = Readonly<{\n progress: AggregateProgress;\n status: 'uploading';\n}> | Readonly<{\n failure: Extract;\n progress: AggregateProgress;\n status: 'failed';\n}>;", "source": null, "typeParameters": [] }, "platejs/upload/react:UploadDefinition": { "aliases": [], "documentation": "", "entrypoint": "platejs/upload/react", "kind": "type", "name": "UploadDefinition", "runtime": false, "signature": "type UploadDefinition = DefinitionOf;", "source": null, "typeParameters": [] }, "platejs/upload/react:UploadPlugin": { "aliases": [], "documentation": "React adapter for upload drafts. A file drop lands where the landing rules\nadmit it, at a block edge under the pointer; a drop no edge admits is\nconsumed without an upload.", "entrypoint": "platejs/upload/react", "kind": "const", "name": "UploadPlugin", "runtime": true, "signature": "UploadPlugin: InternalPluginAuthorExtension;\n key: \"kind\";\n localId: \"kind\";\n ownerName: \"upload\";\n placement: \"element\";\n unaliased: true;\n value: \"audio\" | \"file\" | \"image\" | \"video\";\n }>;\n readonly schema: {\n readonly element: {\n readonly type: \"upload\";\n readonly properties: {\n kind: PropertyEnumDescriptor;\n };\n readonly void: \"block\";\n };\n };\n readonly name: \"upload\";\n readonly activate: true;\n readonly api: {\n readonly cancel: (key: NodeKey) => void;\n };\n readonly commands: true;\n readonly contributions: true;\n readonly effectTypes: true;\n readonly formats: true;\n readonly initialState: {\n readonly client: UploadClient | null;\n readonly getUrl: ((file: import(\"files-sdk/client\").UploadOutcome) => string) | null;\n readonly maxFiles: number;\n readonly onError: ((failure: UploadFailure) => void) | null;\n readonly rules: {\n readonly audio?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly blob?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly image?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly pdf?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly text?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly video?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n };\n readonly tasks: {\n readonly [x: string & {\n readonly '~nodeKey': true;\n }]: {\n readonly file: File;\n readonly getSnapshot: () => UploadTaskState;\n readonly subscribe: (listener: () => void) => () => void;\n } | undefined;\n };\n };\n readonly on: true;\n readonly selectors: NormalizePluginSelectors<{\n readonly client: UploadClient | null;\n readonly getUrl: ((file: import(\"files-sdk/client\").UploadOutcome) => string) | null;\n readonly maxFiles: number;\n readonly onError: ((failure: UploadFailure) => void) | null;\n readonly rules: {\n readonly audio?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly blob?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly image?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly pdf?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly text?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly video?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n };\n readonly tasks: {\n readonly [x: string & {\n readonly '~nodeKey': true;\n }]: {\n readonly file: File;\n readonly getSnapshot: () => UploadTaskState;\n readonly subscribe: (listener: () => void) => () => void;\n } | undefined;\n };\n }, PluginSelectorMethods<{\n readonly task: (state: Readonly>, key: NodeKey) => Readonly<{\n file: File;\n getSnapshot: () => UploadTaskState;\n subscribe: (listener: () => void) => () => void;\n }> | undefined;\n }>>;\n readonly update: {\n readonly admit: TxDeclaredMethod<(input: readonly File[] | FileList, options?: UploadAdmitOptions) => UploadAdmission | UploadRefusal | undefined>;\n readonly submit: TxDeclaredMethod<(input: readonly File[] | FileList, options?: UploadSubmitOptions) => boolean>;\n };\n}>>, Readonly<{\n readonly __pluginWritableProperties: Readonly<{\n descriptor: PropertyEnumDescriptor;\n key: \"kind\";\n localId: \"kind\";\n ownerName: \"upload\";\n placement: \"element\";\n unaliased: true;\n value: \"audio\" | \"file\" | \"image\" | \"video\";\n }>;\n readonly schema: {\n readonly element: {\n readonly type: \"upload\";\n readonly properties: {\n kind: PropertyEnumDescriptor;\n };\n readonly void: \"block\";\n };\n };\n readonly name: \"upload\";\n readonly activate: true;\n readonly api: {\n readonly cancel: (key: NodeKey) => void;\n };\n readonly commands: true;\n readonly contributions: true;\n readonly effectTypes: true;\n readonly formats: true;\n readonly initialState: {\n readonly client: UploadClient | null;\n readonly getUrl: ((file: import(\"files-sdk/client\").UploadOutcome) => string) | null;\n readonly maxFiles: number;\n readonly onError: ((failure: UploadFailure) => void) | null;\n readonly rules: {\n readonly audio?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly blob?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly image?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly pdf?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly text?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly video?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n };\n readonly tasks: {\n readonly [x: string & {\n readonly '~nodeKey': true;\n }]: {\n readonly file: File;\n readonly getSnapshot: () => UploadTaskState;\n readonly subscribe: (listener: () => void) => () => void;\n } | undefined;\n };\n };\n readonly on: true;\n readonly selectors: NormalizePluginSelectors<{\n readonly client: UploadClient | null;\n readonly getUrl: ((file: import(\"files-sdk/client\").UploadOutcome) => string) | null;\n readonly maxFiles: number;\n readonly onError: ((failure: UploadFailure) => void) | null;\n readonly rules: {\n readonly audio?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly blob?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly image?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly pdf?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly text?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n readonly video?: {\n readonly kind: UploadKind;\n readonly maxBytes?: number;\n readonly maxFiles?: number;\n readonly minFiles?: number;\n } | undefined;\n };\n readonly tasks: {\n readonly [x: string & {\n readonly '~nodeKey': true;\n }]: {\n readonly file: File;\n readonly getSnapshot: () => UploadTaskState;\n readonly subscribe: (listener: () => void) => () => void;\n } | undefined;\n };\n }, PluginSelectorMethods<{\n readonly task: (state: Readonly>, key: NodeKey) => Readonly<{\n file: File;\n getSnapshot: () => UploadTaskState;\n subscribe: (listener: () => void) => () => void;\n }> | undefined;\n }>>;\n readonly update: {\n readonly admit: TxDeclaredMethod<(input: readonly File[] | FileList, options?: UploadAdmitOptions) => UploadAdmission | UploadRefusal | undefined>;\n readonly submit: TxDeclaredMethod<(input: readonly File[] | FileList, options?: UploadSubmitOptions) => boolean>;\n };\n}>, \"on\", {}, {}, {}, {}, {}, readonly [], boolean, readonly []>", "source": null, "typeParameters": [] }, "platejs/yjs:yjs": { "aliases": [], "documentation": "Create one Yjs binding descriptor for an app-owned document.", "entrypoint": "platejs/yjs", "kind": "const", "name": "yjs", "runtime": true, "signature": "yjs: typeof createYjsDescriptor & PluginFactoryTypeProvider", "source": null, "typeParameters": [] }, "platejs/yjs:YjsAdmissionStatus": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs", "kind": "type", "name": "YjsAdmissionStatus", "runtime": false, "signature": "type YjsAdmissionStatus = Readonly<{\n state: 'waiting';\n reason: 'load' | 'reference' | 'seed';\n}> | Readonly<{\n state: 'ready';\n}> | Readonly<{\n state: 'error';\n cause: unknown;\n}>;", "source": null, "typeParameters": [] }, "platejs/yjs:YjsAwarenessChange": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs", "kind": "type", "name": "YjsAwarenessChange", "runtime": false, "signature": "type YjsAwarenessChange = Readonly<{\n added: readonly number[];\n removed: readonly number[];\n updated: readonly number[];\n}>;", "source": null, "typeParameters": [] }, "platejs/yjs:YjsAwarenessLike": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs", "kind": "type", "name": "YjsAwarenessLike", "runtime": false, "signature": "type YjsAwarenessLike = Readonly<{\n doc: Y.Doc;\n getLocalState: () => YjsAwarenessState | null;\n getStates: () => ReadonlyMap;\n off: (event: 'change', handler: (event: YjsAwarenessChange) => void) => void;\n on: (event: 'change', handler: (event: YjsAwarenessChange) => void) => void;\n setLocalStateField: (field: string, value: unknown) => void;\n}>;", "source": null, "typeParameters": [] }, "platejs/yjs:YjsAwarenessState": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs", "kind": "type", "name": "YjsAwarenessState", "runtime": false, "signature": "type YjsAwarenessState = Readonly>;", "source": null, "typeParameters": [] }, "platejs/yjs:YjsCursorDataSchema": { "aliases": [], "documentation": "Runtime contract for cursor metadata received from other collaborators.", "entrypoint": "platejs/yjs", "kind": "type", "name": "YjsCursorDataSchema", "runtime": false, "signature": "type YjsCursorDataSchema = Readonly<{\n validate: (value: unknown) => value is TCursorData;\n}>;", "source": null, "typeParameters": [ "TCursorData extends YjsRemoteCursorData = YjsRemoteCursorData" ] }, "platejs/yjs:YjsInitialReadiness": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs", "kind": "type", "name": "YjsInitialReadiness", "runtime": false, "signature": "type YjsInitialReadiness = Readonly<{\n doc: Y.Doc;\n getSnapshot: () => boolean;\n subscribe: (listener: () => void) => () => void;\n}>;", "source": null, "typeParameters": [] }, "platejs/yjs:YjsPluginOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs", "kind": "type", "name": "YjsPluginOptions", "runtime": false, "signature": "type YjsPluginOptions = Readonly<{\n awareness?: YjsAwarenessLike;\n doc: Y.Doc;\n initialReady: true | YjsInitialReadiness;\n rootName?: string;\n seed?: true;\n sharedEffectCompaction?: Readonly<{\n /** Stable host identity for the sole active compaction authority. */\n authorityId: string;\n threshold?: number;\n }>;\n}> & YjsCursorDataOption;", "source": null, "typeParameters": [ "TCursorData extends YjsRemoteCursorData = YjsRemoteCursorData" ] }, "platejs/yjs:YjsRemoteCursor": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs", "kind": "type", "name": "YjsRemoteCursor", "runtime": false, "signature": "type YjsRemoteCursor = Readonly<{\n clientId: number;\n selection: Range | null;\n data?: TCursorData;\n}>;", "source": null, "typeParameters": [ "TCursorData extends YjsRemoteCursorData = YjsRemoteCursorData" ] }, "platejs/yjs:YjsRemoteCursorData": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs", "kind": "type", "name": "YjsRemoteCursorData", "runtime": false, "signature": "type YjsRemoteCursorData = Readonly>;", "source": null, "typeParameters": [] }, "platejs/yjs:YjsUpdatePolicy": { "aliases": [], "documentation": "Update policies for host adapters that import canonical `DocumentChange`\nvalues without the built-in Yjs binding. `remote` marks the commit as a\nremote Yjs import, so history and outbound subscriptions treat it like the\nbinding's own imports.", "entrypoint": "platejs/yjs", "kind": "const", "name": "YjsUpdatePolicy", "runtime": true, "signature": "YjsUpdatePolicy: Readonly<{\n remote: Readonly<{\n tags: readonly string[];\n }>;\n}>", "source": null, "typeParameters": [] }, "platejs/yjs/react:useYjsAdmissionStatus": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "function", "name": "useYjsAdmissionStatus", "runtime": true, "signature": "declare function useYjsAdmissionStatus(editor: YjsEditorWithApi): YjsAdmissionStatus;", "source": null, "typeParameters": [ "TApi extends YjsBaseApi" ] }, "platejs/yjs/react:useYjsRemoteCursor": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "function", "name": "useYjsRemoteCursor", "runtime": true, "signature": "declare function useYjsRemoteCursor(editor: YjsEditorWithApi, clientId: number): YjsRemoteCursor> | null;", "source": null, "typeParameters": [ "TApi extends YjsPresenceReadApi" ] }, "platejs/yjs/react:useYjsRemoteCursorGeometry": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "function", "name": "useYjsRemoteCursorGeometry", "runtime": true, "signature": "declare function useYjsRemoteCursorGeometry(editor: YjsEditorWithApi, clientId: number, { editableRef }: Readonly<{\n editableRef: RefObject;\n}>): RangeGeometry | null;", "source": null, "typeParameters": [ "TApi extends YjsPresenceReadApi" ] }, "platejs/yjs/react:useYjsRemoteCursorIds": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "function", "name": "useYjsRemoteCursorIds", "runtime": true, "signature": "declare function useYjsRemoteCursorIds(editor: YjsEditorWithApi): readonly number[];", "source": null, "typeParameters": [ "TApi extends YjsPresenceReadApi" ] }, "platejs/yjs/react:yjs": { "aliases": [], "documentation": "Create one Yjs binding descriptor for an app-owned document.", "entrypoint": "platejs/yjs/react", "kind": "const", "name": "yjs", "runtime": true, "signature": "yjs: typeof createYjsDescriptor & PluginFactoryTypeProvider", "source": null, "typeParameters": [] }, "platejs/yjs/react:YjsAdmissionStatus": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "type", "name": "YjsAdmissionStatus", "runtime": false, "signature": "type YjsAdmissionStatus = Readonly<{\n state: 'waiting';\n reason: 'load' | 'reference' | 'seed';\n}> | Readonly<{\n state: 'ready';\n}> | Readonly<{\n state: 'error';\n cause: unknown;\n}>;", "source": null, "typeParameters": [] }, "platejs/yjs/react:YjsAwarenessChange": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "type", "name": "YjsAwarenessChange", "runtime": false, "signature": "type YjsAwarenessChange = Readonly<{\n added: readonly number[];\n removed: readonly number[];\n updated: readonly number[];\n}>;", "source": null, "typeParameters": [] }, "platejs/yjs/react:YjsAwarenessLike": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "type", "name": "YjsAwarenessLike", "runtime": false, "signature": "type YjsAwarenessLike = Readonly<{\n doc: Y.Doc;\n getLocalState: () => YjsAwarenessState | null;\n getStates: () => ReadonlyMap;\n off: (event: 'change', handler: (event: YjsAwarenessChange) => void) => void;\n on: (event: 'change', handler: (event: YjsAwarenessChange) => void) => void;\n setLocalStateField: (field: string, value: unknown) => void;\n}>;", "source": null, "typeParameters": [] }, "platejs/yjs/react:YjsAwarenessState": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "type", "name": "YjsAwarenessState", "runtime": false, "signature": "type YjsAwarenessState = Readonly>;", "source": null, "typeParameters": [] }, "platejs/yjs/react:YjsCursorDataSchema": { "aliases": [], "documentation": "Runtime contract for cursor metadata received from other collaborators.", "entrypoint": "platejs/yjs/react", "kind": "type", "name": "YjsCursorDataSchema", "runtime": false, "signature": "type YjsCursorDataSchema = Readonly<{\n validate: (value: unknown) => value is TCursorData;\n}>;", "source": null, "typeParameters": [ "TCursorData extends YjsRemoteCursorData = YjsRemoteCursorData" ] }, "platejs/yjs/react:YjsInitialReadiness": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "type", "name": "YjsInitialReadiness", "runtime": false, "signature": "type YjsInitialReadiness = Readonly<{\n doc: Y.Doc;\n getSnapshot: () => boolean;\n subscribe: (listener: () => void) => () => void;\n}>;", "source": null, "typeParameters": [] }, "platejs/yjs/react:YjsPlugin": { "aliases": [], "documentation": "Creates complete Plate Yjs descriptors from app-owned resources.", "entrypoint": "platejs/yjs/react", "kind": "const", "name": "YjsPlugin", "runtime": true, "signature": "YjsPlugin: PluginFactory", "source": null, "typeParameters": [] }, "platejs/yjs/react:YjsPluginOptions": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "type", "name": "YjsPluginOptions", "runtime": false, "signature": "type YjsPluginOptions = Readonly<{\n awareness?: YjsAwarenessLike;\n doc: Y.Doc;\n initialReady: true | YjsInitialReadiness;\n rootName?: string;\n seed?: true;\n sharedEffectCompaction?: Readonly<{\n /** Stable host identity for the sole active compaction authority. */\n authorityId: string;\n threshold?: number;\n }>;\n}> & YjsCursorDataOption;", "source": null, "typeParameters": [ "TCursorData extends YjsRemoteCursorData = YjsRemoteCursorData" ] }, "platejs/yjs/react:YjsRemoteCursor": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "type", "name": "YjsRemoteCursor", "runtime": false, "signature": "type YjsRemoteCursor = Readonly<{\n clientId: number;\n selection: Range | null;\n data?: TCursorData;\n}>;", "source": null, "typeParameters": [ "TCursorData extends YjsRemoteCursorData = YjsRemoteCursorData" ] }, "platejs/yjs/react:YjsRemoteCursorData": { "aliases": [], "documentation": "", "entrypoint": "platejs/yjs/react", "kind": "type", "name": "YjsRemoteCursorData", "runtime": false, "signature": "type YjsRemoteCursorData = Readonly>;", "source": null, "typeParameters": [] }, "platejs/yjs/react:YjsUpdatePolicy": { "aliases": [], "documentation": "Update policies for host adapters that import canonical `DocumentChange`\nvalues without the built-in Yjs binding. `remote` marks the commit as a\nremote Yjs import, so history and outbound subscriptions treat it like the\nbinding's own imports.", "entrypoint": "platejs/yjs/react", "kind": "const", "name": "YjsUpdatePolicy", "runtime": true, "signature": "YjsUpdatePolicy: Readonly<{\n remote: Readonly<{\n tags: readonly string[];\n }>;\n}>", "source": null, "typeParameters": [] } }, "version": "54.0.0-beta.2" } }, "schemaVersion": 1 }