import { OperationStatus } from "./operationStatus"; /** * Optional options used to display a status message upon progress operation completion. */ export interface ICompletedOptions { /** * The toast message. */ message?: string; /** * The toast title; */ title?: string; /** * The operation's final status. */ status?: OperationStatus; /** * If the operation ended in error, the error object in question. */ error?: Error; /** * Whether the outputted error message should be surrounded in qoutemarks. * Useful if the output error message is a rich html error. * Only applies to error messages where the error is passed through the `message` option. */ cleanError?: boolean; }