import { PortableRegistry, PortableType } from '@dedot/codecs'; import { TypeRef } from '../codecs.js'; /** * Map of primitive types to TypeRef tags */ export declare const PRIMITIVE_TYPE_MAP: Record; /** * Map of compact types to TypeRef tags */ export declare const COMPACT_TYPE_MAP: Record; /** * Get compact type tag for a type * * @param type - Type to get compact tag for * @param registry - Portable registry * @returns Compact type tag or null if not a compact */ export declare function getCompactType(type: PortableType, registry: PortableRegistry): TypeRef['type'] | null;