Rhino does not have a function that will select objects within a curve.
If you want to select all planar curves that are within a curve, then iterate the document, looking for curves, and then use the Rhino.Geometry.Curve.Contains function to get to see if the curve is inside of your target curve.
No, select your objects and then script the Export command.