import { CachedBeaconStateAllForks } from "@lodestar/state-transition";
import { AllocSource, BufferPool } from "../util/bufferPool.js";
type ProcessStateBytesFn<T> = (stateBytes: Uint8Array) => Promise<T>;
export declare function serializeState<T>(state: CachedBeaconStateAllForks, source: AllocSource, processFn: ProcessStateBytesFn<T>, bufferPool?: BufferPool | null): Promise<T>;
export {};
//# sourceMappingURL=serializeState.d.ts.map