/** Set whether ambiguous-width glyphs are measured WIDE (2) or NARROW (1).
 *  No-op when an env override (OWLCODA_AMBIGUOUS_WIDTH) is present. */
export declare function setAmbiguousWidthWide(wide: boolean): void;
/** Current ambiguous-width mode (true = wide). */
export declare function isAmbiguousWidthWide(): boolean;
/** Interpret a cursor-advance probe. One ambiguous glyph was written at
 *  column `before`; `after` is the cursor column read back via DSR.
 *  delta 2 → terminal renders ambiguous WIDE; 1 → NARROW; any other delta
 *  is implausible (wrap, garbled reply) → null so the caller keeps the
 *  default rather than acting on noise. */
export declare function interpretAmbiguousWidthProbe(before: number, after: number): boolean | null;
export declare const stringWidth: (str: string) => number;
