import { Context } from 'koishi';
import { IIROSE_Bot } from '../../bot/bot';
/**
 * 重试延迟算法
 */
export declare function calculateRetryDelay(retryCount: number, maxRetryIntervalMinutes: number): number;
/**
 * 等待指定时间，支持取消
 */
export declare function waitWithCancel(ctx: Context, bot: IIROSE_Bot, delayMs: number, checkDisposed: () => boolean): Promise<boolean>;
