Files
clawdbot/apps/macos/Sources/Clawdis/Resources/WebChat/components/sandbox/AttachmentsRuntimeProvider.d.ts
2025-12-06 05:01:28 +01:00

17 lines
691 B
TypeScript

import type { Attachment } from "../../utils/attachment-utils.js";
import type { SandboxRuntimeProvider } from "./SandboxRuntimeProvider.js";
/**
* Attachments Runtime Provider
*
* OPTIONAL provider that provides file access APIs to sandboxed code.
* Only needed when attachments are present.
* Attachments are read-only snapshot data - no messaging needed.
*/
export declare class AttachmentsRuntimeProvider implements SandboxRuntimeProvider {
private attachments;
constructor(attachments: Attachment[]);
getData(): Record<string, any>;
getRuntime(): (sandboxId: string) => void;
getDescription(): string;
}
//# sourceMappingURL=AttachmentsRuntimeProvider.d.ts.map