import { SentenceFormat } from './types'; import { Transcoder } from './transcoders'; declare class Term { term: string; name?: string; length: number; constant?: number; default?: number[]; Transcoder: typeof Transcoder; constructor(term: string, format?: string | SentenceFormat); extractTranscoder(term: string): string; extractLength(term: string): string; encode(params?: Record): number[]; decode(bytes: number[]): number | string; } export default Term;