UNPKG

@signalapp/mock-server

Version:
9 lines (8 loc) 323 B
import { signalservice as Proto } from '../../protos/compiled'; export type Attachment = { key: Buffer<ArrayBuffer>; blob: Buffer<ArrayBuffer>; digest: Buffer<ArrayBuffer>; size: number; }; export declare function attachmentToPointer(cdnKey: string, attachment: Attachment): Proto.AttachmentPointer.Params;