import * as neataptic from "neataptic" export const allGatingNames = ["OUTPUT", 'INPUT', 'SELF'] as const export type GatingName = typeof allGatingNames[number] export type Gating = {name: GatingName} export const OUTPUT: Gating = neataptic.methods.gating.OUTPUT export const INPUT: Gating = neataptic.methods.gating.INPUT export const SELF: Gating = neataptic.methods.gating.SELF export function getGating(name: GatingName): Gating { return neataptic.methods.gating[name] }