import type { Hash } from '@ariestools/sdk'; import type { ContextExState } from '@ariestools/sdk-react/shared'; import type { BoundWitness, ModuleError } from '@xyo-network/sdk'; /** Map of bound witness hashes to nested bound witness payloads. */ export type NestedBoundWitnesses = Record; /** Context state for fetching and stacking nested bound witness selections. */ export type HashSelectionHistoryState = ContextExState<{ addSelection?: (boundwitness?: BoundWitness | null) => Promise; clearHistory?: () => boolean; error?: ModuleError; fetchFromHash?: (hash?: Hash) => Promise; hashSelectionHistory?: Hash[]; nestedBoundWitnesses?: NestedBoundWitnesses; }>; //# sourceMappingURL=State.d.ts.map