import type { Tool } from '@wrongstack/core/types'; import { detectLanguageWorkspaces } from './detect.js'; import { planLanguageOperation } from './plan.js'; import type { LanguageOperation, LanguageOperationOptions, LanguageProfileId } from './types.js'; export interface LanguageInfoInput { action: 'detect' | 'plan' | 'capabilities'; cwd?: string | undefined; target?: string | undefined; language?: LanguageProfileId | undefined; workspace?: string | undefined; operation?: LanguageOperation | undefined; mode?: 'fast' | 'standard' | 'thorough' | undefined; options?: LanguageOperationOptions | undefined; } export interface LanguageCapabilitiesOutput { action: 'capabilities'; profiles: Array<{ id: LanguageProfileId; displayName: string; extensions: readonly string[]; operations: string[]; packageManagers: readonly string[]; }>; } export type LanguageInfoOutput = ({ action: 'detect'; } & Awaited>) | ({ action: 'plan'; } & Awaited>) | LanguageCapabilitiesOutput; export declare const languageInfoTool: Tool; //# sourceMappingURL=tool.d.ts.map