import { Core } from '@strapi/strapi'; /** * Strapi calls this on shutdown / hot reload. Release every module-level * resource the plugin owns so repeated reloads do not accumulate state: * * - close the cached undici `ProxyAgent` (sockets / TLS handles) * - drop the in-memory ElevenLabs voices list cache * - clear the in-memory generate-lock registry * * Each disposer is idempotent and safe when nothing was allocated yet. */ declare const destroy: ({ strapi }: { strapi: Core.Strapi; }) => void; export default destroy;