import { ActionDispatcher, Reader } from './types.js';
/**
 * A class that dispatches actions at regular intervals.
 *
 */
export declare class IntervalReader implements Reader {
    private actionDispatcher;
    private intervalId?;
    private action;
    private intervalInSeconds;
    /**
     * Constructs a new interval reader.
     *
     * @param action - The action that should be dispatched on each interval.
     * @param intervalInSeconds - The interval duration in seconds.
     */
    constructor(action: any, intervalInSeconds: number);
    /**
     * Initializes the reader with an action dispatcher.
     *
     * @param actionDispatcher - The function to be called when dispatching action.
     */
    initialize(actionDispatcher: ActionDispatcher): void;
    /**
     * Starts the action dispatch at the specified intervals.
     */
    start(): void;
    /**
     * Stops the interval-driven action dispatch.
     */
    stop(): void;
    fetch(): void;
}
