import { CommonsFixedDuration, TPropertyObject } from 'tscommons-esm-core'; import { IParserConfig } from '../interfaces/iparser-config.mjs'; import { IRequestOutcome } from '../interfaces/irequest-outcome.mjs'; import { TextParser } from './text.parser.mjs'; import { IDataConfig } from './data.parser.mjs'; export interface IOllamaConfig extends IDataConfig { url: string; key: string; keepAlive?: number; } export declare function isIOllamaConfig(test: unknown): test is IOllamaConfig; export declare abstract class OllamaParser extends TextParser { protected readonly ollamaUrl: string | undefined; protected readonly ollamaKey: string | undefined; protected readonly ollamaKeepAlive: CommonsFixedDuration | undefined; constructor(outcome?: IRequestOutcome, config?: TPropertyObject, configKey?: string); debugGetLength(): Promise; }