import { CreateChannelParams, UpdateChannelParams } from '@statechannels/client-api-schema'; import { Uint256 } from '@statechannels/nitro-protocol'; import { BigNumberish } from 'ethers'; import { CreateLedgerChannelParams } from '../src/wallet'; export declare type CreateChannelStep = { type: 'CreateChannel'; serverId: string; jobId: string; timestamp: number; channelParams: Omit; fundingInfo: FundingInfo; }; export declare type FundingInfo = { type: 'Direct'; } | { type: 'Ledger'; fundingLedgerJob: string; }; export declare type CreateLedgerChannelStep = { serverId: string; type: 'CreateLedgerChannel'; jobId: string; timestamp: number; ledgerChannelParams: Omit; }; export declare type CloseChannelStep = { serverId: string; type: 'CloseChannel'; jobId: string; timestamp: number; }; export declare type UpdateChannelStep = { serverId: string; type: 'UpdateChannel'; jobId: string; timestamp: number; updateParams: Omit; }; export declare type Step = CreateLedgerChannelStep | CreateChannelStep | CloseChannelStep | UpdateChannelStep; /** * A job is just a collection of steps all with the same job id */ export declare type Job = Step[]; export declare type Peer = { serverId: string; messagePort: number; loadServerPort: number; }; export declare type Peers = Peer[]; /** * These are the basic options the load node needs to start running */ export declare type LoadNodeConfig = { messagePort: number; loadServerPort: number; serverId: string; }; /** * A simple object that represents a link between a jobId and a channelId */ export declare type JobChannelLink = { jobId: string; channelId: string; }; /** * This is the data expected to be defined for a role. * Each role represents a different wallet. */ export declare type RoleConfig = { databaseName: string; messagePort: number; loadServerPort: number; ganachePort: number; chainId: number; artifactFile: string; privateKey: string; chainPrivateKey: string; destination: string; }; export declare type ChainState = { accounts: Record; contracts: Record<'NITRO_ADJUDICATOR_ADDRESS', { balance: Uint256; address: string; }>; }; export declare type Assertion = { expected: BigNumberish; actual: BigNumberish; description: string; }; //# sourceMappingURL=types.d.ts.map