/**
 * Serve command - start HTTP server exposing workflows as endpoints
 */
export interface ServeOptions {
    /** Server port */
    port?: number;
    /** Server host */
    host?: string;
    /** Enable file watching for hot reload */
    watch?: boolean;
    /** Production mode (no trace events) */
    production?: boolean;
    /** Precompile all workflows on startup */
    precompile?: boolean;
    /** CORS origin */
    cors?: string;
    /** Enable Swagger UI at /docs */
    swagger?: boolean;
}
/**
 * Start a webhook server exposing workflows as HTTP endpoints.
 *
 * @param dir - Directory containing workflow files (defaults to current directory)
 * @param options - Server options
 *
 * @example
 * ```bash
 * # Start server with current directory
 * fw serve
 *
 * # Specify workflow directory
 * fw serve ./workflows
 *
 * # Custom port
 * fw serve --port 8080
 *
 * # Production mode
 * fw serve --production --precompile
 *
 * # Disable hot reload
 * fw serve --no-watch
 * ```
 */
export declare function serveCommand(dir: string | undefined, options: ServeOptions): Promise<void>;
//# sourceMappingURL=serve.d.ts.map