import type { Config } from '../../../config/schema.js'; import { type FollowUpInput, type FollowUpToolDeps } from './schema.js'; export declare function isMatterPayloadInput(input: FollowUpInput): boolean; export declare function handleFollowMatter(params: { ownerId: string; conversationId: string; config: Config; input: FollowUpInput; sourceText: string; timezone: string; deps: FollowUpToolDeps; }): { content: { type: "text"; text: string; }[]; details: { matter?: undefined; }; } | { content: { type: "text"; text: string; }[]; details: { matter: import("../../../proactive-hub/matters.js").FollowUpMatter; }; }; export declare function handleUpdateMatter(params: { ownerId: string; config: Config; input: FollowUpInput; sourceText: string; timezone: string; deps: FollowUpToolDeps; }): { content: { type: "text"; text: string; }[]; details: { matter?: undefined; }; } | { content: { type: "text"; text: string; }[]; details: { matter: import("../../../proactive-hub/matters.js").FollowUpMatter; }; }; export declare function handleUnifiedCheck(params: { ownerId: string; conversationId: string; input: FollowUpInput; sourceText: string; deps: FollowUpToolDeps; }): Promise<{ content: { type: "text"; text: string; }[]; details: { matter?: undefined; followUp?: undefined; }; } | { content: { type: "text"; text: string; }[]; details: { matter: import("../../../proactive-hub/matters.js").FollowUpMatter; followUp?: undefined; }; } | { content: { type: "text"; text: string; }[]; details: { followUp: { followUpId: string; status: "expired" | "active" | "paused" | "completed" | "candidate"; displayState: "expired" | "ended" | "delivered" | "resolved_before_check" | "stopped" | "scheduled" | "queued_delivery"; revision: number; subject: string; summary: string; taskId: string; projectId: string | null; waitId: string; destination: "assistant" | "workbench"; timezone: string; checkAt: number; validUntil: number; lastCheckedAt: number | null; lastCheckError: string | null; terminalReason: "expired" | "delivered" | "resolved_before_check" | "stopped" | "task_closed" | "task_deleted" | "access_revoked" | "conversation_reset" | null; conversationId: string; outreach: { outreachId: string; state: "cancelled" | "ready" | "stale" | "decided" | "published"; destination: "assistant" | "workbench"; publishedAt: number | null; acknowledgedAt: number | null; text?: string | null | undefined; } | null; sourcesAvailable: boolean; sources: { conversationId: string; transcriptId: string; entryId: string; excerpt: string; }[]; createdAt: number; updatedAt: number; taskTitle?: string | undefined; projectName?: string | undefined; waitKind?: "approval" | "user_input" | undefined; waitSummary?: string | undefined; } | undefined; matter?: undefined; }; }>; export declare function handleStopMatterById(params: { ownerId: string; input: FollowUpInput; sourceText: string; deps: FollowUpToolDeps; }): { content: { type: "text"; text: string; }[]; details: { matter?: undefined; }; } | { content: { type: "text"; text: string; }[]; details: { matter: import("../../../proactive-hub/matters.js").FollowUpMatter; }; };