import { Amount } from '../const';
import { State } from '../store';
/**
 * @title: 初始化 windcave 数据
 * @return store 全局数据管理
 * @Author: hongbing.wang
 * @Date: 2024-08-12 10:42
 */
declare const _default: (params: any) => State;
export default _default;
/**
 * @title:  windcave 金额信息
 * @description:
 * @param {State} store : 全局store数据管理
 * @return 金额信息
 * @Author: hongbing.wang
 * @Date: 2024-08-12 10:43
 */
export declare function getAmonunt(store: State): Amount;
export declare enum StepStatusEnum {
    /**  空闲 */
    Free = 1,
    /** 提交或插入卡 */
    Card = 2,
    /** 选择账户 */
    Account = 3,
    /** 选择应用 */
    Application = 4,
    /** 输入PIN码 */
    Pin = 5,
    /** 处理中 */
    Processing = 6,
    /** 验证签名 */
    Receipt = 7,
    /** 显示结果 */
    Wait = 8
}
export declare enum StemTypeEnum {
    /** 主动查询 */
    Active = "active",
    /** 被动提交 */
    Passive = "passive"
}
/**
 * @title: windcave 步骤信息
 * @description: 步骤对应配置信息
 * @return 步骤配置信息
 * @Author: hongbing.wang
 * @Date: 2024-08-12 10:44
 */
export declare const getStepMapping: (type: StepStatusEnum, { money, mode }: {
    money?: string | undefined;
    mode?: string | undefined;
}) => {
    type: StemTypeEnum;
    status: string;
    pedding: any;
    resolve: string;
    index: StepStatusEnum.Free;
    peddingStyle: {};
    reject?: undefined;
} | {
    type: StemTypeEnum;
    status: string;
    pedding: any;
    resolve: string;
    index: StepStatusEnum.Card;
    peddingStyle: {};
    reject?: undefined;
} | {
    type: StemTypeEnum;
    status: string;
    pedding: any;
    resolve: string;
    index: StepStatusEnum.Account;
    peddingStyle: {};
    reject?: undefined;
} | {
    type: StemTypeEnum;
    status: string;
    pedding: any;
    resolve: string;
    index: StepStatusEnum.Application;
    peddingStyle: {};
    reject?: undefined;
} | {
    type: StemTypeEnum;
    status: string;
    pedding: any;
    resolve: string;
    index: StepStatusEnum.Pin;
    peddingStyle: {};
    reject?: undefined;
} | {
    type: StemTypeEnum;
    status: string;
    pedding: any;
    resolve: string;
    index: StepStatusEnum.Processing;
    peddingStyle: {};
    reject?: undefined;
} | {
    type: StemTypeEnum;
    status: string;
    pedding: string;
    resolve: any;
    reject: any;
    index: StepStatusEnum.Receipt;
    peddingStyle: {};
} | {
    type: StemTypeEnum;
    status: string;
    pedding: any;
    resolve: any;
    index: StepStatusEnum.Wait;
    peddingStyle: {};
    reject?: undefined;
} | null;
export declare type StepType = NonNullable<ReturnType<typeof getStepMapping>>;
