import type { DenseJson, Primitive } from "./types.js"; export declare function unquoteAndUnescape(stringLiteral: string): string; export declare function valueHasPrimitiveType(token: string, expectedType: Primitive): boolean; export declare function isStringLiteral(token: string): boolean; export declare function literalValueToDenseJson(token: string, type: Primitive): DenseJson; /** * Assuming `token` is a literal value of primitive type, returns a string which * uniquely identifies the value within the primitive type. The behavior is * undefined if `token` does not match `type`. * Use this function to check if two literal values are actually equal. */ export declare function literalValueToIdentity(token: string, type: Primitive): string; //# sourceMappingURL=literals.d.ts.map