export declare class ForgeError extends Error {
    code: "auth" | "not-found" | "forbidden" | "rate-limited" | "unavailable" | "invalid" | "conflict";
    constructor(code: "auth" | "not-found" | "forbidden" | "rate-limited" | "unavailable" | "invalid" | "conflict", message: string);
}
/** The response and subprocess diagnostics may contain credentials or issue content. */
export declare function forgeFailure(status: number, rateLimited?: boolean): ForgeError;
