import { Application, Module } from '@subscan/widget-core';
export interface WidgetItem {
    id: string;
    created_at: number;
    updated_at: number;
    name: string;
}
export declare const EmptyAppSchema: Application;
export declare class LocalStorageManager {
    static WidgetsLSKey: string;
    static AppLSKey: string;
    static ModulesLSKey: string;
    getWidgetsFromLS(): WidgetItem[];
    getAppFromLS(id: string): Application;
    getModulesFromLS(): Module[];
    newWidgetInLs(widget: Pick<WidgetItem, 'name'>, schema?: Application): void;
    duplicateWidgetInLs(id: string): void;
    saveWidgetInLs(id: string, app: Application): void;
    updateWidgetNameInLs(id: string, name: string): void;
    deleteWidget(id: string): void;
    saveAppInLS(id: string, app: Application): void;
    saveModulesInLS(modules: Module[]): void;
}
