/** * Arial Server - Configuration module * * Public exports for server configuration. */ export type { ArialServerConfig, ResolvedServerConfig, RepoConfig, ResolvedRepoConfig, ServerSettings, GlobalSettings, PRConfig, GitHubServerConfig, ServerHooks, ExecutionResult, ServerConfigError, Result, } from "./types.js"; export { loadServerConfig } from "./loader.js"; import type { ArialServerConfig } from "./types.js"; /** * Define Arial server configuration with type safety and IDE autocomplete. * * @example * ```typescript * // arial.config.ts * import { defineServerConfig } from 'arial/server' * * export default defineServerConfig({ * server: { * port: 7272, * host: '0.0.0.0', * token: process.env.ARIAL_TOKEN!, * }, * global: { * maxConcurrentAgents: 8, * }, * repos: { * 'web-app': { * path: '/home/deploy/repos/web-app', * baseBranch: 'main', * maxConcurrentAgents: 3, * github: { * owner: 'my-org', * repo: 'web-app', * }, * }, * 'api': { * path: '/home/deploy/repos/api', * baseBranch: 'develop', * github: { * owner: 'my-org', * repo: 'api', * }, * }, * }, * }) * ``` */ export declare function defineServerConfig(config: ArialServerConfig): ArialServerConfig; //# sourceMappingURL=index.d.ts.map