import { TCallback } from './utils/scanListener';
/**
 * 获取当前语言
 */
export declare const useLanguage: () => any;
/**
 * 扫码监听
 */
export declare const useScanListener: () => {
    addListener: (key: string, callback: TCallback) => void;
    removeListener: (key: string) => void;
    setActiveListener: (key: string) => void;
};
/**
 * 获取app
 */
export declare const useGetApp: () => any;
/**
 * 获取modal
 */
export declare const useModal: (key: string) => {
    modalProps: any;
    visible: any;
    open: (props?: any) => void;
    close: () => void;
};
export declare const useRequest: () => {
    get: (url: string, data?: Record<string, any>, config?: Record<string, any>) => any;
    post: (url: string, data?: Record<string, any>, config?: Record<string, any>) => any;
    put: (url: string, data?: Record<string, any>, config?: Record<string, any>) => any;
    remove: (url: string, data?: Record<string, any>, config?: Record<string, any>) => any;
};
/**
 * @description: 获取goal_shop_id和是否是普通店铺
 * @return {*}
 */
export declare const useGetGoalShopInfo: () => {
    goalShopId: number | undefined;
    isNormalShop: boolean;
};
/**
 * 获取当前店铺id
 */
export declare const useGetShopId: () => any;
/**
 * @description: 是否是app端
 * @return {*}
 */
export declare const useIsApp: () => boolean;
/**
 * @description: 获取分享场景
 * @return {*}
 */
export declare const useGetShare: () => {
    source: string | null;
    isEcoShare: boolean;
};
