This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/lowdb/lib/adapters/node/TextFile.d.ts
T

16 lines
514 B
TypeScript

/// <reference types="node" resolution-mode="require"/>
import { PathLike } from 'node:fs';
import { Adapter, SyncAdapter } from '../../core/Low.js';
export declare class TextFile implements Adapter<string> {
#private;
constructor(filename: PathLike);
read(): Promise<string | null>;
write(str: string): Promise<void>;
}
export declare class TextFileSync implements SyncAdapter<string> {
#private;
constructor(filename: PathLike);
read(): string | null;
write(str: string): void;
}