export declare enum ErrorType { INTEGRATION_ERROR = "IntegrationError" } export declare type ErrorInfo = { type: ErrorType; message: string; }; export declare const createError: (message: string) => ErrorInfo;