import { PayStatus } from '../const';
/**
 * @title: 循环查询 接口状态
 * @Author: hongbing.wang
 * @Date: 2024-08-20 13:29
 */
export declare const useValidate: (timeout: number) => readonly [(params_0: (...agrn: unknown[]) => Promise<any>, params_1: number, params_2?: number | undefined) => Promise<{
    [key: string]: unknown;
    code: `${PayStatus}`;
}>, () => void];
