import { Context } from 'koishi';
import { Config } from './index';
import { PKProtection } from './database';
export declare function gachaWithPity(ctx: Context, handle: string): Promise<boolean>;
export declare function gachaWithHiddenAward(ctx: Context, handle: string): Promise<boolean>;
export declare function checkSensitiveWord(ctx: Context, content: string): Promise<boolean>;
export declare function getRandomInt(min: number, max: number): number;
export declare function PetCapsuleToy(): "t3级宠物扭蛋" | "t2级宠物扭蛋" | "t1级宠物扭蛋" | "t0级宠物扭蛋";
export declare function isSameDate(a: Date, b: Date): boolean;
export declare function isSameHalfDay(a: Date, b: Date): boolean;
export declare function convertUTCtoChinaTime(input: Date | string | number): Date;
export declare function formatDate(d: Date): string;
export declare function createHpBar(current: number, max: number): string;
export declare function activateNextBossGroup(ctx: Context, currentBossId?: number | null): Promise<import("./database").BossInfo>;
export declare function calculateTotalPower(ctx: Context, config: Config, handle: string): Promise<number>;
export declare function applyItemEffect(ctx: Context, session: any, handle: string, itemConfig: any, target?: string): Promise<{
    success: boolean;
    message: string;
}>;
export declare function handleTechUpgrade(ctx: Context, handle: string, target: string): Promise<string>;
export declare function handleWeaponUpgrade(ctx: Context, handle: string, target: string): Promise<string>;
export declare function generateUpgradePriceList(ctx: Context, handle: string): Promise<string>;
export declare function getRankInfo(ctx: Context, config: Config, handle: string): Promise<string>;
export declare function isWithinProtection(protections: PKProtection[]): boolean;
export declare function formatTime(date: Date): string;
export declare const legendaryDiscounts: {
    'MK-4\u6FC0\u5149\u6B65\u67AA': string[];
    'DSR-55\u53CD\u5668\u6750\u6B65\u67AA': string[];
    龙息霰弹枪: string[];
    M4AE脉冲步枪: string[];
};
