import type { RoboRequest } from '@robojs/server'; /** * Global Configuration Defaults Endpoint * * Handles reading and updating global configuration defaults that apply to all guilds. * * **CRITICAL WARNING: This endpoint is currently unauthenticated.** * In production, implement authentication and restrict access to bot owner/administrators only. * Changes to global configuration affect ALL guilds using the bot. * * **Important Behavior:** * - Setting global config clears all guild config caches * - Guilds will re-merge with new global defaults on next access * - Guild-specific overrides always take precedence * * **Routes:** * - GET /api/xp/config/global - Get global configuration defaults * - PUT /api/xp/config/global - Update global configuration defaults */ declare const _default: (request: RoboRequest) => Promise; export default _default;