import type { AnsiCode } from "./tokenize.js"; export declare const endCodesSet: Set; /** * Maps all hyperlink end codes to the same value, because they only differ in their terminator * and any of them ends the open hyperlink. Other end codes are returned unchanged. */ export declare function normalizeLinkEndCode(endCode: string): string; export declare function getLinkStartCode(url: string, params?: Record): string; export declare function getEndCode(code: string): string; export declare function ansiCodesToString(codes: readonly AnsiCode[]): string; /** Check if a code is an intensity code (bold or dim) - these share endCode 22m but can coexist */ export declare function isIntensityCode(code: AnsiCode): boolean;