import * as fsSync from "node:fs"; import * as fs from "node:fs/promises"; import { type LocatedManifestManager } from "@nodesecure/mama"; import { type SpdxUnidentifiedLicense, type SpdxFileLicenseConformance, type SpdxExtractedResult } from "./class/LicenseResult.class.ts"; export interface ExtractAsyncOptions { fsEngine?: typeof fs; } export declare function extractLicenses(manifestOrLocation: string | LocatedManifestManager, options?: ExtractAsyncOptions): Promise; export interface ExtractSyncOptions { fsEngine?: typeof fsSync; } export declare function extractLicensesSync(manifestOrLocation: string | LocatedManifestManager, options?: ExtractSyncOptions): SpdxExtractedResult; export type { SpdxUnidentifiedLicense, SpdxFileLicenseConformance, SpdxExtractedResult }; //# sourceMappingURL=extract.d.ts.map