Barnes & Noble will soon be wining and dining its customers — literally.

As sales of books, Nooks and other printed matter continue to decline, the 640-store chain on Thursday moved closer to becoming a business leaning more heavily on food.

It outlined plans to incorporate a bar-restaurant, double the size of its current Starbucks footprint, into several remodeled stores — offering customers pinot grigio, merlot and beer, alongside food prepared by a chef.

In October, the first such store will open in Eastchester, NY, a leafy Big Apple suburb in Westchester County.

In the new stores, customers will be able to sit at a bar stool, be served by a bartender or sit at a table and order from a full menu covering breakfast, lunch and dinner.

That store will also have an outdoor fire pit and a bocce court.

“Our new cafes will be a major commitment to hospitality and will contribute a larger percentage of sales in our stores,” said Jaime Carey, president of the company’s new restaurant group, at an investor day meeting on Thursday.

Carey was previously chief operating officer. B&N has also hired an executive chef.

B&N will open another three of the still-unnamed bar-restaurants — in Edina, Minn., Folsom, Calif., and Loudon, Va.

The plan is to test the concept in those stores and expand it to other locations.

“Our goal was to develop a better bookstore that provides more public space,” Carey said, and “where books are still the hero.”

On Tuesday, B&N reported that sales in the three months ended April 30 fell 3.7 percent — the eighth straight quarterly sales decline.

Despite the weak results, B&N shares rose 7.9 percent on Thursday to $11.26.