UNPKG

@enonic/mock-xp

Version:

Mock Enonic XP API JavaScript Library

10 lines (9 loc) 415 B
import type { ByteSource, BinaryAttachment as BinaryAttachmentInterface } from '@enonic-types/lib-value'; import { BinaryReference } from './BinaryReference'; export declare class BinaryAttachment implements BinaryAttachmentInterface { private byteSource; private reference; constructor(reference: string, byteSource: ByteSource); getReference(): BinaryReference; getByteSource(): ByteSource; }