import { spawnSync } from "node:child_process"; export interface OmpBinaryInfo { path: string; source: "path" | "home" | "package"; } export interface OmpCommandResult { ok: boolean; stdout: string; stderr: string; } export interface OmpPluginInfo { name: string; version: string; enabled: boolean; path?: string; } export interface OmpCommandInvocation { command: string; args: string[]; } export declare const OMP_HOST_PACKAGE = "@oh-my-pi/pi-coding-agent"; export declare const OMP_PLUGIN_PACKAGE = "@cortexkit/aft-pi"; /** Build argv for OMP, routing package scripts through Bun and Windows shims through cmd.exe. */ export declare function getOmpCommandInvocation(ompPath: string, args: string[]): OmpCommandInvocation; export declare function getOmpFallbackCandidates(platform: NodeJS.Platform, home: string, appData?: string): string[]; export declare function detectOmpBinary(): OmpBinaryInfo | null; export interface OmpCommandExecutionDeps { getInvocation: typeof getOmpCommandInvocation; spawnSync: typeof spawnSync; } export declare function runOmpCommand(ompPath: string, args: string[], timeout?: number, overrides?: Partial): OmpCommandResult; export declare function getOmpVersion(ompPath: string): string | null; export declare function listOmpPlugins(ompPath: string): OmpPluginInfo[] | null; //# sourceMappingURL=omp-helpers.d.ts.map