/** * Author: Charuka Rathnayaka * Email: CharukaR@99x.io **/ import { AbstractDataExtractor } from './AbstractDataExtractor.js'; import { BasicLLMInferenceEngine } from '@optimaxer/web-core'; export declare class SLMDataExtractor extends AbstractDataExtractor { /** * extractData * This function extracts data from the given text using the SLM model. * @param text The text to extract data from. * @param schema The schema to extract data based on. * @returns Promise<{ [key: string]: any }> - The extracted data. */ extractData(text: string, schema: { [key: string]: any; } | undefined, llmInstance: BasicLLMInferenceEngine): Promise<{ [key: string]: any; }>; /** * extractDataForComplexObject * This function extracts data for a complex object from the given text using the SLM model. * @param text The text to extract data from. * @param schema The schema to extract data based on. * @returns Promise<{ [key: string]: any }> - The extracted data **/ extractDataForComplexObject(text: string, schema: { [key: string]: any; } | undefined, llmInstance: BasicLLMInferenceEngine): Promise<{ [key: string]: any; }>; replaceDataValues(data: { [key: string]: any; }, schema: { [key: string]: any; }): { [key: string]: any; }; }