import type { ContextExState } from '@ariestools/sdk-react/shared'; import type { Payload } from '@xyo-network/sdk'; import type { Dispatch, SetStateAction } from 'react'; /** Payload resolved by hash: present, missing (`null`), or not yet loaded (`undefined`). */ export type PayloadFromHash = Payload | null | undefined; /** Context state for a single payload loaded by hash. */ export type PayloadContextState = ContextExState<{ clearPayload?: () => void; payload?: PayloadFromHash; payloadError?: Error; refreshPayload?: () => void; setPayload?: Dispatch>; }>; //# sourceMappingURL=State.d.ts.map