import { StreamMessage } from '@streamr/protocol';
import { StreamRegistry } from '../registry/StreamRegistry';
export declare const validateStreamMessage: (msg: StreamMessage, streamRegistry: StreamRegistry) => Promise<void>;
/**
 * Checks that the signature in the given StreamMessage is cryptographically valid.
 * Resolves if valid, rejects otherwise.
 *
 * @param streamMessage the StreamMessage to validate.
 */
export declare const assertSignatureIsValid: (streamMessage: StreamMessage) => void;
