//#region src/lib/metadata-types.ts
/**
* Identity wrapper for type inference in config files.
* Use this in `metascope.config.ts` to get autocomplete on available fields.
* @example
* ```typescript
* import { defineTemplate } from 'metascope'
*
* export default defineTemplate(({ codemetaJson, github }) => ({
*   name: codemetaJson?.data.name,
*   stars: github?.data.stargazerCount,
* }))
* ```
*/
function defineTemplate(transform) {
	return transform;
}
/**
* Default values for optional fields in `GetMetadataBaseOptions`.
*/
const DEFAULT_GET_METADATA_OPTIONS = {
	absolute: true,
	offline: false,
	path: ".",
	recursive: false,
	respectIgnored: true,
	workspaces: true
};
//#endregion
export { DEFAULT_GET_METADATA_OPTIONS, defineTemplate };
