import { providers } from 'ethers'; import { Address, PrivateKey, SignedState, State } from '@statechannels/wallet-core'; import { Bytes32 } from '../type-aliases'; import { ChainEventSubscriberInterface, ChainRequest, ChainServiceInterface, FundChannelArg } from './'; export declare class MockChainService implements ChainServiceInterface { handleChainRequests(chainRequests: ChainRequest[]): Promise; checkChainId(_networkChainId: number): Promise; fundChannel(_arg: FundChannelArg): Promise; registerChannel(_channelId: Bytes32, _assetHolders: Address[], _subscriber: ChainEventSubscriberInterface): void; unregisterChannel(_channelId: Bytes32): void; concludeAndWithdraw(_finalizationProof: SignedState[]): Promise; withdraw(_state: State): Promise; challenge(_challengeStates: SignedState[], _privateKey: PrivateKey): Promise; fetchBytecode(_appDefinition: string): Promise; destructor(): void; } export declare class ErorringMockChainService extends MockChainService { withdraw(_state: State): Promise; } //# sourceMappingURL=mock-chain-service.d.ts.map