import impl = require("./implementation"); type Impl = typeof impl; type Func = ThisParameterType; interface Index { (fn: Func): ReturnType; getPolyfill(): Impl; implementation: Impl; shim(): Impl; } declare const index: Index; export = index;