/**
 * Claude Code CLI scheduled-tasks reader (best-effort reconstruction).
 *
 * Claude Code provides NO official query API for active scheduled tasks
 * (`ScheduleWakeup` / `CronCreate`). They live in CLI process memory unless
 * created with `durable:true` (which is rare in practice). To give the user
 * any visibility, we reconstruct the timeline by scanning the project's
 * session JSONL files at `~/.claude/projects/<encoded>/<sessionId>.jsonl`,
 * which record every `tool_use` Claude emits — including ScheduleWakeup
 * and CronCreate.
 *
 * Caveats this reconstruction cannot resolve:
 *   - We see "task created" events but cannot directly observe "task fired"
 *     or "task deleted/cancelled". For one-shot ScheduleWakeup we hide
 *     records whose `createdAt + delaySeconds` is already past (must have
 *     fired or been cancelled). For recurring CronCreate we keep entries
 *     created within the last 7 days (Claude's own auto-expiry window).
 *   - Same prompt scheduled across multiple sessions appears multiple
 *     times by design — that preserves provenance.
 *
 * The UI must label this list as "best-effort reconstruction", not the
 * authoritative live state.
 */
export interface ScheduledTask {
    id: string;
    type: 'ScheduleWakeup' | 'CronCreate';
    cron: string | null;
    delaySeconds: number | null;
    recurring: boolean;
    prompt: string;
    reason: string | null;
    createdAt: number;
    nextFireAt: string | null;
    sessionId: string;
    durable: boolean;
}
export declare function tasksForProject(folderPath: string): ScheduledTask[];
//# sourceMappingURL=scheduled.d.ts.map