export type CollectionScheduler = {
    start: () => void;
    stop: () => void;
};
export declare class PromiseBasedCollectionScheduler implements CollectionScheduler {
    private active;
    private readonly collectionIntervalInMs;
    private readonly collect;
    constructor(collectionIntervalInMs: number, collect: () => Promise<void>);
    start(): Promise<void>;
    stop(): void;
}
