import { InputSentenceProps, ParseResult } from "../language/types.ts"; import { DeepPartial } from "../util/types.ts"; /** * @summary Core interface * * This interface gets implemented by all Core clients, so clients can be * swapped easily. You should probably not directly use any Core, but use the * abstracted API from ../api/ */ export default abstract class Core { /** @summary resolved when ready */ abstract ready: Promise; /** @summary parse sentence */ abstract parseSentence(input: string, options?: DeepPartial): Promise; };