openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
19 lines (18 loc) • 496 B
TypeScript
import type { Readable } from "node:stream";
import type { FileIdentityStat } from "./file-identity.js";
export type PinnedWriteInput = {
kind: "buffer";
data: string | Buffer;
encoding?: BufferEncoding;
} | {
kind: "stream";
stream: Readable;
};
export declare function runPinnedWriteHelper(params: {
rootPath: string;
relativeParentPath: string;
basename: string;
mkdir: boolean;
mode: number;
input: PinnedWriteInput;
}): Promise<FileIdentityStat>;