import type { TeamTask } from "./task-store.js";
export declare const TEAM_MAILBOX_NS = "team";
export declare function taskAssignmentPayload(task: TeamTask, assignedBy: string): {
    type: "task_assignment";
    taskId: string;
    subject: string;
    description: string;
    assignedBy: string;
    timestamp: string;
};
export declare function isIdleNotification(text: string): {
    from: string;
    timestamp?: string;
    completedTaskId?: string;
    completedStatus?: string;
    failureReason?: string;
} | null;
export declare function isShutdownApproved(text: string): {
    from: string;
    requestId: string;
    timestamp?: string;
} | null;
export declare function isShutdownRejected(text: string): {
    from: string;
    requestId: string;
    reason: string;
    timestamp?: string;
} | null;
export declare function isPlanApprovalRequest(text: string): {
    requestId: string;
    from: string;
    plan: string;
    taskId?: string;
    timestamp?: string;
} | null;
export declare function isPeerDmSent(text: string): {
    from: string;
    to: string;
    summary: string;
    timestamp?: string;
} | null;
export declare function isTaskAssignmentMessage(text: string): {
    taskId: string;
    subject?: string;
    description?: string;
    assignedBy?: string;
} | null;
export declare function isShutdownRequestMessage(text: string): {
    requestId: string;
    from?: string;
    reason?: string;
    timestamp?: string;
} | null;
export declare function isSetSessionNameMessage(text: string): {
    name: string;
} | null;
export declare function isAbortRequestMessage(text: string): {
    requestId: string;
    from?: string;
    taskId?: string;
    reason?: string;
    timestamp?: string;
} | null;
export declare function isPlanApprovedMessage(text: string): {
    requestId: string;
    from: string;
    timestamp: string;
} | null;
export declare function isPlanRejectedMessage(text: string): {
    requestId: string;
    from: string;
    feedback: string;
    timestamp: string;
} | null;
