/**
 * @file 通用工具函数
 */
import { FormikProps, ItemResultProps, ItemTypeScreenSchemeResultProps, SessionTokenType } from '@/lib/types/item';
export declare const getUser: (objectId: string) => Promise<any>;
export declare const getKey: (keyword: string) => string;
export declare const getItemData: (itemId: string, sesseionOption?: SessionTokenType) => Promise<any>;
export declare const getScreenFromId: (id: string, sesseionOption?: SessionTokenType) => Promise<any>;
export declare const getItemTypeScreenScheme: (id: string, sesseionOption?: SessionTokenType) => Promise<any>;
export declare const getworkspaceScheme: (id: string, sesseionOption?: SessionTokenType) => Promise<any>;
export declare const getScreenScheme: (objectId: string, sesseionOption?: SessionTokenType) => Promise<any>;
export declare const getWorkspace: (value: string, type: string, sesseionOption?: SessionTokenType) => Promise<any>;
export declare const getItemTypeFromId: (id: string) => Promise<any>;
export declare const getItemTypeScreenSchemeMapping: (objectIds: string[], sesseionOption?: SessionTokenType) => Promise<any>;
export declare const getScreenSchemeObjectId: (itemTypeScreenSchemeResult: ItemTypeScreenSchemeResultProps, itemType: string, sesseionOption?: SessionTokenType) => Promise<any>;
export declare const getScreen: any;
export declare const getCustomFields: (keys?: any[]) => Promise<any>;
export declare const getItemSecurityLevelAgroup: (objectId: string) => Promise<any>;
export declare const getRoleAgroup: (objectIdArr: any[]) => Promise<any>;
export declare const updateFieldsDataValue: (fieldsData: unknown, itemResult: ItemResultProps) => any;
export declare const generateFieldsData: any;
export declare const getErrorClassName: (formikProps: FormikProps, fieldKey: string) => string;
export declare const getCustumFieldType: (fieldTypeId: string, fieldsType: any[]) => string;
export declare const getScreenFieldKeys: (screenSetFieldKeys?: any[]) => any;
export declare const handleFormikValuesToDatabase: (data?: Record<string, any>) => unknown;
export declare const handleDatabaseValuesToFormik: (data?: Record<string, any>) => unknown;
export declare const updateItemDetail: ({ values, touched, mode, itemId, success, fail, }: {
    values: any;
    touched: any;
    mode: string;
    itemId: string;
    success: () => void;
    fail: (error: any) => void;
}) => Promise<void>;
