export declare const BACKGROUND_TASK_STREAM_ROUTE: import("../server-adapter").ServerRoute<{
    agentId?: string | undefined;
    runId?: string | undefined;
    threadId?: string | undefined;
    resourceId?: string | undefined;
    taskId?: string | undefined;
}, any, "stream", import("../server-adapter").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    runId: import("zod").ZodOptional<import("zod").ZodString>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    taskId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodAny>, "GET", "/background-tasks/stream">;
export declare const LIST_BACKGROUND_TASKS_ROUTE: import("../server-adapter").ServerRoute<{
    agentId?: string | undefined;
    status?: "running" | "failed" | "pending" | "completed" | "cancelled" | "timed_out" | undefined;
    runId?: string | undefined;
    threadId?: string | undefined;
    resourceId?: string | undefined;
    fromDate?: Date | undefined;
    toDate?: Date | undefined;
    dateFilterBy?: "createdAt" | "startedAt" | "completedAt" | undefined;
    orderBy?: "createdAt" | "startedAt" | "completedAt" | undefined;
    orderDirection?: "asc" | "desc" | undefined;
    page?: number | undefined;
    perPage?: number | undefined;
}, {
    tasks: {
        id: string;
        status: "running" | "failed" | "pending" | "completed" | "cancelled" | "timed_out";
        toolName: string;
        toolCallId: string;
        args: Record<string, unknown>;
        agentId: string;
        runId: string;
        createdAt: Date;
        retryCount: number;
        maxRetries: number;
        timeoutMs: number;
        threadId?: string | undefined;
        resourceId?: string | undefined;
        result?: unknown;
        error?: {
            message: string;
            stack?: string | undefined;
        } | undefined;
        startedAt?: Date | undefined;
        completedAt?: Date | undefined;
    }[];
    total: number;
}, "json", import("../server-adapter").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    status: import("zod").ZodOptional<import("zod").ZodEnum<{
        running: "running";
        failed: "failed";
        pending: "pending";
        completed: "completed";
        cancelled: "cancelled";
        timed_out: "timed_out";
    }>>;
    runId: import("zod").ZodOptional<import("zod").ZodString>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    fromDate: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
    toDate: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
    dateFilterBy: import("zod").ZodOptional<import("zod").ZodEnum<{
        createdAt: "createdAt";
        startedAt: "startedAt";
        completedAt: "completedAt";
    }>>;
    orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
        createdAt: "createdAt";
        startedAt: "startedAt";
        completedAt: "completedAt";
    }>>;
    orderDirection: import("zod").ZodOptional<import("zod").ZodEnum<{
        asc: "asc";
        desc: "desc";
    }>>;
    page: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
    perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    tasks: import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        status: import("zod").ZodEnum<{
            running: "running";
            failed: "failed";
            pending: "pending";
            completed: "completed";
            cancelled: "cancelled";
            timed_out: "timed_out";
        }>;
        toolName: import("zod").ZodString;
        toolCallId: import("zod").ZodString;
        args: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
        agentId: import("zod").ZodString;
        threadId: import("zod").ZodOptional<import("zod").ZodString>;
        resourceId: import("zod").ZodOptional<import("zod").ZodString>;
        runId: import("zod").ZodString;
        result: import("zod").ZodOptional<import("zod").ZodUnknown>;
        error: import("zod").ZodOptional<import("zod").ZodObject<{
            message: import("zod").ZodString;
            stack: import("zod").ZodOptional<import("zod").ZodString>;
        }, import("zod/v4/core").$strip>>;
        createdAt: import("zod").ZodDate;
        startedAt: import("zod").ZodOptional<import("zod").ZodDate>;
        completedAt: import("zod").ZodOptional<import("zod").ZodDate>;
        retryCount: import("zod").ZodNumber;
        maxRetries: import("zod").ZodNumber;
        timeoutMs: import("zod").ZodNumber;
    }, import("zod/v4/core").$strip>>;
    total: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>>, "GET", "/background-tasks">;
export declare const GET_BACKGROUND_TASK_ROUTE: import("../server-adapter").ServerRoute<{
    backgroundTaskId: string;
}, {
    id: string;
    status: "running" | "failed" | "pending" | "completed" | "cancelled" | "timed_out";
    toolName: string;
    toolCallId: string;
    args: Record<string, unknown>;
    agentId: string;
    runId: string;
    createdAt: Date;
    retryCount: number;
    maxRetries: number;
    timeoutMs: number;
    threadId?: string | undefined;
    resourceId?: string | undefined;
    result?: unknown;
    error?: {
        message: string;
        stack?: string | undefined;
    } | undefined;
    startedAt?: Date | undefined;
    completedAt?: Date | undefined;
}, "json", import("../server-adapter").RouteSchemas<import("zod").ZodObject<{
    backgroundTaskId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined, undefined, import("zod").ZodObject<{
    id: import("zod").ZodString;
    status: import("zod").ZodEnum<{
        running: "running";
        failed: "failed";
        pending: "pending";
        completed: "completed";
        cancelled: "cancelled";
        timed_out: "timed_out";
    }>;
    toolName: import("zod").ZodString;
    toolCallId: import("zod").ZodString;
    args: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
    agentId: import("zod").ZodString;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    runId: import("zod").ZodString;
    result: import("zod").ZodOptional<import("zod").ZodUnknown>;
    error: import("zod").ZodOptional<import("zod").ZodObject<{
        message: import("zod").ZodString;
        stack: import("zod").ZodOptional<import("zod").ZodString>;
    }, import("zod/v4/core").$strip>>;
    createdAt: import("zod").ZodDate;
    startedAt: import("zod").ZodOptional<import("zod").ZodDate>;
    completedAt: import("zod").ZodOptional<import("zod").ZodDate>;
    retryCount: import("zod").ZodNumber;
    maxRetries: import("zod").ZodNumber;
    timeoutMs: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>>, "GET", "/background-tasks/:backgroundTaskId">;
//# sourceMappingURL=background-tasks.d.ts.map