UNPKG

@microsoft/kiota-serialization-text

Version:

Implementation of Kiota Serialization interfaces for text

19 lines 984 B
/** * ------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. * See License in the project root for license information. * ------------------------------------------------------------------------------------------- */ import { BackingStoreFactory, type ParseNode, type ParseNodeFactory } from "@microsoft/kiota-abstractions"; export declare class TextParseNodeFactory implements ParseNodeFactory { private readonly backingStoreFactory?; /** * Creates an instance of TextParseNode. * @param backingStoreFactory - The factory to create backing stores. */ constructor(backingStoreFactory?: BackingStoreFactory | undefined); getValidContentType(): string; getRootParseNode(contentType: string, content: ArrayBuffer): ParseNode; private convertArrayBufferToText; } //# sourceMappingURL=textParseNodeFactory.d.ts.map