import type { RunConfig, WireRun, WireRunStatus } from '../../contracts/index.js';
import type { A2AMessageSendParams, A2ATask, A2ATaskState } from '../../types/a2a/index.js';
import type { Message } from '../../types/message/index.js';
export declare function isTerminalState(state: A2ATaskState): boolean;
export declare function runStatusToA2AState(status: WireRunStatus): A2ATaskState;
export declare function runToA2ATask(run: WireRun, messages?: readonly Message[]): A2ATask;
export interface CreateRunFromA2A {
    readonly agentId: string;
    readonly input: string;
    readonly projectId?: string;
    readonly config: RunConfig;
}
export declare function a2aMessageToCreateRun(agentId: string, params: A2AMessageSendParams): CreateRunFromA2A;
//# sourceMappingURL=task.d.ts.map