/**
 * A cache token with every falsy spelling folded to "absent".
 *
 * `undefined` (none supplied), `null` (explicitly none) and `''` all mean
 * the bytes carry no backend token. Folding them in one place is what lets
 * the redis store spell "no token" as `''` on the wire without `''` ever
 * meaning something different from `null` in the RAM store. Python writes
 * this inline as `fingerprint or None`; `??` cannot express it, because it
 * would keep `''`.
 */
export declare function tokenOrNull(fingerprint?: string | null): string | null;
/**
 * Escape a literal for use inside a redis MATCH pattern.
 *
 * Cache keys are mount paths, and a path may legitimately contain the glob
 * metacharacters redis SCAN interprets, so a prefix like `/data[1]/` would
 * otherwise match nothing (or the wrong keys).
 */
export declare function globEscape(literal: string): string;
//# sourceMappingURL=utils.d.ts.map