import type { ToolProviderKind } from './provider-kind-mirror'; export type BiomeCodeToolOutputKind = 'structured' | 'text' | 'artifact'; export interface BiomeCodeToolMountHint { readonly slot: 'inputs' | 'references' | 'deliverables'; readonly as: string; } export interface BiomeCodeToolDescriptor { readonly key: string; readonly displayName: string; readonly description: string; readonly inputSchema: Readonly>; readonly outputKind: BiomeCodeToolOutputKind; readonly mount?: BiomeCodeToolMountHint; } export interface BiomeCodeToolsManifestDto { readonly tools: readonly BiomeCodeToolDescriptor[]; } export interface BiomeCodeToolInvocationDto { readonly args: Readonly>; readonly scope: { readonly orgId: string; readonly projectId: string; readonly sessionId: string; readonly actorSubject: string | null; readonly installationId: string; }; } export type BiomeCodeToolInvocationResult = { readonly kind: 'structured'; readonly value: Readonly>; } | { readonly kind: 'text'; readonly value: string; } | { readonly kind: 'artifact'; readonly artifactRef: { readonly artifactId: string; readonly versionId: string; readonly version: number; readonly hash?: string; }; readonly inlineSnippet?: string; } | { readonly kind: 'error'; readonly message: string; readonly retryable?: boolean; }; export type { ToolProviderKind }; //# sourceMappingURL=code-tool-descriptor.d.ts.map