import { ParamParser, TType, IParam } from './param-parser'; import CodeEditor from './code-editor-service'; export default class CodeEditorParams { private readonly editor; private readonly ace; private readonly options; private readonly scope; private params; private readonly parser; private mute; private folded; private readonly paramOverrides; private readonly parserOptions; constructor(editor: CodeEditor, ace: any, options: any, scope: any); private init; private replace; private setLock; private setFold; getParser(): ParamParser; getParams(): IParam[]; hasParams(): boolean; addParam(key: string, type: TType, value: any, options?: string[]): CodeEditorParams; addAutoParam(key: string): CodeEditorParams; removeParam(key: string): CodeEditorParams; removeAllParams(): CodeEditorParams; getParamOverrides(key: string): Partial; overrideParam(key: string, param: Partial): CodeEditorParams; /** * Sync params array to editor */ syncParams(): [number, number][]; /** * Replaces params in text with their respective values */ format(text?: string): string; formatEmbed(options?: any): string; }