import { DefinitionInfo } from "../schema/definition-info.js"; import { ExpressionToken } from "./expression-token.js"; import { SerializedExpressionToken } from "./serialization.js"; import { TemplateToken } from "./template-token.js"; import { TokenRange } from "./token-range.js"; export declare class BasicExpressionToken extends ExpressionToken { private readonly expr; readonly source: string | undefined; readonly originalExpressions: BasicExpressionToken[] | undefined; /** * The range of the expression within the source string. * * `range` is the range of the entire expression, including the `${{` and `}}`. `expression` is only the expression * without any ${{ }} markers. `expressionRange` is the range of just the expression within the document. */ readonly expressionRange: TokenRange | undefined; /** * The block scalar header (e.g., "|", "|-", "|+", ">", ">-", ">+") if parsed from a YAML block scalar. */ readonly blockScalarHeader: string | undefined; /** * @param file The file ID where this token originated * @param range The range of the entire expression including `${{` and `}}` * @param expression The expression string without `${{` and `}}` markers * @param definitionInfo Schema definition info for this token * @param originalExpressions If transformed from individual expressions (e.g., format()), these are the originals * @param source The original source string from the YAML * @param expressionRange The range of just the expression, excluding `${{` and `}}` * @param blockScalarHeader The block scalar header (e.g., "|", "|-") if parsed from a YAML block scalar */ constructor(file: number | undefined, range: TokenRange | undefined, expression: string, definitionInfo: DefinitionInfo | undefined, originalExpressions: BasicExpressionToken[] | undefined, source: string | undefined, expressionRange?: TokenRange | undefined, blockScalarHeader?: string | undefined); get expression(): string; clone(omitSource?: boolean): TemplateToken; toString(): string; toDisplayString(): string; toJSON(): SerializedExpressionToken; } //# sourceMappingURL=basic-expression-token.d.ts.map