/** * Variant accessors for `/export`. The chifra export endpoint is * the most polymorphic in the daemon's surface — a 15-type union. * We mirror the Go SDK's `ExportOptions.Export*()` family with one * narrowed method per boolean flag, plus the `approvalsLogs` combo * (`approvals: true` + `logs: true`) that returns logs scoped to * approval transactions. */ import type { RequestFn } from '../client.js'; import type { components } from '../generated.js'; import { type Query, type VerbFn } from '../verbs.js'; type ExportQuery = Query<'/export'>; type Envelope = { data?: T[]; }; export interface ExportVerb extends VerbFn<'/export'> { /** `?appearances=true` — list of appearances only. */ appearances: (query: Omit) => Promise>; /** `?receipts=true` — receipts instead of transactional data. */ receipts: (query: Omit) => Promise>; /** `?logs=true` — logs instead of transactional data. */ logs: (query: Omit) => Promise>; /** `?approvals=true` — token approval transactions for the address. */ approvals: (query: Omit) => Promise>; /** `?traces=true` — execution traces instead of transactional data. */ traces: (query: Omit) => Promise>; /** `?neighbors=true` — neighbor addresses. */ neighbors: (query: Omit) => Promise>; /** `?statements=true` — only accounting statements. */ statements: (query: Omit) => Promise>; /** `?transfers=true` — only ETH or token transfers. */ transfers: (query: Omit) => Promise>; /** `?assets=true` — list of assets that appeared in transfers. */ assets: (query: Omit) => Promise>; /** `?balances=true` — ETH balance change history. */ balances: (query: Omit) => Promise>; /** `?withdrawals=true` — staking withdrawals for the address. */ withdrawals: (query: Omit) => Promise>; /** `?count=true` (in appearances mode) — record count only. */ count: (query: Omit) => Promise>; /** * `?approvals=true&logs=true` — logs emitted by approval * transactions for the address. Combo of the `approvals` and * `logs` flags; returns the same `Log[]` shape as `.logs()` but * filtered to approval-emitting txs. */ approvalsLogs: (query: Omit) => Promise>; } export declare function makeExportVerb(request: RequestFn): ExportVerb; export {}; //# sourceMappingURL=export.d.ts.map