import { Response } from 'express'; import { WorkspaceService } from './workspace.service.js'; import { ConfigService } from '../config/config.service.js'; export declare class WorkspaceController { private readonly workspaceService; private readonly configService; constructor(workspaceService: WorkspaceService, configService: ConfigService); listWorkspaces(): Promise<{ success: boolean; data: string[]; }>; getCurrentWorkspace(): Promise<{ success: boolean; data: string; }>; listDocuments(workspace: string, path?: string): Promise<{ success: boolean; data: import("./workspace.service.js").WorkspaceItem[]; }>; serveFile(workspace: string, path: string, download: string, res: Response): Promise; deleteDocument(workspace: string, path: string): Promise<{ success: boolean; }>; }