import { ApiInterfaceRx } from '@plugnet/api/types'; import { AccountId } from '@plugnet/types/interfaces'; import { Observable } from 'rxjs'; import { Vec } from '@plugnet/types'; /** * @name voters * @returns An array of all current voters from all sets. * @example *
* * ```javascript * api.derive.elections.voters((voters) => { * console.log(`There are ${voters.length} current voters.`); * }); * ``` */ export declare function voters(api: ApiInterfaceRx): () => Observable>;