The details of a bipartisan border deal package includes about $1.3 billion for 55 miles of construction at the US -Mexico border and $415 million in “humanitarian relief” for border crossers.

The bipartisan offer is much less than the $5.7 billion that President Trump requested in border wall funding. Meanwhile, about $100 million will fund “new border security technology.”

The full text of 1,159-page border security compromise can be read here.

The offer includes $415 million in “humanitarian relief specifically for medical care, transportation, food, and cloth” and funds “humanitarian improvements” for the McAllen, Texas, processing center and for a new El Paso, Texas U.S. Border Patrol processing center.

Besides, the spending deal attempts to reduce overall detention of border crossers and illegal aliens by limiting the number of beds at federal detention centers to only 40,250 — far less than the 52,000 the Trump administration requested.

Lawmakers have until 11:59 p.m. Friday to get the agreement through both houses of Congress and signed by Trump before what would be the second partial government shutdown this year.

Trump said Tuesday he would need more time to study the plan, but he also declared he was not expecting another shutdown this weekend when funding for parts of the government would run out.

“I can’t say I’m happy. I can’t say I’m thrilled,” Trump said of the proposed deal. “But the wall is getting built, regardless. It doesn’t matter because we’re doing other things beyond what we’re talking about here.”

Later, the President tweeted thanking “all Republicans for the work you have done in dealing with the Radical Left on Border Security.”

“I hope he signs the bill,” said Senate Majority Leader Mitch McConnell, who joined other GOP leaders in selling it as a necessary compromise that represented a major concession from Democrats.

Appropriations Committee Chairman Richard Shelby, R-Ala., expressed optimism Trump would be on board.

“We believe from our dealings with them and the latitude they’ve given us, they will support it,” he said. “We certainly hope so.”

“I’m sure it’s going to pass. I don’t know of any drama,” said House Democrats’ chief vote-counter, Rep. James Clyburn, D-S.C.

Video: President Trump wants details of border deal