import AccountManager from "../account"; export type NodeInfos = { id: number; key?: string; name: string; description: string; created: string; }; export declare function convertRawToNode(accountManager: AccountManager, raw: S): S extends NodeInfos[] ? Node[] : Node; export default class Node { private accountManager; constructor(accountManager: AccountManager, infos: NodeInfos); /** * The Internal Id of the Node * @since 0.0.28 */ id: number; /** * The Name of the Node * @since 0.0.28 */ name: string; /** * The Description of the Node * @since 0.0.28 */ description: string; /** * The Key of the Node * @since 0.0.28 */ key: string | undefined; /** * The Date when the Node was created * @since 0.0.28 */ created: Date; /** * Delete this Node * @since 0.0.28 */ delete(): import("../..").Response; /** * Reset this Nodes Key * @since 0.0.31 */ resetKey(): import("../..").Response; /** * Edit this Node * @since 0.0.28 */ edit(data: { name?: string; description?: string; }): import("../..").Response; }