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. `getLogContent`/`searchLogs` require the private key — the public key used by * `monitor`/`logRequest` will 401 here. */ export declare function getLogClient(opts?: { clientId?: string; }): Promise; /** * Maps an error thrown by `Coolhand#getLogContent`/`searchLogs` to a `CliError` with a clear, * actionable message — a 401 means the stored private key was rejected (mirrors `feedback-client.ts`'s * hint), a 404 uses the caller-supplied message (e.g. `Log "x" not found`). */ export declare function mapLogHttpError(err: unknown, notFoundMessage: string): CliError; //# sourceMappingURL=log-client.d.ts.map