import { CodeError } from '@iotize/common/error'; import { TapResponseStatusError } from '@iotize/tap'; import { TapBundle } from './target-variable/tap-bundle/tap-bundle'; import { TapVariable } from './target-variable/tap-variable/tap-variable'; import { EditableValueDataStreamInterface, KeyTypeType } from './utility/editable-data-stream'; export declare class TapDataError extends CodeError { cause?: Error | undefined; constructor(msg: string, code: TapDataError.Code, cause?: Error | undefined); static unexpectedEncodedValueError(variable: EditableValueDataStreamInterface, rawData: any, err: Error | any): TapDataError; static unexpectedVariableDataRead(variable: EditableValueDataStreamInterface, rawData: any, err: Error | any): TapDataError; static bundleNotFound(key: KeyType): TapDataError; static variableNotFound(key: KeyType): TapDataError; static bundleNotConfigured(config: TapBundle.Config, err: TapResponseStatusError): TapDataError; static variableNotConfigured(config: TapVariable.Config, err: TapResponseStatusError): TapDataError; } export declare namespace TapDataError { enum Code { UnexpectedVariableData = "TapDataErrorUnexpectedVariableData", UnexpectedEncodedValueError = "TapDataErrorUnexpectedEncodedValueError", BundleNotFound = "TapDataErrorBundleNotFound", VariableNotFound = "TapDataErrorVariableNotFound", BundleNotConfigured = "TapDataErrorBundleNotConfigured", VariableNotConfigured = "TapDataErrorVariableNotConfigured" } }