import { type FailCallbackResult, type PickOptions } from '../../core';
export interface SetConfigOptions {
    branch: string;
    success?: (result: any) => void;
    fail?: (err: FailCallbackResult) => void;
}
/**
 * 提供给 h5 设置应用配置
 */
export declare const setConfig: <T extends SetConfigOptions = SetConfigOptions>(options: T) => import("../../core").PromisifySuccessResult<PickOptions<T>, SetConfigOptions>;
export interface GetConfigResult {
    branch: string;
}
export interface GetConfigOptions {
    success?: (result: GetConfigResult) => void;
    fail?: (err: FailCallbackResult) => void;
}
/**
 * 获取 h5 设置应用配置
 */
export declare const getConfig: <T extends GetConfigOptions = GetConfigOptions>(options?: T | undefined) => import("../../core").PromisifySuccessResult<PickOptions<T>, GetConfigOptions>;
