import type { ApiInterfaceRx } from '@polkadot/api/types'; import type { EraIndex } from '@polkadot/types/interfaces'; import type { Observable } from '@polkadot/x-rxjs'; export declare function erasHistoric(instanceId: string, api: ApiInterfaceRx): (withActive: boolean) => Observable;