import type { AgentLifecycleStatus } from "./agent-lifecycle.js";
import type { WorkspaceStateBucket } from "./messages.js";
export type AgentAttentionReason = "finished" | "error" | "permission" | null | undefined;
export interface AgentStateBucketInput {
    status: AgentLifecycleStatus;
    pendingPermissionCount?: number;
    requiresAttention?: boolean;
    attentionReason?: AgentAttentionReason;
}
export declare function deriveAgentStateBucket(input: AgentStateBucketInput): WorkspaceStateBucket;
export declare function getWorkspaceStateBucketPriority(bucket: WorkspaceStateBucket): number;
export declare function getAgentStatusPriority(input: AgentStateBucketInput): number;
//# sourceMappingURL=agent-state-bucket.d.ts.map