Using a PDF file as an image fill for a rectangle

There is no way to use PDF as a fill in Figma. Moreover, there is no way to import a PDF file into Figma at all. You can convert it to a high-resolution PNG and import that.

Regarding the resource files that you deleted, if you want to download PNGs used as fills in Figma, you can do that via the Inspect tab.