FILE - In this Dec. 2, 2008 file photo, director Nora Ephron poses on the press line at "One Night Only...With a Little Help From Our Friends" benefiting UCLA School of Theater, Film and Television at Royce Hall in Los Angeles. Publisher Alfred A. Knopf confirmed Tuesday, June 26, 2012, that author and filmmaker Nora Ephron died Tuesday of leukemia. (AP Photo/Dan Steinberg, file)

Los Angeles - Writer and film director Nora Ephron, known for her work on movies such as When Harry Met Sally, has died in New York at age 71, according to media reports on Tuesday night, hours after it was first revealed that she was gravely ill and near death.

A spokesperson for her agency, Los Angeles-based Creative Artists Agency, declined to comment on the reports. Nicholas Latimer, a spokesperson at publishing company Random House, told Reuters Ephron was “gravely ill”.

He could not confirm reports that she had died, which was reported by The New York Times, The Washington Post and show business newspaper Daily Variety.

Earlier on Tuesday, New York based gossip columnist Liz Smith told entertainment industry website The Hollywood Reporter that she had spoken to Ephron's son, Jacob Bernstein, and the family is already planning a funeral.

“I was told this morning that she was dying, but I can't confirm it,” The Hollywood Reporter quoted Smith as saying.

ABC News posted a story on its website citing sources close to the family as telling the TV network Ephron is “gravely ill”.

Ephron, known for screenplays When Harry Met Sally, Sleepless In Seattle and more recently, Julie & Julia, which she also directed, had not publicly addressed suffering from any illness in recent months.

During a long career, Ephron has written for newspapers and magazines. She published books and essays, but is perhaps best known for her work in movies.

She was nominated for three Academy Awards for writing romantic the comedies Harry Met Sally, Sleepless in Seattle and drama Silkwood. - Reuters