import { ByteString, FixedArray } from 'scrypt-ts'; import { MAX_STATE } from '../contracts/utils/txUtil'; export type ProtocolStateList = FixedArray; export declare class ProtocolState { dataList?: ProtocolStateList; stateHashList: ProtocolStateList; private constructor(); get hashRoot(): ByteString; get stateScript(): Uint8Array; static toStateHashList(dataList: ProtocolStateList): ProtocolStateList; static fromDataList(dataList: ProtocolStateList): ProtocolState; static fromStateHashList(stateHashList: ProtocolStateList): ProtocolState; static getEmptyState(): ProtocolState; updateDataList(index: number, data: ByteString): void; static extractHashRootFromScript(script: Uint8Array): ByteString; } //# sourceMappingURL=state.d.ts.map