import { SourceRecord } from "../source.js";
import { GetMetadataBaseOptions } from "../metadata-types.js";

//#region src/lib/sources/metascope.d.ts
type MetascopeInfo = {
  /** Total scan duration in milliseconds. */durationMs: number; /** Resolved options used for this scan (credentials excluded). */
  options: Omit<GetMetadataBaseOptions, 'credentials'>; /** ISO 8601 timestamp of when the scan was performed. */
  scannedAt: string; /** Version of the metascope library used. */
  version: string; /** Workspaces Resolved */
  workspaceDirectories: string[];
};
type MetascopeData = SourceRecord<MetascopeInfo> | undefined;
//#endregion
export { MetascopeData };