export interface CodecOptions { escapeChar?: string; sequencesToEncode: string[]; } export declare const DEFAULT_ESCAPE_CHAR = "~"; export declare function createCodec({ escapeChar, sequencesToEncode, }: CodecOptions): { encode(str: string): string; decode(encoded: string): string; };