/** * The code and the sentence the usage report carries for a failed call, so * the admin console can say why (the server bounds and scrubs both again). */ export declare function digestToolError(err: unknown): { code: string; message: string; }; /** * Turns a server error into something an agent can act on. A quota rejection * is not a bug: the agent should stop retrying and tell the user which limit * was hit, so it gets the numbers instead of a stack trace. */ export declare function formatToolError(err: unknown): string;