import type { ApiInterfaceRx } from '@polkadot/api/types'; import type { Observable } from '@polkadot/x-rxjs'; import type { DeriveStakingElected, StakingQueryFlags } from '../types'; export declare function electedInfo(instanceId: string, api: ApiInterfaceRx): (flags?: StakingQueryFlags) => Observable;