import { Coolhand } from 'coolhand-node'; import { CliError } from '../errors.js'; /** * Resolves the CLI's stored client and returns a `Coolhand` instance authenticated with its * *private* key. `searchFeedback`/`getFeedback` (coolhand-node#89) require the private key — the * public key used by `wildcard`/`createFeedback` will 401 here. */ export declare function getFeedbackClient(opts?: { clientId?: string; }): Promise; /** * Maps an error thrown by `Coolhand#searchFeedback`/`getFeedback` to a `CliError` with a clear, * actionable message — a 401 means the stored private key was rejected (mirrors `mcp-call.ts`'s * hint), a 404 uses the caller-supplied message (e.g. "Feedback \"x\" not found"). */ export declare function mapFeedbackHttpError(err: unknown, notFoundMessage: string): CliError; //# sourceMappingURL=feedback-client.d.ts.map