import type { ApiInterfaceRx } from '@polkadot/api/types'; import type { EraIndex } from '@polkadot/types/interfaces'; import type { Observable } from '@polkadot/x-rxjs'; import type { DeriveEraPoints, DeriveEraPrefs, DeriveEraRewards, DeriveStakerReward } from '../types'; declare type ErasResult = [DeriveEraPoints[], DeriveEraPrefs[], DeriveEraRewards[]]; export declare function _stakerRewardsEras(instanceId: string, api: ApiInterfaceRx): (eras: EraIndex[], withActive: boolean) => Observable; export declare function _stakerRewards(instanceId: string, api: ApiInterfaceRx): (accountIds: (Uint8Array | string)[], eras: EraIndex[], withActive: boolean) => Observable; export declare function stakerRewards(instanceId: string, api: ApiInterfaceRx): (accountId: Uint8Array | string, withActive?: boolean) => Observable; export declare function stakerRewardsMultiEras(instanceId: string, api: ApiInterfaceRx): (accountIds: (Uint8Array | string)[], eras: EraIndex[]) => Observable; export declare function stakerRewardsMulti(instanceId: string, api: ApiInterfaceRx): (accountIds: (Uint8Array | string)[], withActive?: boolean) => Observable; export {};