import { Effect, FileSystem, Path } from "effect"; import { ChildProcessSpawner } from "effect/unstable/process"; import { RuntimeConfig } from "../app/runtime.ts"; export type ContextToolId = "repomix" | "opensrc" | "repobase"; export type ContextToolStatus = "absent" | "configured" | "installed"; export interface ContextToolReport { readonly id: ContextToolId; readonly name: string; readonly detected: boolean; readonly status: ContextToolStatus; readonly purpose: string; readonly command: string; readonly evidence: ReadonlyArray; } export interface DetectContextToolsFromProjectParams { readonly files: ReadonlyArray; readonly packageJson?: string; } export interface DetectContextToolsParams { readonly cwd: string; } export interface ContextCommandPlan { readonly command: string; readonly args: ReadonlyArray; readonly label: string; } export interface ContextPackPlanParams { readonly compress: boolean; readonly paths: ReadonlyArray; } export interface ContextSourcePlanParams { readonly target: string; } export interface RunContextCommandPlanParams { readonly cwd: string; readonly plan: ContextCommandPlan; } export declare const detectContextToolsFromProject: (params: DetectContextToolsFromProjectParams) => ReadonlyArray; export declare const detectContextTools: ({ cwd }: DetectContextToolsParams) => Effect.Effect; export declare const contextPackPlan: ({ compress, paths }: ContextPackPlanParams) => ContextCommandPlan; export declare const contextSourcePlan: ({ target }: ContextSourcePlanParams) => ContextCommandPlan; export declare const formatContextCommandPlan: (plan: ContextCommandPlan) => string; export declare const runContextCommandPlan: ({ cwd, plan }: RunContextCommandPlanParams) => Effect.Effect; //# sourceMappingURL=service.d.ts.map