import { Context } from "../imports/Context"; import { Function } from "../imports/Function"; import { SolutionDefinition } from "./SolutionDefinition"; import { Outcome } from "./Outcome"; import { GlideRecord } from "../types/GlideRecord"; export declare class Solution { constructor( cx?: Context, args?: any[], ctorObj?: Function, inNewExpr?: boolean ); getCapability(): string; getDefinition(): SolutionDefinition; getName(): string; getPredictedField(): string; getThreshold(className?: string): number; getVersion(): string; isActive(): boolean; predict(gr?: GlideRecord, threshold?: any): Outcome; predictBatch( Table?: string, EncodedQuery?: string, threshold?: number, maxRec?: number, topN?: number ): Record; predictText(inputs?: Record, threshold?: any): Outcome; predictTextTopN(inputs?: Record, topN?: any): Array; predictTextTopNConfInterval( inputs?: Record, topN?: any, confidenceInterval?: number ): Array; predictTopN(gr?: GlideRecord, topN?: any): Array; predictTopNConfInterval( gr?: GlideRecord, topN?: any, confidenceInterval?: number ): Array; updatePV(): void; }