import { Address, PublicClient } from 'viem'; import { PrivateKeyAccount } from 'viem/accounts'; import { RollupCreatorSupportedVersion } from './types/createRollupTypes'; type PrivateKeyAccountWithPrivateKey = PrivateKeyAccount & { privateKey: `0x${string}`; }; type NitroTestNodePrivateKeyAccounts = { deployer: PrivateKeyAccountWithPrivateKey; l2RollupOwner: PrivateKeyAccountWithPrivateKey; l3RollupOwner: PrivateKeyAccountWithPrivateKey; l3TokenBridgeDeployer: PrivateKeyAccountWithPrivateKey; l2TokenBridgeDeployer: PrivateKeyAccountWithPrivateKey; }; export declare function getNitroTestnodePrivateKeyAccounts(): NitroTestNodePrivateKeyAccounts; type TestnodeInformation = { bridge: Address; rollup: Address; sequencerInbox: Address; l3SequencerInbox: Address; l3Bridge: Address; batchPoster: Address; l3BatchPoster: Address; l3UpgradeExecutor: Address; l3Rollup: `0x${string}`; l3NativeToken: `0x${string}`; }; export declare function getInformationFromTestnode(): TestnodeInformation; export declare function createRollupHelper({ deployer, batchPosters, validators, nativeToken, client, rollupCreatorVersion, }: { deployer: PrivateKeyAccountWithPrivateKey; batchPosters: Address[]; validators: Address[]; nativeToken: Address; client: PublicClient; rollupCreatorVersion?: TRollupCreatorVersion; }): Promise<{ createRollupConfig: TRollupCreatorVersion extends "v2.1" ? { confirmPeriodBlocks: bigint; extraChallengeTimeBlocks: bigint; stakeToken: `0x${string}`; baseStake: bigint; wasmModuleRoot: `0x${string}`; owner: `0x${string}`; loserStakeEscrow: `0x${string}`; chainId: bigint; chainConfig: string; genesisBlockNum: bigint; sequencerInboxMaxTimeVariation: { delayBlocks: bigint; futureBlocks: bigint; delaySeconds: bigint; futureSeconds: bigint; }; } : { confirmPeriodBlocks: bigint; stakeToken: `0x${string}`; baseStake: bigint; wasmModuleRoot: `0x${string}`; owner: `0x${string}`; loserStakeEscrow: `0x${string}`; chainId: bigint; chainConfig: string; minimumAssertionPeriod: bigint; validatorAfkBlocks: bigint; miniStakeValues: readonly bigint[]; sequencerInboxMaxTimeVariation: { delayBlocks: bigint; futureBlocks: bigint; delaySeconds: bigint; futureSeconds: bigint; }; layerZeroBlockEdgeHeight: bigint; layerZeroBigStepEdgeHeight: bigint; layerZeroSmallStepEdgeHeight: bigint; genesisAssertionState: { globalState: { bytes32Vals: readonly [`0x${string}`, `0x${string}`]; u64Vals: readonly [bigint, bigint]; }; machineStatus: number; endHistoryRoot: `0x${string}`; }; genesisInboxCount: bigint; anyTrustFastConfirmer: `0x${string}`; numBigStepLevel: number; challengeGracePeriodBlocks: bigint; bufferConfig: { threshold: bigint; max: bigint; replenishRateInBasis: bigint; }; dataCostEstimate: bigint; }; createRollupInformation: import("./createRollup").CreateRollupResults; }>; export declare function testHelper_createCustomParentChain(params?: { id?: number; }): { id: number; name: string; network: string; nativeCurrency: { name: string; symbol: string; decimals: number; }; rpcUrls: { public: { http: string[]; }; default: { http: string[]; }; }; contracts: { rollupCreator: { address: `0x${string}`; }; tokenBridgeCreator: { address: `0x${string}`; }; weth: { address: "0xabaF3D9f5cbDcE54cDc43b429d8f7154A3E19Afa"; }; }; }; export declare function testHelper_getRollupCreatorVersionFromEnv(): RollupCreatorSupportedVersion; export {};