import type { IPicGo } from '../../../types'; import type { IE2ERequestFields, ISyncConfigResponse } from '../../ConfigSyncManager/types'; export interface IUpdateConfigResult { success: boolean; version: number; conflict?: boolean; } export declare class ConfigService { private readonly client; private readonly ctx; private appType; constructor(ctx: IPicGo); fetchConfig(): Promise; updateConfig(configStr: string, baseVersion: number, e2eFields?: IE2ERequestFields): Promise; }