14 lines
No EOL
615 B
TypeScript
14 lines
No EOL
615 B
TypeScript
import { A as PluginAccessOptions, T as BaseDeserializerContextOptions, st as SerovalNode } from "./shared-DTMVoS-y.js";
|
|
//#region src/core/tree/read.d.ts
|
|
interface SerovalJSON {
|
|
t: SerovalNode;
|
|
f: number;
|
|
m: number[];
|
|
}
|
|
interface FromJSONOptions extends PluginAccessOptions, Pick<BaseDeserializerContextOptions, 'depthLimit' | 'maxBase64Length'> {
|
|
disabledFeatures?: number;
|
|
}
|
|
declare function deserialize<T>(source: string): T;
|
|
declare function fromJSON<T>(source: SerovalJSON, options?: FromJSONOptions): T;
|
|
//#endregion
|
|
export { fromJSON as i, SerovalJSON as n, deserialize as r, FromJSONOptions as t }; |