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