import { R as RemoteCommands } from '../../../types-CtkD4o1_.js';
import './types.js';
import '../../utils/resilience.js';

/**
 * HTTP-based RemoteCommands for code search against the Morph landing API.
 *
 * Translates grep/read/listDir into POST requests to the code-search endpoints,
 * so the WarpGrep agent can search GitHub repositories that have been indexed
 * by the Morph code storage service.
 */

interface CodeStorageHttpConfig {
    /** Base URL for the code search API (e.g. "https://morphllm.com") */
    baseUrl: string;
    /** Repository ID returned by the get-or-create endpoint */
    repoId: string;
    /** Git branch to search */
    branch: string;
}
declare function createCodeStorageHttpCommands(config: CodeStorageHttpConfig): RemoteCommands;

export { type CodeStorageHttpConfig, createCodeStorageHttpCommands };
