export type TObject = { [key: string]: any }; export type TObjectWithId = { _id: string; [key: string]: any }; export type TRecord = { [key: string]: string }; export type TObjCalBack = (data: TObject) => void; export type TVoidCalBack = () => void; export type TStringCallback = (str: string) => void; export type TAnyCallback = (obj?: any) => void; export type TErrorCallback = (error: string, org: TObject) => void; export type TSuccessCallback = (result: any, org: TObject) => void; export type TAuthInfo = { user_id: string; name: string; email?: string; profile_image?: string; }; export type TCallback = { onBefore?: TVoidCalBack; onSuccess?: TSuccessCallback; onError?: TErrorCallback; onComplete?: TVoidCalBack; }; export type TSimpleStoreResp = { status: "success" | "error"; msg: string; out: Object; }; export type TKeyText = { key: string; text: string; }; export type TKeyValue = { key: string; value: string; }; export type TStringToStringSet = Map>;