/**
 * Input Utilities
 * Constants and helpers for parsing terminal input sequences.
 */
export declare const ESC = "\u001B";
export declare const SGR_EVENT_PREFIX = "\u001B[<";
export declare const X11_EVENT_PREFIX = "\u001B[M";
export declare const FOCUS_IN = "\u001B[I";
export declare const FOCUS_OUT = "\u001B[O";
export declare const SGR_MOUSE_REGEX: RegExp;
export declare const X11_MOUSE_REGEX: RegExp;
/**
 * Check if buffer could be a SGR mouse sequence (or prefix thereof)
 */
export declare function couldBeSGRMouseSequence(buffer: string): boolean;
/**
 * Check if buffer could be any mouse sequence (or prefix thereof)
 */
export declare function couldBeMouseSequence(buffer: string): boolean;
/**
 * Get the length of a complete mouse sequence at the start of buffer.
 * Returns 0 if no complete sequence found.
 */
export declare function getMouseSequenceLength(buffer: string): number;
//# sourceMappingURL=input.d.ts.map