import { Position, ValueOperand } from '../types'; /** * Creates a ValueOperand AST node from a raw value that hasn't been pre-treated for use in a JQL string (for example, * if it can contain reserved characters or whitespaces without being wrapped in quotes). * * The provided value will be sanitised (quoted and escaped) if necessary before being set to the node's text property. * * @link valueOperandByText can be used instead if you are looking to create a ValueOperand node from a text that has * already been quoted/escaped, e.g. in situations where your data provider returns terms that are guaranteed to be valid JQL. * * @param value String to be set as the AST node's value. This value will typically come from some type of user input * which may require quoting/escaping to produce a valid JQL string. */ export declare const valueOperand: (value: string) => ValueOperand; /** * Creates a ValueOperand AST node from a value that has been pre-treated to produce a valid JQL string. * * @link valueOperand can be used instead if you are looking to create a ValueOperand node from a text that can potentially * contain invalid JQL, e.g. from a user input which may require quoting/escaping due to special characters or whitespaces. * * @param text String to be set as the AST node's text. This text should be valid JQL as it will be preserved as-is * when building the AST node. */ export declare const valueOperandByText: (text: string) => ValueOperand; export declare const valueOperandInternal: (value: string, text: string, position?: Position | null) => ValueOperand;