import { Ast, Type, Syntax } from 'thingtalk'; import { ReplacedResult } from '../template-string'; import { Describer } from './describe'; interface Constant { token: ReplacedResult; value: Ast.Value; } declare type ConstantMap = { [key: string]: Constant[]; }; declare function extractConstants(ast: Ast.Node, describer: Describer): ConstantMap; declare function createConstants(tokenPrefix: string, type: Type, maxConstants: number, entityAllocator: Syntax.SequentialEntityAllocator): Constant[]; export { extractConstants, createConstants, };