license import { BaseTaskLibrary } from './common' ; /** A single answer. */ export declare interface QaAnswer { text : string ; pos : Pos ; } /** Answer position. */ export declare interface Pos { start : number ; end : number ; logit : number ; } /** BertQuestionAnswerer class type. */ export declare interface BertQuestionAnswererClass { param model create ( model ) : Promise < BertQuestionAnswerer > ; } /** The main BertQuestionAnswerer class instance. */ export declare class BertQuestionAnswerer extends BaseTaskLibrary { /** Answers question based on the context. */ answer ( context , question ) ; }