/// import FetchResult from '../common/models/FetchResult'; import ICas from './interfaces/ICas'; import ServiceVersionModel from '../common/models/ServiceVersionModel'; /** * Class that communicates with the underlying CAS using REST API defined by the protocol document. */ export default class Cas implements ICas { uri: string; private fetch; private serviceVersionFetcher; constructor(uri: string); write(content: Buffer): Promise; read(address: string, maxSizeInBytes: number): Promise; /** * Gets the service version. */ getServiceVersion(): Promise; }