import type { TaskListItem } from './types.js';
export interface JsonTaskData {
    task: string;
    worktree?: boolean | string;
    branch?: string;
    base_branch?: string;
    workflow?: string;
    issue?: number;
    start_step?: string;
    retry_note?: string;
    auto_pr?: boolean;
    draft_pr?: boolean;
    managed_pr?: boolean;
    should_publish_branch_to_origin?: boolean;
    exceeded_max_steps?: number;
    exceeded_current_iteration?: number;
}
export interface JsonTaskFailure {
    step?: string;
    error: string;
    last_message?: string;
}
export interface JsonTaskListItem {
    kind: TaskListItem['kind'];
    name: string;
    createdAt: string;
    filePath: string;
    content: string;
    summary?: string;
    branch?: string;
    worktreePath?: string;
    prUrl?: string;
    data?: JsonTaskData;
    failure?: JsonTaskFailure;
    startedAt?: string;
    completedAt?: string;
    ownerPid?: number;
    issueNumber?: number;
    exceededMaxSteps?: number;
    exceededCurrentIteration?: number;
}
export declare function serializeTaskListItemForJson(task: TaskListItem): JsonTaskListItem;
//# sourceMappingURL=listSerializer.d.ts.map