import { BigNumberish } from "../../utils";
export { delay as sleep } from "../../utils";
export declare function exists<T>(value: T | null | undefined): value is NonNullable<T>;
export type Balances = {
    [key: string]: string;
};
export declare function Balances(balances?: Balances): {
    create: (id: string, amount?: string) => string;
    add: (id: string, amount: BigNumberish) => string;
    sub: (id: string, amount: BigNumberish) => string;
    get: (id: string) => string;
    balances: Balances;
    set: (id: string, amount: string) => string;
    has: (id: string) => boolean;
    getOrCreate: (id: string) => string;
};
export declare function loop(fn: (...args: any[]) => any, delay: number, ...args: any[]): Promise<void>;
//# sourceMappingURL=utils.d.ts.map