import { IEscapeSequenceEncoder } from '../interfaces/utils/IEscapeSequenceEncoder';
export declare class EscapeSequenceEncoder implements IEscapeSequenceEncoder {
    private static readonly ASCIICharactersRegExp;
    private static readonly forceEscapeCharactersRegExp;
    private static readonly replaceRegExp;
    private static readonly hexDigitRegExp;
    private static readonly octalDigitRegExp;
    private readonly stringsCache;
    encode(string: string, encodeAllSymbols: boolean): string;
    encodeLiteral(value: string, rawValue: string | undefined, encodeAllSymbols: boolean): string;
    private encodeCharacter;
    private encodePreservingUnicodeEscapes;
    private readUnicodeEscapeSequence;
    private readFixedLengthHexEscapeSequence;
    private readCodePointEscapeSequence;
    private readSimpleEscapeSequence;
    private isHexString;
}
