export type DekApiStateType = string | number | boolean; export type DekApiStateItem = Record; export type DekApiState = Record; export declare function setState(integrationKey: string, key: string, value: DekApiStateType): void; export declare function getState(integrationKey: string, key: string): DekApiStateType | undefined; export declare function tryParseJson(jsonString: string, defaultValue?: {}): object; export declare function useState(plugin: string): DekApiStateItem; export declare function isJsonString(str: any): boolean;