import { parseArray, parseByteA, parseRange } from './parsers'; import type { PGParser } from './parsers'; export interface Registry { deregisterParser(oid: number): this; registerParser(oid: number, parser: PGParser): this; getParser(oid: number): PGParser; } declare const oidParsers: { 16: PGParser; 17: typeof parseByteA; 20: PGParser; 21: typeof parseInt; 23: typeof parseInt; 26: typeof parseInt; 114: PGParser; 600: PGParser; 700: typeof parseFloat; 701: typeof parseFloat; 718: PGParser; 1043: PGParser; 1114: PGParser; 1184: PGParser; 1186: PGParser; 1700: PGParser; 2950: PGParser; 3802: PGParser; 2278: PGParser; 28: typeof parseInt; 5069: PGParser; 1011: PGParser>; 271: PGParser>; 1000: PGParser>; 1001: PGParser>>; 1016: PGParser>; 1005: PGParser>; 1007: PGParser>; 1028: PGParser>; 199: PGParser>; 1017: PGParser>; 1021: PGParser>; 1022: PGParser>; 719: PGParser>; 1115: PGParser>; 1185: PGParser>; 1187: PGParser>; 1231: typeof parseArray; 3807: PGParser>; 651: typeof parseArray; 791: typeof parseArray; 1008: typeof parseArray; 1009: typeof parseArray; 1014: typeof parseArray; 1015: typeof parseArray; 1040: typeof parseArray; 1041: typeof parseArray; 1182: typeof parseArray; 1183: typeof parseArray; 1270: typeof parseArray; 2951: typeof parseArray; 3904: PGParser>; 3906: PGParser>; 3908: PGParser>; 3910: PGParser>; 3912: typeof parseRange; 3926: PGParser>; 3905: PGParser>>; 3907: PGParser>>; 3909: PGParser>>; 3911: PGParser>>; 3913: PGParser>>; 3927: PGParser>>; }; export type RegistryTypes = { [key in keyof typeof oidParsers]: typeof oidParsers[key] extends PGParser ? T : never; }; export interface RegistryConstructor { new (): Registry; deregisterDefaultParser(oid: number): void; registerDefaultParser(oid: number, parser: PGParser): void; } export declare const Registry: RegistryConstructor; export {};