import type { ToolDescriptor as LegacyToolDescriptor, ToolInvocation as LegacyToolInvocation, ToolResult as LegacyToolResult } from '../tools/tool.types';
export interface AgentContext {
    readonly userId: string;
    readonly organizationId: string;
    readonly surface: 'web' | 'desktop' | 'mobile' | 'teams' | 'cli';
    readonly sessionId: string;
    readonly turnId: string;
    readonly trace: {
        traceId: string;
    };
}
export interface AgentToolResult {
    readonly ok: boolean;
    readonly output?: unknown;
    readonly errorMessage?: string;
}
export type ToolDescriptor = LegacyToolDescriptor;
export type AgentToolMetadata = ToolDescriptor;
export type LegacyToolInvocationType = LegacyToolInvocation;
export type LegacyToolResultType = LegacyToolResult;
