import type { ContributorQueryResponse, SettlementRecord, SettlementVerifyResult } from './types.js'; /** Build the per-contributor query response. Returns null if the * contributor has no share on any axis — callers can surface that * distinctly from "the gateway returned a response, here it is". */ export declare function buildContributorQueryResponse(record: SettlementRecord, contributorDid: string, opts?: { gateway_jwks?: string; }): ContributorQueryResponse | null; /** Verify a contributor-query response end-to-end. Checks: * * (a) the embedded SettlementRecord passes S1–S4 * (b) each per_axis body's (leaf, leaf_index, merkle_path) reconstructs * `axis_root`, which matches `record.axes[X].axis_merkle_root` * (c) the claimed total_weight and contribution_count match the * record's per-axis contributor row * (d) settlement_record_hash recomputes * * Returns the same discriminated result type as `verifySettlementRecord`. */ export declare function verifyContributorQueryResponse(response: ContributorQueryResponse, options: { gatewayPublicKeyHex: string; }): SettlementVerifyResult; //# sourceMappingURL=contributor-query.d.ts.map