UNPKG

723 BTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7/// <reference types="node" />
8
9declare const _default: {
10 deserialize: typeof deserialize;
11 readFileSync: typeof readFileSync;
12 serialize: typeof serialize;
13 writeFileSync: typeof writeFileSync;
14};
15export default _default;
16
17export declare function deserialize(buffer: Buffer): unknown;
18
19export declare function readFileSync(filePath: string): unknown;
20
21export declare function serialize(content: unknown): Buffer;
22
23export declare function writeFileSync(filePath: string, content: unknown): void;
24
25export {};