import type { BaseWorker } from "../exchanges/base.worker"; import { type ChaseOpts, type ChaseState } from "../types/lib.types"; declare class ChaseInstance { id: string; accountId: string; worker: BaseWorker; opts: ChaseOpts; orderIds: Array; isPlacingOrder: boolean; isStopped: boolean; lastTickerPrice: number | null; disposeWatchNotifications: () => void; disposeWatchTicker: () => void; get state(): ChaseState; get ticker(): import("../types/lib.types").Ticker; get market(): import("../types/lib.types").Market; get notifications(): import("../types/lib.types").Notification[]; get orderPrice(): number; constructor({ id, accountId, opts, worker, }: { id: string; accountId: string; opts: ChaseOpts; worker: BaseWorker; }); infinitePlaceOrder: () => Promise; cancelOrders: () => Promise; stop: ({ keepOrders }?: { keepOrders?: boolean | undefined; }) => void; setState(state: ChaseState): void; } export declare class ChaseExtension { worker: BaseWorker; instances: Map; constructor({ worker }: { worker: BaseWorker; }); start({ accountId, chase }: { accountId: string; chase: ChaseOpts; }): void; stop({ chaseId }: { accountId: string; chaseId: string; }): void; } export {};