import type {GlobalSettingsProps} from "./AdminSettings";

type SettingsType = {
	DOCUMENTATION: string;
	homeUrl?: string;
	conditions: { [key: string]: { [key: string]: string } };
	settings: { [key: string]: any };
	globalSettings: GlobalSettingsProps;
	appName: 'ProductDataMetaSettings' | 'ProductQuickEditMetaSettings' | 'AdminSettings';
	PLUGIN_DIR_URL: string;
	freemius: {
		is_premium: boolean;
		is_not_paying: boolean;
		checkout_url: string;
		get_upgrade_url: string;
		can_use_premium_code: boolean;
	}
}

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

export default localizeSettings
