import { EnvironmentConfig } from '../types/index.js'; import { PluginConfig } from '../generators/BaseGenerator.js'; export declare class ConfigService { private verbose; constructor(verbose?: boolean); private log; private error; /** * Load plugin configuration from .local.json file in the plugin project folder * Returns storeId, accountId, and other local config if found */ loadPluginEnvironment(projectDir?: string): EnvironmentConfig; /** * Resolve store ID and account ID from CLI options and local configuration * Priority: CLI flags > .local.json > error if storeId not found */ resolveStoreAndAccount(options: { storeId?: string; accountId?: string; }, projectDir?: string): { storeId: string; accountId?: string; }; /** * Create or update .local.json file with CLI-provided values * Only creates file if it doesn't exist, or adds missing properties without overriding existing ones */ createOrUpdateLocalConfig(options: { storeId?: string; accountId?: string; }, projectDir?: string): void; loadDeploymentConfig(configPath?: string): any; loadConfig(configPath?: string): PluginConfig; scanAvailableConfigs(): { name: string; path: string; display: string; }[]; /** * Apply router configuration from manifest to deployment config */ applyRouterConfiguration(configWithStore: any, configWithDeployment: any, options?: any): void; private normalizePath; }