@jirimracek/conjugate-esp
Version:
Spanish verb conjugator, castellano, voseo, canarias, formal
29 lines • 1.18 kB
TypeScript
import { ModelFactory } from './factory';
import { Regions, Orthography, HighlightMarks, Info } from './types';
import { ResultTable, VerbModelTemplates } from './basemodel';
export declare type Result = {
info: Info;
conjugation: ResultTable;
};
export declare class Conjugator {
protected templates: VerbModelTemplates;
protected factory: ModelFactory;
private ortho;
private highlightMarks;
private highlight;
constructor(ortho?: Orthography, highlightMarks?: HighlightMarks);
setOrthography(ortho: Orthography): void;
useHighlight(use?: boolean | null): void;
conjugateSync(verb: string, region?: Regions): Result[] | string;
conjugate(verb: string, region?: Regions): Promise<Result[] | string>;
getVerbListSync(): string[];
getVerbList(): Promise<string[]>;
getModelsSync(): string[];
getModels(): Promise<string[]>;
getDefectiveVerbListSync(pure?: boolean): string[] | string[][];
getDefectiveVerbList(exact?: boolean): Promise<string[] | string[][]>;
getOrthoVerbListSync(): string[];
getOrthoVerbList(): Promise<string[]>;
getVersion(): string;
}
//# sourceMappingURL=conjugator.d.ts.map