UNPKG

@iyio/convo-lang

Version:

A conversational language.

86 lines (85 loc) 5.12 kB
import { ConvoExecutionContext } from "./ConvoExecutionContext"; import { ConvoScope } from "./convo-types"; export declare const defaultConvoVars: { readonly __body: import("./convo-types").ConvoScopeFunction; readonly string: import("./convo-types").ConvoType; readonly number: import("./convo-types").ConvoType; readonly int: import("./convo-types").ConvoType; readonly time: import("./convo-types").ConvoType; readonly void: import("./convo-types").ConvoType; readonly boolean: import("./convo-types").ConvoType; readonly any: import("./convo-types").ConvoType; readonly true: true; readonly false: false; readonly null: null; readonly undefined: undefined; readonly convo: undefined; readonly pipe: import("./convo-types").ConvoScopeFunction; readonly struct: import("./convo-types").ConvoScopeFunction; readonly map: import("./convo-types").ConvoScopeFunction; readonly array: (scope: ConvoScope) => any[]; readonly jsonMap: import("./convo-types").ConvoScopeFunction; readonly jsonArray: (scope: ConvoScope) => any[]; readonly __args: undefined; readonly enum: import("./convo-types").ConvoScopeFunction; readonly is: import("./convo-types").ConvoScopeFunction; readonly and: import("./convo-types").ConvoScopeFunction; readonly or: import("./convo-types").ConvoScopeFunction; readonly not: import("./convo-types").ConvoScopeFunction; readonly if: import("./convo-types").ConvoScopeFunction; readonly elif: import("./convo-types").ConvoScopeFunction; readonly else: import("./convo-types").ConvoScopeFunction; readonly then: import("./convo-types").ConvoScopeFunction; readonly while: import("./convo-types").ConvoScopeFunction; readonly foreach: import("./convo-types").ConvoScopeFunction; readonly in: import("./convo-types").ConvoScopeFunction; readonly break: import("./convo-types").ConvoScopeFunction; readonly do: import("./convo-types").ConvoScopeFunction; readonly fn: import("./convo-types").ConvoScopeFunction; readonly return: import("./convo-types").ConvoScopeFunction; readonly eq: import("./convo-types").ConvoScopeFunction; readonly gt: import("./convo-types").ConvoScopeFunction; readonly gte: import("./convo-types").ConvoScopeFunction; readonly lt: import("./convo-types").ConvoScopeFunction; readonly lte: import("./convo-types").ConvoScopeFunction; readonly add: import("./convo-types").ConvoScopeFunction; readonly sub: import("./convo-types").ConvoScopeFunction; readonly mul: import("./convo-types").ConvoScopeFunction; readonly div: import("./convo-types").ConvoScopeFunction; readonly mod: import("./convo-types").ConvoScopeFunction; readonly pow: import("./convo-types").ConvoScopeFunction; readonly print: import("./convo-types").ConvoScopeFunction; readonly inc: import("./convo-types").ConvoScopeFunction; readonly dec: import("./convo-types").ConvoScopeFunction; readonly switch: import("./convo-types").ConvoScopeFunction; readonly case: import("./convo-types").ConvoScopeFunction; readonly default: import("./convo-types").ConvoScopeFunction; readonly test: import("./convo-types").ConvoScopeFunction; readonly sleep: import("./convo-types").ConvoScopeFunction; readonly rand: import("./convo-types").ConvoScopeFunction; readonly httpGet: import("./convo-types").ConvoScopeFunction; readonly httpGetString: import("./convo-types").ConvoScopeFunction; readonly httpPost: import("./convo-types").ConvoScopeFunction; readonly httpPut: import("./convo-types").ConvoScopeFunction; readonly httpPatch: import("./convo-types").ConvoScopeFunction; readonly httpDelete: import("./convo-types").ConvoScopeFunction; readonly encodeURI: import("./convo-types").ConvoScopeFunction; readonly encodeURIComponent: import("./convo-types").ConvoScopeFunction; readonly now: import("./convo-types").ConvoScopeFunction; readonly dateTime: import("./convo-types").ConvoScopeFunction; readonly md: import("./convo-types").ConvoScopeFunction; readonly toMarkdown: import("./convo-types").ConvoScopeFunction; readonly toJson: import("./convo-types").ConvoScopeFunction; readonly toJsonMdBlock: import("./convo-types").ConvoScopeFunction; readonly toJsonScheme: import("./convo-types").ConvoScopeFunction; readonly toCsv: import("./convo-types").ConvoScopeFunction; readonly toCsvMdBlock: import("./convo-types").ConvoScopeFunction; readonly merge: import("./convo-types").ConvoScopeFunction; readonly new: import("./convo-types").ConvoScopeFunction; readonly tmpl: import("./convo-types").ConvoScopeFunction; readonly html: import("./convo-types").ConvoScopeFunction; readonly describeStruct: import("./convo-types").ConvoScopeFunction; readonly xAtt: import("./convo-types").ConvoScopeFunction; readonly openBrowserWindow: import("./convo-types").ConvoScopeFunction; }; export declare const getConvoMarkdownVar: (name: string, format: string, ctx: ConvoExecutionContext) => any;