function singleEraimport { singleEra } from "https://dotland.deno.dev/x/polkadot@0.2.38/api-derive/staking/util.ts"; singleEra<F extends "_eraExposure" | "_eraPrefs" | "_eraSlashes">(fn: F): (instanceId: string, api: DeriveApi) => (era: EraIndex) => ApplyReturn<F>Type ParametersF extends "_eraExposure" | "_eraPrefs" | "_eraSlashes"Parametersfn: FReturns(instanceId: string, api: DeriveApi) => (era: EraIndex) => ApplyReturn<F>