import { ProjectConfigType, ThemeOptions } from '../types';
export declare const USER_LOCAL_STATE_KEY = "gsLocalState";
export interface UserLocalState {
    theme?: ThemeOptions;
    lastProjectType?: ProjectConfigType;
    lastProjectId: string;
}
export declare const getLocalState: (key: string, def?: Partial<UserLocalState>) => UserLocalState;
export declare const updateLocalState: (key: string, data: Partial<UserLocalState>) => {
    theme?: "dark" | "light" | "auto" | undefined;
    lastProjectType?: ProjectConfigType | undefined;
    lastProjectId: string;
};
