import { ValueType } from '../types'; import { EncodeContext } from '../encode'; import { detectValueIndex } from './value'; export type DetectMethod = (value: any, context: EncodeContext) => ValueType; export declare const DETECTORS: (typeof detectValueIndex)[]; export declare function detectValue(value: any, context: EncodeContext): ValueType;