import type { Payload } from '@xyo-network/sdk'; import type { Dispatch } from 'react'; /** Consumes the payload diviner context. */ export declare const usePayloadDiviner: (required?: boolean) => Omit<{ diviner?: import("@xyo-network/sdk").PayloadDiviner; setDiviner?: Dispatch; } & { provided: true; }, "provided"> | Omit, "provided">; /** Divines a single payload for the given HURI using the context diviner. */ export declare const useDivinePayload: (huri?: string) => [T | undefined | null, Dispatch, Error | undefined]; /** Divines payloads for a list of HURIs using the context diviner. */ export declare const useDivinePayloads: (huriList: string[]) => [(T | null)[] | undefined, Dispatch<(T | null)[] | undefined>, Error[] | undefined]; //# sourceMappingURL=use.d.ts.map