import type { PLSubNode } from "./PLSubNode.js"; import type { PUPropertyContext } from "./PUPropertyContext.js"; import type { PUTableContext } from "./PUTableContext.js"; /** * Represents a sub-node within a property structure. */ export interface PUSubNode { /** * Gets a sub-node by its ID. * * e.g. * - `0x692` for recipients * - `0x671` for attachments * - `ltpRowId` for the content of an attachment * * @param childNodeId The ID of the child node. */ getSubNodeOf(childNodeId: number): Promise; /** * Extracts this sub-node as a table context. */ extractAsTableContext(): Promise; /** * Extracts this sub-node as a property context. */ extractAsPropertyContext(): Promise; } /** * Creates a new PUSubNode instance. * * @internal */ export declare function createPUSubNodeFrom(subNode: PLSubNode): PUSubNode;