mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
12 lines
582 B
TypeScript
12 lines
582 B
TypeScript
// Type definitions for slate-base64-serializer 0.2
|
|
// Project: https://github.com/ianstormtaylor/slate
|
|
// Definitions by: Brandon Shelton <https://github.com/YangusKhan>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
import { Value, Node } from "slate";
|
|
|
|
export function deserialize(string: string, options?: object): Value;
|
|
export function deserializeNode(string: string, options?: object): Node;
|
|
export function serialize(value: Value, options?: object): string;
|
|
export function serializeNode(node: Node, options?: object): string;
|