/** * Compiles and validates the Bernova configuration from bernova.config.json * Sets up TypeScript path mapping if configured * * @param {Object} params - The parameters object * @param {string} params.dir - The project directory containing the configuration file * @returns {Promise} Configuration object containing themes and provider settings * @throws {Error} When configuration file is invalid or missing */ export function compileConfig({ dir }: { dir: string; }): Promise;