import Response, { IResponse } from './Response'; import { ExtNode } from './types'; export interface IResponses { [index: string]: IResponse; } export interface IMultiStatus { getResponse: (name: string) => IResponse; getResponseNames: () => string[]; } export default class Multistatus implements IMultiStatus { _responses: IResponses; responsedescription: string | null; value: null; constructor(xmlNode: ExtNode); addResponse(response: Response): this; getResponse: (name: string) => IResponse; getResponseNames: () => string[]; }