import type { Position, StakeEvent, StakeEventFilter, StakeEventName, StakeEventsViewer } from '@xyo-network/xl1-protocol/protocol-lib';
import type { CreatableProviderParams } from '../../CreatableProvider/index.js';
import { AbstractCreatableProvider } from '../../CreatableProvider/index.js';
/** Parameters for SimpleStakeEvents. */
export interface SimpleStakeEventsParams extends CreatableProviderParams {
    positions: Position[];
}
/** SimpleStakeEventsViewer implementation. */
export declare class SimpleStakeEventsViewer extends AbstractCreatableProvider<SimpleStakeEventsParams> implements StakeEventsViewer {
    static readonly connectionTypes: readonly [];
    static readonly defaultMoniker: "StakeEventsViewer";
    static readonly dependencies: never[];
    static readonly monikers: "StakeEventsViewer"[];
    static readonly surface: "node";
    moniker: "StakeEventsViewer";
    protected get positions(): Position[];
    positionCount(range: [number, number | 'latest']): number;
    stakeEvents<TName extends StakeEventName>(range: [number, number | 'latest'], { name }?: StakeEventFilter<TName>): StakeEvent<TName>[];
    protected startHandler(): Promise<void>;
    private eventsFromPositions;
    private positionsFromRange;
}
//# sourceMappingURL=SimpleStakeEventsViewer.d.ts.map