import { OandaQuote, OandaInstrument } from "../models/oanda-quotes";
import { FmeQuoteRt, FmeSymbol } from "fme-quotes-models";
export declare class OandaController {
    private environment;
    private accessToken;
    private username;
    private accountId;
    subscribers: any[];
    client: any;
    instruments: OandaInstrument[];
    streamStarted: boolean;
    availableSymbols: FmeSymbol[];
    constructor(environment: string, accessToken: string, username: string, accountId: string);
    addSymbol: (symbol: string) => void;
    connect: () => void;
    convertSymbol: (symbolIn: string) => string;
    convertSymbol2FmeSymbol: (symbolIn: OandaInstrument) => FmeSymbol;
    convertTicker: (quote: OandaQuote) => FmeQuoteRt;
    delay: (seconds: number) => Promise<void>;
    getDecimalPoints: (instrument: string) => number;
    getSymbols: () => Promise<{}>;
    private numberOfDecimals(number);
    setDecimalPoints: () => void;
    subscribe: (clientName: string, clientFunction: any) => void;
    streamOut: (data: OandaQuote) => void;
    startStream: (symbols: any) => Promise<void>;
    stopStream: () => void;
    unSubscribe: (clientName: string) => void;
}
