import { GlideRecord } from "./GlideRecord.js"; import { GlideScriptableInputStream } from "./GlideScriptableInputStream.js"; export declare class GlideSysAttachment { constructor(); addAttribute(sysAttachmentID: string, attrKey: string, attrValue: string): void; addMultipleAttributes(sysAttachmentID: string, attrsKeyValuePair: Map): void; copy(sourceTable: string, sourceID: string, targetTable: string, targetID: string): Array; static copy(sourceTable: string, sourceID: string, targetTable: string, targetID: string): Array; deleteAllAttributes(sysAttachmentID: string): boolean; deleteAttachment(sysAttachmentID: string): void; deleteAttribute(sysAttachmentID: string, attrKey: string): boolean; fetchAllAttributes(sysAttachmentID: string): GlideRecord; fetchAttribute(sysAttachmentID: string, attrKey: string): GlideRecord; getAttachments(tableName: string, sys_id: string): GlideRecord; getContent(sysAttachment: GlideRecord): string; getContentBase64(sysAttachment: GlideRecord): string; getContentStream(sysAttachmentID: string): GlideScriptableInputStream; updateAllAttributes(sysAttachmentID: string, attrsKeyValuePair: Map): void; updateAttribute(sysAttachmentID: string, attrKey: string, attrValue: string): void; write(gr: GlideRecord, fileName: string, contentType: string, content: string): string; writeBase64(gr: GlideRecord, fileName: string, contentType: string, contentBase64: string): string; writeContentStream(gr: GlideRecord, fileName: string, contentType: string, is: GlideScriptableInputStream): string; } //# sourceMappingURL=GlideSysAttachment.d.ts.map