UNPKG

box-node-sdk

Version:

Official SDK for Box Platform APIs

20 lines 1.36 kB
import { HubDocumentBlockV2025R0 } from './hubDocumentBlockV2025R0.js'; import { SerializedData } from '../../serialization/json.js'; export type HubSectionTitleTextBlockV2025R0TypeField = 'section_title'; export declare class HubSectionTitleTextBlockV2025R0 implements HubDocumentBlockV2025R0 { readonly id: string; readonly parentId?: string | null; readonly rawData?: SerializedData; /** * The type of this block. The value is always `section_title`. */ readonly type: HubSectionTitleTextBlockV2025R0TypeField; /** * Text content of the block. Includes rich text formatting. */ readonly fragment: string; constructor(fields: Omit<HubSectionTitleTextBlockV2025R0, 'type'> & Partial<Pick<HubSectionTitleTextBlockV2025R0, 'type'>>); } export declare function serializeHubSectionTitleTextBlockV2025R0TypeField(val: HubSectionTitleTextBlockV2025R0TypeField): SerializedData; export declare function deserializeHubSectionTitleTextBlockV2025R0TypeField(val: SerializedData): HubSectionTitleTextBlockV2025R0TypeField; export declare function serializeHubSectionTitleTextBlockV2025R0(val: HubSectionTitleTextBlockV2025R0): SerializedData; export declare function deserializeHubSectionTitleTextBlockV2025R0(val: SerializedData): HubSectionTitleTextBlockV2025R0; //# sourceMappingURL=hubSectionTitleTextBlockV2025R0.d.ts.map