import Type from '../types/Type'; import { IdentifierPath } from '../Validation'; import RuntimeTypeErrorItem from './RuntimeTypeErrorItem'; export default class InvalidKeyTypeErrorItem extends RuntimeTypeErrorItem { static readonly code: 'INVALID_KEY_TYPE'; readonly key: string | number | symbol; readonly expectedKeyType: Type; constructor(path: IdentifierPath, valueAtPath: unknown, expectedTypeAtPath: Type, key: string | number | symbol, expectedKeyType: Type); messageAtPath(): string; }