mac: bundle web chat assets
This commit is contained in:
19
apps/macos/Sources/Clawdis/Resources/WebChat/utils/attachment-utils.d.ts
vendored
Normal file
19
apps/macos/Sources/Clawdis/Resources/WebChat/utils/attachment-utils.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
export interface Attachment {
|
||||
id: string;
|
||||
type: "image" | "document";
|
||||
fileName: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
content: string;
|
||||
extractedText?: string;
|
||||
preview?: string;
|
||||
}
|
||||
/**
|
||||
* Load an attachment from various sources
|
||||
* @param source - URL string, File, Blob, or ArrayBuffer
|
||||
* @param fileName - Optional filename override
|
||||
* @returns Promise<Attachment>
|
||||
* @throws Error if loading fails
|
||||
*/
|
||||
export declare function loadAttachment(source: string | File | Blob | ArrayBuffer, fileName?: string): Promise<Attachment>;
|
||||
//# sourceMappingURL=attachment-utils.d.ts.map
|
||||
Reference in New Issue
Block a user