import { ChokidarOptions } from 'chokidar'; interface HMROptions extends ChokidarOptions { enabled?: boolean; silent?: boolean; } /** * Starts HMR for all registered {@link Store Stores} in {@link container.stores the main container}. * * @param __namedParameter The {@link HMROptions}. * This includes [all options from chokidar](https://github.com/paulmillr/chokidar#persistence), * as well as whether the HMR should be enabled. * The default options are `{ enabled: true }`, * and if not provided in the object then `enabled` is also set to true. * */ declare function start({ enabled, silent, ...options }?: HMROptions): void; declare module 'discord.js' { interface ClientOptions { hmr?: HMROptions; } } /** * The [@sapphire/plugin-hmr](https://github.com/sapphiredev/plugins/blob/main/packages/hmr) version that you are currently using. * An example use of this is showing it of in a bot information command. * * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild */ declare const version: string; export { type HMROptions, start, version };