import type { Node } from '@markdoc/markdoc'; /** * Checks whether the given value is a Markdoc `Node`. * * This is a TypeScript type guard that narrows the type to `Node` * if the runtime check passes. The check is based on the internal * `$$mdtype` property being equal to `"Node"`. * * @param value - The value to check. * @returns `true` if the value is a Markdoc `Node`, otherwise `false`. * * @example * ```ts * const node = { $$mdtype: 'Node', type: 'paragraph', attributes: {} }; * if (isNode(node)) { * console.log(node.type); // Safe access * } * ``` */ export declare function isNode(value?: unknown): value is Node; //# sourceMappingURL=is-node.d.ts.map