import { GenerateHighLevelErrorOpts, GenerateLowLevelErrorOpts, HighLevelErrorInternal, HLDefs, KeyOfStr, LLDefs, LowLevelErrorInternal } from './interfaces'; /** * For a given set of error definitions, generate the className and code based on the property name. * - className is generated as PascalCase. For example 'INTERNAL_ERROR' -> 'InternalError'. * - code is the name of the property name */ export declare function generateHighLevelErrors>, HLInternal extends HighLevelErrorInternal>(errorDefs: Record>, opts?: GenerateHighLevelErrorOpts): HLErrors; /** * For a given set of error definitions, generate the subCode based on the property name. * - subCode is the name of the property name */ export declare function generateLowLevelErrors>, LLInternal extends LowLevelErrorInternal>(errorDefs: Record>, opts?: GenerateLowLevelErrorOpts): LLErrors;