Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellObama calls on Senate not to fill Ginsburg's vacancy until after election Planned Parenthood: 'The fate of our rights' depends on Ginsburg replacement Progressive group to spend M in ad campaign on Supreme Court vacancy MORE (R-Ky.) has announced a deal with Senate Democrats to fund the government and set spending levels for defense and nondefense programs over the next two years.

The legislation would avert a government shutdown on Friday, when federal funding is due to expire, and boost defense and nondefense programs.

ADVERTISEMENT

It also lifts the debt ceiling to March 2019, which White House press secretary Sarah Huckabee Sanders hailed as a decision that would move Congress away from "crisis-to-crisis budgeting."

The deal is backed by McConnell and Senate Minority Leader Charles Schumer Chuck SchumerPelosi orders Capitol flags at half-staff to honor Ginsburg Ginsburg in statement before her death said she wished not to be replaced until next president is sworn in Democrats call for NRA Foundation to be prohibited from receiving donations from federal employees MORE (D-N.Y.), and will almost certainly be cleared as part of a stopgap funding measure by the Senate before a Feb. 8 deadline to prevent a shutdown.

It is not entirely sure the package will win enough support to pass the House, however.

It does not include language sheltering thousands of immigrants brought to the United States illegally as children who could face deportation next month.

House Minority Leader Nancy Pelosi Nancy PelosiPelosi: Ginsburg successor must uphold commitment to 'equality, opportunity and justice for all' Bipartisan praise pours in after Ginsburg's death Pelosi orders Capitol flags at half-staff to honor Ginsburg MORE (D-Calif.) says she will oppose the deal without a commitment from Speaker Paul Ryan Paul Davis RyanKenosha will be a good bellwether in 2020 At indoor rally, Pence says election runs through Wisconsin Juan Williams: Breaking down the debates MORE (R-Wis.) to consider legislation to protect "Dreamers" and other immigrants facing possible deportation next month.

Pelosi was in the midst of a floor speech running more than three hours in the House when McConnell announced the deal. McConnell has promised a floor debate on immigration in the Senate.

“Without a commitment from Speaker Ryan, comparable to the commitment from Leader McConnell, this package does not have my support,” Pelosi said in a statement.

Ryan is also likely to face defections from conservatives who oppose the Senate bill for various reasons. The more Republican votes he loses, the more leverage Pelosi has.

The Senate agreement would increase defense spending by $80 billion in 2018 and $85 billion in 2019, according to a Senate GOP aide, something McConnell hailed as an achievement.

“For the first time in years, our armed forces will have more of the resources they need to keep America safe. It will help us serve the veterans who bravely served us,” he said.

Overall, it provides $700 billion for defense spending for 2018 and $716 billion for 2019, according to the GOP aide.

Sen. Bob Corker Robert (Bob) Phillips CorkerHas Congress captured Russia policy? Tennessee primary battle turns nasty for Republicans Cheney clashes with Trump MORE (R-Tenn.), an outspoken budget hawk, however, said the defense increase was too much.

"Military spending and defense spending is far above the president's request," he said. "I'm all for supporting our military and I want to make sure they're funded properly. It's very difficult to have that big an increase in one year and then be able to use it wisely."

It provides a $131 billion increase for nondefense programs — $57 billion in new funding over the next two years above the cap established by the 2011 Budget Control Act.

It sets a nondefense funding cap for 2018 that is $117 billion higher than what President Trump Donald John TrumpObama calls on Senate not to fill Ginsburg's vacancy until after election Planned Parenthood: 'The fate of our rights' depends on Ginsburg replacement Progressive group to spend M in ad campaign on Supreme Court vacancy MORE requested in his 2018 budget request.

“After months of legislative logjams, this budget deal is a genuine breakthrough,” Schumer said on the Senate floor. “After months of fiscal brinksmanship, this budget deal is the first real sprout of bipartisanship.”

He proclaimed the deal has consigned “the pointless and arbitrary sequester caps to the ash heaps of history.”

The legislation would also provide between $80 billion and $90 billion in disaster relief for communities hit by hurricanes and wildfires, according to Senate Republican Whip John Cornyn John CornynBipartisan praise pours in after Ginsburg's death Chamber of Commerce endorses McSally for reelection Airline job cuts loom in battleground states MORE (Texas).

“I’m told it’s an improvement over the House version,” Cornyn said of the disaster relief.

It also includes a two-year reauthorization for community health centers, with $7 billion in total funding, and $6 billion to fight opioid addiction.

Other funding priorities are $4 billion to rebuild veterans’ hospitals and clinics, $2 billion for research at the National Institutes of Health and $20 billion for infrastructure programs.

In a big win for Democrats, it extends funding for the Children’s Health Insurance Program (CHIP) another four years on top of the six-year extension that Congress approved last month.

“American families with children who benefit with CHIP will now be able to rest easy for the next decade,” Schumer said.

He said that seniors and children would also benefit from the deal’s extension of various expiring tax provisions.

--This report was updated at 2:08 p.m.