export declare const scriptOrderDetails = "\nimport NFTStorefrontV2 from address\n\n// This script returns the details for a listing within a storefront\naccess(all)\nfun main(storefrontAddress: Address, listingResourceID: UInt64): NFTStorefrontV2.ListingDetails {\n let storefrontRef = getAccount(storefrontAddress).capabilities.borrow<&{NFTStorefrontV2.StorefrontPublic}>(\n NFTStorefrontV2.StorefrontPublicPath\n ) ?? panic(\"Could not borrow public storefront from address\")\n let listing = storefrontRef.borrowListing(listingResourceID: listingResourceID)\n ?? panic(\"No listing with that ID\")\n\n return listing.getDetails()\n}\n";