import * as _builtins from './lib/builtins'; export const builtins: typeof _builtins.builtins; export type TypeId = _builtins.builtins; export type TypesBuiltins = typeof _builtins.builtins; export type TypeParser = (value: I) => T; export function setTypeParser(oid: number | TypeId, parseFn: TypeParser): void; export function setTypeParser(oid: number | TypeId, format: 'text', parseFn: TypeParser): void; export function setTypeParser(oid: number | TypeId, format: 'binary', parseFn: TypeParser): void; export function getTypeParser(oid: number | TypeId): TypeParser; export function getTypeParser(oid: number | TypeId, format: 'text'): TypeParser; export function getTypeParser(oid: number | TypeId, format: 'binary'): TypeParser;