The US Congress is set to vote on a bipartisan, budget agreement reached earlier this week in the Senate, in a bid to avoid a government shutdown.

The budget bill, which was unveiled by Republican and Democratic senators on Wednesday, was welcomed as a rare showing of political cooperation in Washington, which has been plagued by months of squabbling.

The deal would lift spending caps on US defence and domestic programmes by about $300bn, AP news agency said this week.

The Senate is expected to vote first on the plan, AP said, and then send it to the House of Representatives. The bill will then go to the president to be signed into law.

Both votes will take place on Thursday, ahead of a midnight deadline for a government shutdown, the newspaper said.

On Wednesday, the White House said it supported the bill.

"This bill achieves our top priority, a much-needed increase in funding for our national defence," White House Press Secretary Sarah Sanders told reporters.

The deal also provides almost $90bn for disaster relief efforts in Texas, Florida and Puerto Rico, which have been hard-hit by hurricanes in the last year.

I'm happy to announce that our bipartisan, bicameral negotiations on defense spending and other priorities have yielded a significant agreement. Thank you @SenSchumer for joining me this afternoon, and for the productive discussions that generated this proposal. — Leader McConnell (@SenateMajLdr) February 7, 2018

On Wednesday, Republican Mitch McConnell, the Senate majority leader who spearheaded the bill alongside Democratic Senator Chuck Schumer, said the agreement was "a significant, bipartisan step forward".

Meanwhile, Senate Democrats said the deal would help fund infrastructure projects, as well as support mental health services and programmes to tackle the country's ongoing opioid drug crisis.

The budget deal is a win for the American people. It will do so much good for our military, for so many middle-class Americans, and finally consign the arbitrary and pointless sequester caps to the ash heap of history. pic.twitter.com/5AkwxOTUz6 — Chuck Schumer (@SenSchumer) February 7, 2018

"Very pleased to announce alongside @SenateMajLdr that we have reached a two-year budget deal that will benefit our country in so many ways," Schumer wrote on Twitter, referring to McConnell.

Immigration concerns

Left-wing US news outlet ThinkProgress said Senate Democrats had pried a "$131bn increase for non-defense programmes" out of their Republican counterparts "in exchange for leaving out a key programme protecting about 800,000 undocumented immigrants".

Democrats had previously insisted that any budget legislation must address immigration, including specific protection for young, undocumented immigrants who were brought to the US as children.

President Donald Trump ended the Deferred Action on Childhood Arrivals (DACA) programme in September last year, which had protected the youth - better known as Dreamers - from deportation.

The budget bill allocates $4.9bn over two years for Medicaid health services in Puerto Rico and the US Virgin Islands, $2bn a year to help reduce the cost of college and $14bn annually for community development grants, Think Progress reported.

"Last month, Schumer's team was willing to force a government shutdown to enforce the broader party's insistence that DACA be a part of spending and budgeting deals. That resistance cracked within a matter of days, however," it said.

But Democratic House minority leader Nancy Pelosi said she would not support the budget without guarantees from Republicans to protect those previously shielded from deportation by DACA.

Pelosi spoke about the Dreamers for a record eight hours on the House floor on Wednesday.

"We achieved the recognition of what the Dreamers mean to America," she told reporters afterwards. "They are a reflection of all the immigrants that have come before."

We are demanding a commitment from @SpeakerRyan to advance bipartisan legislation to #ProtectDREAMers like that given by @SenateMajLdr. — Nancy Pelosi (@NancyPelosi) February 7, 2018

The budget agreement "does not have my support, nor does it have the support of a large number of members of our caucus", Pelosi said, as reported by AP.

The bill needs the support of House Democrats because fiscally conservative Republicans are expected to oppose it over the increase in domestic spending.

"This spending bill is a debt junkie's dream," Republican legislator Mo Brooks said, as reported by the Washington Post this week. "I'm not only a no; I'm a hell no."