import { Participant, Allocation, Address, ChannelResult } from '../data-types'; import { JsonRpcRequest, JsonRpcResponse, JsonRpcError } from '../jsonrpc-header-types'; import { ErrorCodes as AllErrors } from '../error-codes'; export declare type FundingStrategy = 'Direct' | 'Ledger' | 'Virtual' | 'Fake' | 'Unknown'; export interface CreateChannelParams { participants: Participant[]; allocations: Allocation[]; appDefinition: Address; appData: string; fundingStrategy: FundingStrategy; fundingLedgerChannelId?: Address; challengeDuration: number; } export declare type CreateChannelRequest = JsonRpcRequest<'CreateChannel', CreateChannelParams>; export declare type CreateChannelResponse = JsonRpcResponse; declare type ErrorCodes = AllErrors['CreateChannel']; declare type SigningAddressNotFound = JsonRpcError; declare type InvalidAppDefinition = JsonRpcError; export declare type CreateChannelError = SigningAddressNotFound | InvalidAppDefinition; export {}; //# sourceMappingURL=CreateChannel.d.ts.map