import { BrandedString, EthereumAddress } from '@streamr/utils';
import { RpcProviderSource } from '../RpcProviderSource';
import { ContractFactory } from './ContractFactory';
export declare const SUCCESS_MAGIC_VALUE = "0x1626ba7e";
export type CacheKey = BrandedString<string>;
export declare class ERC1271ContractFacade {
    private readonly contractsByAddress;
    private readonly publisherCache;
    constructor(contractFactory: ContractFactory, rpcProviderSource: RpcProviderSource);
    isValidSignature(contractAddress: EthereumAddress, payload: Uint8Array, signature: Uint8Array): Promise<boolean>;
}
