import type { Parent, Type } from './index.ts'; import type { Field } from '../fields/field.ts'; export interface EnumDef { values: Record; } export declare function isEnumDef(obj?: any): obj is EnumDef; export declare class Enum implements Type { pbType: string; jsType: string; values: Map; lowestValue: number; lowestValueName: string; constructor(pbType: string, jsType: string, def: EnumDef); init(): void; getDecoder(field: Field): string; getStreamingDecoder(field: Field): string; getEncoder(field: Field, accessor: string): string; getValueTest(field: Field, accessor: string): string; compile(parent: Parent): string; } //# sourceMappingURL=enum.d.ts.map