UNPKG

@etherna/sdk-js

Version:

Etherna SDKs for operations on the network

16 lines 630 B
import { Reference } from "../../clients"; import { PlaylistDetails, PlaylistPreview } from "../../schemas/playlist"; export type PlaylistDeserializerOptions = { /** Root manifest reference */ rootManifest: Reference; }; export declare class PlaylistDeserializer { constructor(); deserializePreview(data: string, opts: PlaylistDeserializerOptions): PlaylistPreview; deserializeDetails(data: string): { details: PlaylistDetails; encryptedData?: string; }; deserializeEncryptedDetails(encryptedData: string, password: string): PlaylistDetails; } //# sourceMappingURL=deserializer.d.ts.map