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