import { APIResource } from "../../core/resource.mjs"; import * as MindMapsAPI from "./mind-maps.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class Nodes extends APIResource { /** * Update a mind map node 'content' */ update(id: string, params: NodeUpdateParams, options?: RequestOptions): APIPromise; /** * Move a mind map node. Not supported to move as CentralTheme/Root Node.Will * validate parent_id exist in current mind_map */ move(id: string, params: NodeMoveParams, options?: RequestOptions): APIPromise; } export interface NodeUpdateParams { /** * Body param */ content: string; /** * Header param */ 'Accept-Language'?: string; /** * Header param: Set to `structured` to receive errors in the structured envelope. * Omit it to keep the legacy error body. */ 'X-Error-Format'?: string; } export interface NodeMoveParams { /** * Body param */ new_order: number; /** * Body param */ new_parent_id: string; /** * Header param */ 'Accept-Language'?: string; /** * Header param: Set to `structured` to receive errors in the structured envelope. * Omit it to keep the legacy error body. */ 'X-Error-Format'?: string; } export declare namespace Nodes { export { type NodeUpdateParams as NodeUpdateParams, type NodeMoveParams as NodeMoveParams }; } //# sourceMappingURL=nodes.d.mts.map