import type { OneShotDestination, OneShotFollowUpDto, OneShotWorkbenchAlert, TaskWait } from '@xopcai/gateway-contract'; export declare class OneShotFollowUpValidationError extends Error { readonly code: 'personal_unavailable' | 'access_denied' | 'proactivity_disabled' | 'scheduler_disabled' | 'explicit_request_required' | 'task_unavailable' | 'wait_unavailable' | 'missing_check_time' | 'past_check_time' | 'invalid_valid_until'; constructor(code: 'personal_unavailable' | 'access_denied' | 'proactivity_disabled' | 'scheduler_disabled' | 'explicit_request_required' | 'task_unavailable' | 'wait_unavailable' | 'missing_check_time' | 'past_check_time' | 'invalid_valid_until', message: string); } export declare class OneShotFollowUpConflictError extends Error { readonly followUp?: OneShotFollowUpDto | undefined; constructor(message: string, followUp?: OneShotFollowUpDto | undefined); } export declare function waitSummaryText(wait: TaskWait): string; export declare function buildOneShotContractKey(input: { taskId: string; waitId: string; checkAt: number; validUntil: number; destination: OneShotDestination; }): string; export declare function oneShotWakeupKey(followUpId: string): string; export declare function isLikelyChinese(text: string): boolean; export declare function formatOneShotReminderText(input: { taskTitle: string; wait: TaskWait; validUntil: number; timezone: string; zh: boolean; }): string; export declare function getOneShotFollowUpDto(followUpId: string, ownerId: string, opts?: { canReadTask?: (taskId: string) => boolean; }): OneShotFollowUpDto | undefined; export declare function listTaskOneShotFollowUps(taskId: string, ownerId?: string, opts?: { canReadTask?: (taskId: string) => boolean; }): OneShotFollowUpDto[]; export declare function listUnreadWorkbenchFollowUps(ownerId?: string): OneShotWorkbenchAlert[]; export declare function acknowledgeWorkbenchFollowUp(ownerId: string, outreachId: string, now?: number): { ok: true; followUpId: string; taskId: string; } | null;