/** * Registers MDX module lifecycle event handlers with the event emitter. * * Automatically detects and registers any lifecycle hook functions defined in the mdxModule * that match the event callback naming convention. Logs registered handlers at debug level. * * Note: Format functions (formatMDXBadge, etc.) are NOT registered as events. * They are pure transformations handled via the Formatter interface directly. * * @param mdxModule - The MDX module that may contain event callback functions * * @example * ```typescript * const mdxModule = { * beforeLoadSchemaHook: async (event) => { console.log('Loading schema...'); }, * afterRenderTypeEntitiesHook: async (event) => { console.log('Rendered:', event.data.name); } * }; * registerMDXEventHandlers(mdxModule); * ``` */ export declare const registerMDXEventHandlers: (mdxModule: unknown) => void; //# sourceMappingURL=event-handlers.d.ts.map