/*!
 * Copyright 2017 - 2020 by ChartIQ, Inc.
 * All rights reserved.
 */
/**
 * Singleton API to Finsemble System Manager
 */
declare class TestPoint {
    testPointsEnabled: boolean;
    constructor();
    start(): Promise<void>;
    /**
     * Enables testpoints.  Must be invoked once from somewhere in Finsemble for testpoints to work.  Can be involved multiple times.
     *
     * @memberof TestPoint
     */
    enableTestPoints(): void;
    /**
     * Triggers a test point, capturing the specified data to be returned by waitForTrigger
     *
     * @param {string} name testpoint name
     * @param {*} testPointData test point data
     * @memberof TestPoint
     */
    trigger(name: string, testPointData: any): void;
    /**
     * Waits for a testpoint to be triggered from somewhere in Finsemble, then returns it's data.
     *
     * @param {*} testPointName testpoint name to wait for
     * @param {number} [count=1] the number of times the testpoint name must be triggered before returning
     * @param {*} [timeout=TestPointWaitTimeout] How long in milliseconds to wait before failing
     * @returns
     * @memberof TestPoint
     */
    waitForTrigger(testPointName: string, count?: number, timeout?: number): Promise<unknown>;
}
declare const testPoint: TestPoint;
export default testPoint;
//# sourceMappingURL=testPoint.d.ts.map