import { EthereumProvider } from '../providers/ethereum-provider'; import { Subscription } from '../subscriptions'; export declare class Shh { private provider; readonly request: ShhRequestPayloads; constructor(provider: EthereumProvider); private send; getVersion(): Promise; getInfo(): Promise; setMaxMessageSize(size: number): Promise; setMinPoW(pow: number): Promise; markTrustedPeer(enode: string): Promise; newKeyPair(): Promise; addPrivateKey(privateKey: string): Promise; deleteKeyPair(id: string): Promise; hasKeyPair(id: string): Promise; getPublicKey(id: string): Promise; getPrivateKey(id: string): Promise; newSymKey(): Promise; addSymKey(symKey: string): Promise; generateSymKeyFromPassword(password: string): Promise; hasSymKey(id: string): Promise; getSymKey(id: string): Promise; deleteSymKey(id: string): Promise; newMessageFilter(options: SubscriptionOptions): Promise; getFilterMessages(id: string): Promise; deleteMessageFilter(id: string): Promise; post(post: Post): Promise; subscribeMessages(options: SubscriptionOptions): Subscription; subscribe(type: 'messages', options: SubscriptionOptions): Subscription; }