import { GetStorage } from "../../../src/storage"; /** * This is the doc comment for pallet `Session`'s storages. * * `Session`'s calls: {@link: module:pangolin/session/calls} * * @module pangolin/session/storages */ export declare const getSession: (getStorage: GetStorage) => { /** * The current set of validators. * * @returns {Promise} Vec<[U8; 20]> */ validators: () => Promise; /** * Current index of the session. * * @returns {Promise} U32 */ currentIndex: () => Promise; /** * True if the underlying economic identities or weighting behind the validators * has changed in the queued validator set. * * @returns {Promise} Bool */ queuedChanged: () => Promise; /** * The queued keys for the next session. When the next session begins, these keys * will be used to determine the validator's session keys. * * @returns {Promise} Vec<([U8; 20], {aura: [U8; 32]})> */ queuedKeys: () => Promise; /** * Indices of disabled validators. * * The vec is always kept sorted so that we can find whether a given validator is * disabled using binary search. It gets cleared when `on_session_ending` returns * a new set of identities. * * @returns {Promise} Vec */ disabledValidators: () => Promise; /** * The next session keys for a validator. * * @param {unknown} param0 AccountId20: [U8; 20] * @returns {Promise} SessionKeys: {aura: [U8; 32]} */ nextKeys: (param0: unknown) => Promise; /** * The owner of a key. The key is the `KeyTypeId` + the encoded key. * * @param {unknown} param0 ([U8; 4], Vec) * @returns {Promise} AccountId20: [U8; 20] */ keyOwner: (param0: unknown) => Promise; };