function legacy_rest_props(props, exclude) {
	return new Proxy({ props, exclude, special: {}, version: source(0) }, legacy_rest_props_handler);
}
@param {Record<string, unknown>} props
@param {string[]} exclude
@returns {Record<string, unknown>}