agentlang
Version:
The easiest way to build the most reliable AI agents - enterprise-grade teams of AI agents that collaborate with each other and humans
18 lines • 1.19 kB
TypeScript
import { Result, Environment } from '../interpreter.js';
import { ActiveSessionInfo } from '../auth/defs.js';
export declare const CoreFilesModuleName: string;
declare const _default: string;
export default _default;
export declare function createFileRecord(fileInfo: {
filename: string;
originalName: string;
mimetype: string;
size: number;
path: string;
uploadedBy?: string;
}, sessionInfo?: ActiveSessionInfo, callback?: (result: Result) => void, env?: Environment): Promise<Result>;
export declare function findFileByFilename(filename: string, sessionInfo?: ActiveSessionInfo, callback?: (result: Result) => void, env?: Environment): Promise<Result>;
export declare function deleteFileRecord(filename: string, sessionInfo?: ActiveSessionInfo, callback?: (result: Result) => void, env?: Environment): Promise<Result>;
export declare function listAllFiles(sessionInfo?: ActiveSessionInfo, callback?: (result: Result) => void, env?: Environment): Promise<Result>;
export declare function listUserFiles(userId: string, sessionInfo?: ActiveSessionInfo, callback?: (result: Result) => void, env?: Environment): Promise<Result>;
//# sourceMappingURL=files.d.ts.map