@promptbook/vercel
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
19 lines (18 loc) • 851 B
TypeScript
import type { FilesystemTools } from '../../execution/FilesystemTools';
import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
import type { string_filename } from '../../types/typeAliases';
/**
* 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>;
/**
* TODO: Add metadata to zip
* TODO: Compression level and other zip options from config
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
*/