import type { CommandData, ComponentData, EventData, ServerConfig } from "../../types/config.ts"; import bundleFiles from "./bundle.ts"; /** * Builds the bot imports and other variables. */ export default function build(config?: ServerConfig, { bundle }?: { bundle?: typeof bundleFiles; }): Promise<{ commands: CommandData[]; components: ComponentData[]; events: EventData[]; config: ServerConfig; }>;