export interface MainUpdate {
    variant: "update";
    path: string[];
    type: string;
    state: any;
}
export interface MainDelete {
    variant: "delete";
    type: string;
    path: string[];
}
export interface WorkerUpdate {
    key: string;
    state: any;
}
export type WorkerMessage = WorkerUpdate;
export type MainMessage = MainUpdate | MainDelete;
