export type DriveGwsRunner = (args: string[], options?: { signal?: AbortSignal; }) => Promise; export interface DriveToolServiceOptions { workspaceRoot?: string; runGws?: DriveGwsRunner; maxDownloadBytes?: number; } export interface UntrustedDriveEvidence { source: 'google-drive'; trust: 'untrusted_external_data'; instruction: string; data: T; } export interface DriveBrowseInput { folderId?: string; driveId?: string; query?: string; } export interface DriveFindFolderInput { driveId: string; path: string; } export interface DriveDownloadInput { fileId: string; fileName?: string; } export interface DriveUploadInput { localPath: string; folderId: string; fileName?: string; destinationCapability?: string; } export declare function asUntrustedDriveEvidence(data: T): UntrustedDriveEvidence; export declare class DriveToolService { private readonly workspaceRoot; private readonly downloadRoot; private readonly runGws; private readonly maxDownloadBytes; constructor(options?: DriveToolServiceOptions); listDrives(): Promise>>; browse(input: DriveBrowseInput): Promise>>; findFolder(input: DriveFindFolderInput): Promise<{ folderId: string; path: string; traversedFolderIds: string[]; }>; download(input: DriveDownloadInput, signal?: AbortSignal): Promise<{ path: string; fileName: string; }>; upload(input: DriveUploadInput): Promise<{ fileId: string; name: string; }>; } //# sourceMappingURL=drive-tools.d.ts.map