/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ export declare enum ReplayErrorType { ActionUndefined = "ActionUndefined", EntityUndefined = "EntityUndefined", APIBadCard = "APIBadCard", APIMalformed = "APIMalformed", APIUndefined = "APIUndefined", APIException = "APIException", EntityEmpty = "EntityEmpty", EntityUnexpectedMultivalue = "EntityUnexpectedMultivalue", ActionUnavailable = "ActionUnavailable", ActionAfterWait = "ActionAfterWait", TwoUserInputs = "TwoUserInputs", InputAfterNonWait = "InputAfterNonWait", Exception = "Exception", EntityDiscrepancy = "EntityDiscrepancy", SetEntityException = "SetEntityException" } export declare enum ReplayErrorLevel { WARNING = "WARNING", ERROR = "ERROR", BLOCKING = "BLOCKING" } export declare class ReplayError { type: ReplayErrorType; errorLevel: ReplayErrorLevel; constructor(type: ReplayErrorType, errorLevel: ReplayErrorLevel); } export declare class ReplayErrorActionUndefined extends ReplayError { lastUserInput: string; constructor(lastUserInput: string); } export declare class ReplayErrorEntityUndefined extends ReplayError { value: string; constructor(value: string); } export declare class ReplayErrorAPIBadCard extends ReplayError { constructor(); } export declare class ReplayErrorAPIMalformed extends ReplayError { constructor(); } export declare class ReplayErrorAPIUndefined extends ReplayError { value: string; constructor(value: string); } export declare class ReplayErrorAPIException extends ReplayError { constructor(); } export declare class ReplayErrorEntityEmpty extends ReplayError { values: string[]; constructor(values: string[]); } export declare class EntityUnexpectedMultivalue extends ReplayError { entityName: string; constructor(entityName: string); } export declare class ReplayErrorActionUnavailable extends ReplayError { lastUserInput: string; constructor(lastUserInput: string); } export declare class ReplayErrorEntityDiscrepancy extends ReplayError { lastUserInput: string; originalEntities: string[]; newEntities: string[]; constructor(lastUserInput: string, originalEntities: string[], newEntities: string[]); } export declare class ReplayErrorActionAfterWait extends ReplayError { constructor(); } export declare class ReplayErrorTwoUserInputs extends ReplayError { constructor(); } export declare class ReplayErrorInputAfterNonWait extends ReplayError { constructor(); } export declare class ReplayErrorException extends ReplayError { constructor(); } export declare class ReplaySetEntityException extends ReplayError { constructor(); }