UNPKG

box-node-sdk

Version:

Official SDK for Box Platform APIs

20 lines 1.31 kB
import { HubDocumentBlockV2025R0 } from './hubDocumentBlockV2025R0.js'; import { SerializedData } from '../../serialization/json.js'; export type HubParagraphTextBlockV2025R0TypeField = 'paragraph'; export declare class HubParagraphTextBlockV2025R0 implements HubDocumentBlockV2025R0 { readonly id: string; readonly parentId?: string | null; readonly rawData?: SerializedData; /** * The type of this block. The value is always `paragraph`. */ readonly type: HubParagraphTextBlockV2025R0TypeField; /** * Text content of the block. Includes rich text formatting. */ readonly fragment: string; constructor(fields: Omit<HubParagraphTextBlockV2025R0, 'type'> & Partial<Pick<HubParagraphTextBlockV2025R0, 'type'>>); } export declare function serializeHubParagraphTextBlockV2025R0TypeField(val: HubParagraphTextBlockV2025R0TypeField): SerializedData; export declare function deserializeHubParagraphTextBlockV2025R0TypeField(val: SerializedData): HubParagraphTextBlockV2025R0TypeField; export declare function serializeHubParagraphTextBlockV2025R0(val: HubParagraphTextBlockV2025R0): SerializedData; export declare function deserializeHubParagraphTextBlockV2025R0(val: SerializedData): HubParagraphTextBlockV2025R0; //# sourceMappingURL=hubParagraphTextBlockV2025R0.d.ts.map