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