import type { ApiInterfaceRx } from '@polkadot/api/types'; import type { EraIndex } from '@polkadot/types/interfaces'; import type { Observable } from '@polkadot/x-rxjs'; import type { DeriveEraRewards } from '../types'; export declare function _erasRewards(instanceId: string, api: ApiInterfaceRx): (eras: EraIndex[], withActive: boolean) => Observable; export declare function erasRewards(instanceId: string, api: ApiInterfaceRx): (withActive?: boolean) => Observable;