import { type IMeasureExpressionToken } from "@gooddata/sdk-backend-spi"; export type ExpressionTokenType = "text" | "quoted_text" | "number" | "bracket" | "fact" | "metric" | "attribute" | "computed_attribute" | "label" | "dataset" | "parameter" | "comment"; export interface IExpressionToken { type: ExpressionTokenType; value: string; } export declare const tokenizeExpression: (expression: string) => IExpressionToken[]; /** * Resolves one tokenized MAQL fragment into a display token: a referenced object becomes the title * of the included object it points at, everything else stays verbatim. * * Shared by metrics and computed attributes - both are MAQL expressions whose references are * resolved from the same `included` payload. * * @param regexToken - one token out of {@link tokenizeExpression} * @param included - the `included` array of the entity the expression belongs to * @param identifier - id of the entity the expression belongs to */ export declare function resolveExpressionToken(regexToken: IExpressionToken, included: ReadonlyArray, identifier: string): IMeasureExpressionToken; //# sourceMappingURL=measureExpressionTokens.d.ts.map