declare class PathRefersToDirectoryNotFileError extends Error { static readonly NAME: string; static localization: PathRefersToDirectoryNotFileError.Localization; constructor(constructorParameter: PathRefersToDirectoryNotFileError.ConstructorParameter); } declare namespace PathRefersToDirectoryNotFileError { type ConstructorParameter = Readonly<{ targetPath: string; messageSpecificPart?: string; } | { customMessage: string; }>; type Localization = Readonly<{ defaultTitle: string; genericDescription: (templateVariables: Localization.CommonDescription.TemplateVariables) => string; }>; namespace Localization { namespace CommonDescription { type TemplateVariables = Readonly<{ targetPath: string; }>; } } } export default PathRefersToDirectoryNotFileError;