/**
 * HTTP server for the Todos dashboard.
 * Serves the Vite-built React/shadcn dashboard from dashboard/dist/.
 * Provides REST API endpoints for task management.
 */
import type { Task } from "../types/index.js";
export declare const MIME_TYPES: Record<string, string>;
export declare const SECURITY_HEADERS: Record<string, string>;
export declare function json(data: unknown, status?: number, headers?: HeadersInit): Response;
export declare function serveStaticFile(filePath: string): Response | null;
export declare function taskToSummary(task: Task, fields?: string[]): {
    id: string;
    short_id: string | null;
    title: string;
    description: string | null;
    status: "pending" | "in_progress" | "completed" | "failed" | "cancelled";
    priority: "low" | "medium" | "high" | "critical";
    project_id: string | null;
    plan_id: string | null;
    task_list_id: string | null;
    agent_id: string | null;
    assigned_to: string | null;
    locked_by: string | null;
    tags: string[];
    version: number;
    created_at: string;
    updated_at: string;
    completed_at: string | null;
    due_at: string | null;
    recurrence_rule: string | null;
} | {
    [k: string]: {} | null;
};
export declare function startServer(port: number, options?: {
    open?: boolean;
    host?: string;
    apiKey?: string;
}): Promise<void>;
//# sourceMappingURL=serve.d.ts.map