import type { Color, TextAttribute, CursorShape } from './types.js'; export declare const ESC = "\u001B"; export declare const CSI = "\u001B["; export declare const OSC = "\u001B]"; export declare const ST = "\u001B\\"; export declare function cursorTo(x: number, y: number): string; export declare function cursorMove(dx: number, dy: number): string; export declare function cursorUp(n: number): string; export declare function cursorDown(n: number): string; export declare function cursorForward(n: number): string; export declare function cursorBack(n: number): string; export declare function cursorNextLine(n: number): string; export declare function cursorPrevLine(n: number): string; export declare function cursorColumn(x: number): string; export declare function cursorSave(): string; export declare function cursorRestore(): string; export declare function cursorShow(): string; export declare function cursorHide(): string; export declare function cursorShape(shape: CursorShape): string; export declare function eraseScreen(): string; export declare function eraseDown(): string; export declare function eraseUp(): string; export declare function eraseLine(): string; export declare function eraseLineEnd(): string; export declare function eraseLineStart(): string; /** Erase n characters at cursor position (does not move cursor). */ export declare function eraseChars(n?: number): string; export declare function scrollUp(n: number): string; export declare function scrollDown(n: number): string; /** Convert HSL (h: 0–360, s: 0–100, l: 0–100) to RGB (0–255 each). */ export declare function hslToRgb(h: number, s: number, l: number): [number, number, number]; export declare function fgReset(): string; export declare function bgReset(): string; export declare function fgColor(color: Color): string; export declare function bgColor(color: Color): string; export declare function textAttr(attr: TextAttribute): string; export declare function textAttrOff(attr: TextAttribute): string; export declare function resetAll(): string; export declare function alternateBufferEnter(): string; export declare function alternateBufferExit(): string; export declare function focusEventsEnable(): string; export declare function focusEventsDisable(): string; export declare function mouseEnable(): string; export declare function mouseDisable(): string; //# sourceMappingURL=ansi.d.ts.map