import type { APIPromise, HttpClient } from "../http.js"; import type { NetworkId } from "../chains/index.js"; import type { FeedbackListResponse, FeedbackSubmitInput, FeedbackSubmitResponse, FeedbackSummary, FeedbackTarget } from "../types/index.js"; type FeedbackWithoutTarget = Omit; export declare class FeedbackResource { private readonly client; private readonly ctx; constructor(client: HttpClient, ctx: { getWalletMaybe(): { address: string | null; network: NetworkId | null; }; getTokenMaybe(): string | null; }); /** * Submit feedback against a stable Compose target. * * The SDK attaches the current Compose Key when present. Without a key it * still sends the attached wallet headers, so the API can distinguish * key, wallet-header, and anonymous feedback. */ submit(input: FeedbackSubmitInput): APIPromise; list(target: FeedbackTarget, opts?: { limit?: number; }): APIPromise; summary(target: FeedbackTarget, opts?: { recentLimit?: number; }): APIPromise; model(modelId: string, input: FeedbackWithoutTarget): APIPromise; agent(agentWallet: string, input: FeedbackWithoutTarget): APIPromise; workflow(workflowWallet: string, input: FeedbackWithoutTarget): APIPromise; x402(targetId: string, input: FeedbackWithoutTarget): APIPromise; endpoint(targetId: string, input: FeedbackWithoutTarget): APIPromise; } export {}; //# sourceMappingURL=feedback.d.ts.map