import Big, { BigSource } from 'big.js';
import { Observable } from 'rxjs';
export declare type Direction = 'buy' | 'sell';
export declare type Offset = 'open' | 'close';
export declare const fetchSum: () => import("rxjs").UnaryFunction<Observable<BigSource>, Observable<number[]>>;
export declare type FetchProfitType = {
    offset: Offset;
    price: BigSource;
};
export declare const FetchProfit: (direction: Direction) => (observable: Observable<FetchProfitType>) => Observable<Big>;
