import type {SettingsStoreProps} from "./SettingsStoreProps";
import type {SupportedFieldsProps} from "./SupportedFieldsProps";

type SettingsType = {
	VERSION: string
	SUPPORT: string
	PREFIX: string
	GROUP: string
	DOCUMENTATION: string
	DEMO: string
	REVIEWS: string
	PLUGIN_DIR_URL: string
	adminColor: 'fresh' | 'modern',
	restUrl: string
	nonce: string
	settings: SettingsStoreProps,
	supportedFields: SupportedFieldsProps[],
	freemius: {
		can_use_premium_code: boolean
		is_premium: boolean
		is_not_paying: boolean
		checkout_url: string
		get_upgrade_url: string
		get_trial_url: string
	}
}

const localizeSettings: SettingsType = (window as any).hulk_affef_settings;

export default localizeSettings
