import './detectPackage'; import type { ApiInterfaceRx } from '@polkadot/api/types'; import type { AnyFunction } from '@polkadot/types/types'; import type { Observable } from '@polkadot/x-rxjs'; import * as accounts from './accounts'; import * as balances from './balances'; import * as bounties from './bounties'; import * as chain from './chain'; import * as contracts from './contracts'; import * as council from './council'; import * as democracy from './democracy'; import * as elections from './elections'; import * as imOnline from './imOnline'; import * as membership from './membership'; import * as parachains from './parachains'; import * as session from './session'; import * as society from './society'; import * as staking from './staking'; import * as technicalCommittee from './technicalCommittee'; import * as treasury from './treasury'; import * as tx from './tx'; export { packageInfo } from './packageInfo'; export * from './type'; export declare const derive: { accounts: typeof accounts; balances: typeof balances; bounties: typeof bounties; chain: typeof chain; contracts: typeof contracts; council: typeof council; democracy: typeof democracy; elections: typeof elections; imOnline: typeof imOnline; membership: typeof membership; parachains: typeof parachains; session: typeof session; society: typeof society; staking: typeof staking; technicalCommittee: typeof technicalCommittee; treasury: typeof treasury; tx: typeof tx; }; declare type DeriveSection
= { [Method in keyof Section]: Section[Method] extends AnyFunction ? ReturnType : never; }; declare type DeriveAllSections = { [Section in keyof AllSections]: DeriveSection; }; export declare type DeriveCustom = Record (...args: any[]) => Observable>>; export declare type ExactDerive = DeriveAllSections; /** @internal */ export declare function decorateDerive(instanceId: string, api: ApiInterfaceRx, custom?: DeriveCustom): ExactDerive;