import webpack from 'webpack'; import type { Options } from '@ray-core/types'; interface CallbackFunction { (err?: null | Error, result?: T): any; } declare const handle: (opts: Options) => CallbackFunction; export default handle;