import { ProApiConfig, ProApiConfigItem, UserInfo } from 'types';
export declare const useFetchAppConfigs: () => {
    refetch: () => Promise<void>;
    data: ProApiConfigItem[];
    loading: boolean;
};
export declare const useFetchUserInfo: () => {
    refetch: () => Promise<void>;
    data: UserInfo | undefined;
    loading: boolean;
};
export declare const useSaveAppConfigs: () => {
    action: (data: {
        name: string;
        payload: string;
        networks: number[];
    }) => Promise<void>;
    loading: boolean;
};
export declare const useDeleteAppConfigs: () => {
    action: (data: number[]) => Promise<void>;
    loading: boolean;
};
export declare function fetchConfigById(id: string): Promise<ProApiConfig>;
export declare function saveConfig(body: any): Promise<import("axios").AxiosResponse<{
    code: number;
    message: string;
    data: any;
}, any>>;
export declare function deleteConfig(body: any): Promise<import("axios").AxiosResponse<{
    code: number;
    message: string;
    data: any;
}, any>>;
