export interface ThemeConfig { id?: string; slug?: string; name?: string; version?: string; path?: string; pushHistory?: PushRecord[]; defaultStore?: string; createdAt?: string; updatedAt?: string; installations?: Installation[]; } export interface PushRecord { themeId: string; versionId: string; version: string; pushedAt: string; store?: string; } export interface Installation { id: string; store_id: string; store_name: string; installed_at: string; version?: string; activated?: boolean; activated_at?: string; } export declare class ThemeManager { private themeRoot; private configPath; private config; constructor(themePath?: string); load(): Promise; save(): Promise; init(config: Partial): Promise; recordPush(record: PushRecord): Promise; setDefaultStore(storeEmail: string): Promise; getConfig(): Promise; updateThemeId(themeId: string, slug?: string): Promise; updateConfig(updates: Partial): Promise; getLastPush(): Promise; isLinkedToServer(): Promise; static findLinkedRoot(startPath: string): Promise; static getGlobalThemes(): Promise>; static listGlobalThemes(): Promise>; static saveGlobalTheme(path: string, config: ThemeConfig): Promise; static removeGlobalTheme(path: string): Promise; static pruneGlobalThemes(): Promise; static findGlobalThemeByName(name: string): Promise<(ThemeConfig & { path: string; }) | null>; } //# sourceMappingURL=theme.d.ts.map