@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
14 lines (13 loc) • 632 B
TypeScript
import type { FilesystemTools } from '../../execution/FilesystemTools';
import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
import type { string_filename } from '../../types/string_filename';
/**
* Saves the given books into an archive file with `.bookc` extension
*
* @param filePath Path to the archive file with `.bookc` extension
* @param books Pipelines to be saved in the archive
* @param fs Filesystem tools
*
* @private utility of Promptbook
*/
export declare function saveArchive(filePath: string_filename, collectionJson: ReadonlyArray<PipelineJson>, fs: FilesystemTools): Promise<void>;