/** * Variant accessors for `/slurp`. Two narrowed modes (`appearances`, * `count`) plus the base call. `count` is only valid in * `appearances` mode per the chifra docs — the variant sets both. */ import type { RequestFn } from '../client.js'; import type { components } from '../generated.js'; import { type Query, type VerbFn } from '../verbs.js'; type SlurpQuery = Query<'/slurp'>; type Envelope = { data?: T[]; }; export interface SlurpVerb extends VerbFn<'/slurp'> { /** `?appearances=true` — return only blocknumber.tx_id appearances. */ appearances: (query: Omit) => Promise>; /** `?appearances=true&count=true` — count of slurped appearances only. */ count: (query: Omit) => Promise>; } export declare function makeSlurpVerb(request: RequestFn): SlurpVerb; export {}; //# sourceMappingURL=slurp.d.ts.map