import * as json from "./json"; export interface IMerlinNotification { section: string; message: string; } export declare type MerlinResponse = { class: "return"; value: T; notifications: IMerlinNotification; } | { class: "failure"; value: string; notifications: IMerlinNotification; } | { class: "error"; value: string; notifications: IMerlinNotification; } | { class: "exception"; value: json.Value; notifications: IMerlinNotification; } | { class: "canceled"; value: string; }; export declare type Response = Promise>;