import { SmartAPIKGOperationObject } from "./parser/types"; import { BuilderOptions, FilterCriteria } from "./types"; export default class MetaKG { private _ops; private _file_path; private _predicates_path; /** * constructor to build meta knowledge graph from SmartAPI Specifications */ constructor(path?: string, predicates_path?: string); set path(file_path: string); set predicates_path(file_path: string); get ops(): SmartAPIKGOperationObject[]; /** * Construct API Meta Knowledge Graph based on SmartAPI Specifications. * @param {boolean} includeReasoner - specify whether to include reasonerStdAPI into meta-kg */ constructMetaKG(includeReasoner?: boolean, options?: BuilderOptions): Promise; /** * Construct API Meta Knowledge Graph based on SmartAPI Specifications. * @param {string} tag - the SmartAPI tag to be filtered on */ constructMetaKGSync(includeReasoner?: boolean, options?: BuilderOptions): SmartAPIKGOperationObject[]; /** * Filter the Meta-KG operations based on specific criteria * @param {Object} - filtering criteria, each key represents the field to be quried */ filter(criteria: FilterCriteria): SmartAPIKGOperationObject[]; }