UNPKG

rete-kit

Version:

Rete.js Kit ==== [![Made in Ukraine](https://img.shields.io/badge/made_in-ukraine-ffd700.svg?labelColor=0057b7)](https://stand-with-ukraine.pp.ua) [![Discord](https://img.shields.io/discord/1081223198055604244?color=%237289da&label=Discord)](https://disco

21 lines (20 loc) 669 B
export interface InstructionData { path: string; content: string; file: string; contextId: string; title: string; } export declare class AIAssets { private readonly workingDirectory; private readonly interactive; constructor(workingDirectory: string, interactive?: boolean); getInstructionForContext(instructionFile: { file: string; path: string; contextId: string; title: string; }): InstructionData | null; protected handleFileOverwrite(existingFile: string, force?: boolean): Promise<boolean>; copyFileWithConfirm(content: string, targetFile: string, force?: boolean): Promise<void>; }