import { StreamMessage } from './exports';
import { MessageID } from './protocol/MessageID';
export type StreamrClientErrorCode = 'STREAM_NOT_FOUND' | 'NODE_NOT_FOUND' | 'MISSING_PERMISSION' | 'NO_STORAGE_NODES' | 'INVALID_ARGUMENT' | 'CLIENT_DESTROYED' | 'PIPELINE_ERROR' | 'UNSUPPORTED_OPERATION' | 'INVALID_MESSAGE_CONTENT' | 'INVALID_STREAM_METADATA' | 'INVALID_SIGNATURE' | 'INVALID_PARTITION' | 'DECRYPT_ERROR' | 'STORAGE_NODE_ERROR' | 'UNKNOWN_ERROR' | 'ASSERTION_FAILED' | 'SIGNATURE_POLICY_VIOLATION' | 'ENCRYPTION_POLICY_VIOLATION';
export declare class StreamrClientError extends Error {
    readonly code: StreamrClientErrorCode;
    readonly messageId?: MessageID;
    constructor(message: string, code: StreamrClientErrorCode, streamMessage?: StreamMessage);
}
