#!/usr/bin/env python3 # -*- coding: utf-8 -*- from abc import ABC, abstractmethod from typing import Any, Self, Optional, Sequence class I18NManagerInterface(ABC): DEFAULT_SENTENCES:dict[str, dict[str, str]] = None @abstractmethod def get(self:Self, keys:str|Sequence[str], inputs:Optional[dict[str, Any|None]|Sequence[Any|None]] = None, default:Any = None ) -> dict[str, Any|None]:pass @abstractmethod def add(self:Self, inputs:Any|None, overwrite:bool = False) -> None:pass