import type { RollupCheatCodes } from '@aztec/aztec/testing';
import type { CheckpointNumber } from '@aztec/foundation/branded-types';
import type { Logger } from '@aztec/foundation/log';
import { type AztecNodeAdmin, type AztecNodeAdminConfig } from '@aztec/stdlib/interfaces/client';
import type { TestConfig } from './config.js';
export declare function awaitCheckpointNumber(rollupCheatCodes: RollupCheatCodes, checkpointNumber: CheckpointNumber, timeoutSeconds: number, log: Logger): Promise<void>;
/**
 * Waits until the proven block number increases.
 *
 * @param rpcUrl - URL of an Aztec RPC node to query
 * @param log - Logger instance
 * @param timeoutSeconds - Maximum time to wait
 * @param pollIntervalSeconds - How often to check
 */
export declare function waitForProvenToAdvance(rpcUrl: string, log: Logger, timeoutSeconds?: number, pollIntervalSeconds?: number): Promise<void>;
export declare function getSequencers(namespace: string): Promise<string[]>;
export declare function updateSequencersConfig(env: TestConfig, config: Partial<AztecNodeAdminConfig>): Promise<AztecNodeAdminConfig[]>;
export declare function getSequencersConfig(env: TestConfig): Promise<AztecNodeAdminConfig[]>;
export declare function withSequencersAdmin<T>(env: TestConfig, fn: (node: AztecNodeAdmin) => Promise<T>): Promise<T[]>;
export declare function initHADb(namespace: string): Promise<void>;
/**
 * Enables or disables probabilistic transaction dropping on validators and waits for rollout.
 * Wired to env vars P2P_DROP_TX and P2P_DROP_TX_CHANCE via Helm values.
 */
export declare function setValidatorTxDrop({ namespace, enabled, probability, logger: log }: {
    namespace: string;
    enabled: boolean;
    probability: number;
    logger: Logger;
}): Promise<void>;
export declare function restartValidators(namespace: string, log: Logger): Promise<void>;
export declare function enableValidatorDynamicBootNode(instanceName: string, namespace: string, spartanDir: string, log: Logger): Promise<void>;
/**
 * Rolls the Aztec pods in the given namespace.
 * @param namespace - The namespace to roll the Aztec pods in.
 * @param clearState - If true, also deletes the underlying PVCs to clear persistent storage.
 *        This is required for rollup upgrades where the old state is incompatible with the new rollup.
 *        Defaults to false, which preserves the existing storage.
 */
export declare function rollAztecPods(namespace: string, clearState?: boolean): Promise<void>;
//# sourceM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