import type { NodeInstance, Payload } from '@xyo-network/sdk'; import type { IndexedResultsConfig, PollingConfig } from '../../interfaces/index.js'; /** Creates a polling function that queries diviners for indexed results via a node. */ export declare const createDivineIndexedResultsPollingFunction: (node?: NodeInstance | null, config?: IndexedResultsConfig, pollDivinerConfig?: PollingConfig, onResult?: (result: T[] | null) => void) => { poll: () => Promise; setActive: (value: boolean) => void; }; //# sourceMappingURL=createDivineIndexedResultsPollingFunction.d.ts.map