import { RuntimeOptionsConfig } from '@alilc/lowcode-types';
/**
 * 获取地址对应参数
 * @param name
 * @param search
 * @returns
 */
export declare const getQueryByName: (name: string, search?: string) => string;
export declare const getBasePath: () => string;
declare const getAppHelper: ({ history, ywHistory, state }: {
    history: any;
    ywHistory: any;
    state: any;
}) => {
    utils: {
        hasPermission: (name: string) => any;
        transformData: (sourceData: any) => any;
        transform: ({ source, rules }: {
            source: any;
            rules: any;
        }) => any;
        apply: ({ source, rules }: {
            source: any;
            rules: any;
        }) => any;
        getQueryByName: (name: string, search?: string) => string;
        exportExcel: (url: string, params?: {}, noPre?: boolean) => void;
    };
    message: import("antd/lib/message").MessageApi;
    history: any;
    state: any;
    constants: {
        ENV: string;
        BASEPATH: string;
    };
    requestHandlersMap: {
        request: (options: RuntimeOptionsConfig) => Promise<{
            data: unknown;
        }>;
    };
};
export default getAppHelper;
