import type { SmartyAddressConfig } from "../interfaces"; import type { ApiService } from "./ApiService"; import type { ColorService } from "./ColorService"; import type { DropdownService } from "./DropdownService"; import type { DropdownStateService } from "./DropdownStateService"; import type { FormService } from "./FormService"; import type { FormatService } from "./FormatService"; import type { DomService } from "./DomService"; import type { KeyboardNavigationService } from "./KeyboardNavigationService"; import type { StyleService } from "./StyleService"; export interface ServiceDependencies { apiService?: ApiService; colorService?: ColorService; dropdownService?: DropdownService; dropdownStateService?: DropdownStateService; formService?: FormService; formatService?: FormatService; domService?: DomService; keyboardNavigationService?: KeyboardNavigationService; styleService?: StyleService; } export declare abstract class BaseService { protected services: ServiceDependencies; setServices(services: ServiceDependencies): void; init(_config?: SmartyAddressConfig): void; destroy(): void; protected getService(name: K): NonNullable; }