/** * Returns `true` if the given failed response means the token lacks the scope * required for the resource. * * 403 is accepted alongside 401 so that a future backend fix to the status code * does not require a coordinated frontend release. * * The response body is read from a clone, so the caller's body stays unconsumed. * Any parse failure returns `false`, which degrades to the generic error message * rather than throwing inside a render path. */ export declare function isAccessDenied(response: Response): Promise;