export declare const RPC_METHODS: {
    readonly SPAWN_HAPPY_SESSION: "spawn-happy-session";
    readonly STOP_SESSION: "stop-session";
    readonly STOP_DAEMON: "stop-daemon";
    readonly DAEMON_EXECUTION_RUNS_LIST: "daemon.executionRuns.list";
    readonly DAEMON_TERMINAL_ENSURE: "daemon.terminal.ensure";
    readonly DAEMON_TERMINAL_STREAM_READ: "daemon.terminal.stream.read";
    readonly DAEMON_TERMINAL_INPUT: "daemon.terminal.input";
    readonly DAEMON_TERMINAL_RESIZE: "daemon.terminal.resize";
    readonly DAEMON_TERMINAL_CLOSE: "daemon.terminal.close";
    readonly DAEMON_TERMINAL_RESTART: "daemon.terminal.restart";
    readonly DAEMON_MEMORY_SEARCH: "daemon.memory.search";
    readonly DAEMON_MEMORY_GET_WINDOW: "daemon.memory.getWindow";
    readonly DAEMON_MEMORY_ENSURE_UP_TO_DATE: "daemon.memory.ensureUpToDate";
    readonly DAEMON_MEMORY_STATUS: "daemon.memory.status";
    readonly DAEMON_MEMORY_SETTINGS_GET: "daemon.memory.settings.get";
    readonly DAEMON_MEMORY_SETTINGS_SET: "daemon.memory.settings.set";
    readonly DAEMON_MCP_SERVERS_TEST: "daemon.mcpServers.test";
    readonly DAEMON_MCP_SERVERS_DETECT: "daemon.mcpServers.detect";
    readonly DAEMON_MCP_SERVERS_PREVIEW: "daemon.mcpServers.preview";
    readonly DAEMON_BULK_TRANSFER_UPLOAD_INIT: "daemon.bulkTransfer.upload.init";
    readonly DAEMON_BULK_TRANSFER_UPLOAD_CHUNK: "daemon.bulkTransfer.upload.chunk";
    readonly DAEMON_BULK_TRANSFER_UPLOAD_FINALIZE: "daemon.bulkTransfer.upload.finalize";
    readonly DAEMON_BULK_TRANSFER_UPLOAD_ABORT: "daemon.bulkTransfer.upload.abort";
    readonly DAEMON_BULK_TRANSFER_DOWNLOAD_INIT: "daemon.bulkTransfer.download.init";
    readonly DAEMON_BULK_TRANSFER_DOWNLOAD_CHUNK: "daemon.bulkTransfer.download.chunk";
    readonly DAEMON_BULK_TRANSFER_DOWNLOAD_FINALIZE: "daemon.bulkTransfer.download.finalize";
    readonly DAEMON_BULK_TRANSFER_DOWNLOAD_ABORT: "daemon.bulkTransfer.download.abort";
    readonly DAEMON_PROMPT_ASSETS_LIST_TYPES: "daemon.promptAssets.listTypes";
    readonly DAEMON_PROMPT_ASSETS_DISCOVER: "daemon.promptAssets.discover";
    readonly DAEMON_PROMPT_ASSETS_UPLOAD_INIT: "daemon.promptAssets.upload.init";
    readonly DAEMON_PROMPT_ASSETS_UPLOAD_CHUNK: "daemon.promptAssets.upload.chunk";
    readonly DAEMON_PROMPT_ASSETS_UPLOAD_FINALIZE: "daemon.promptAssets.upload.finalize";
    readonly DAEMON_PROMPT_ASSETS_UPLOAD_ABORT: "daemon.promptAssets.upload.abort";
    readonly DAEMON_PROMPT_ASSETS_DOWNLOAD_INIT: "daemon.promptAssets.download.init";
    readonly DAEMON_PROMPT_ASSETS_DOWNLOAD_CHUNK: "daemon.promptAssets.download.chunk";
    readonly DAEMON_PROMPT_ASSETS_DOWNLOAD_FINALIZE: "daemon.promptAssets.download.finalize";
    readonly DAEMON_PROMPT_ASSETS_DOWNLOAD_ABORT: "daemon.promptAssets.download.abort";
    readonly DAEMON_PROMPT_ASSETS_DELETE: "daemon.promptAssets.delete";
    readonly DAEMON_PROMPT_REGISTRY_LIST_ADAPTERS: "daemon.promptRegistry.listAdapters";
    readonly DAEMON_PROMPT_REGISTRY_LIST_SOURCES: "daemon.promptRegistry.listSources";
    readonly DAEMON_PROMPT_REGISTRY_SCAN_SOURCE: "daemon.promptRegistry.scanSource";
    readonly DAEMON_PROMPT_REGISTRY_DOWNLOAD_INIT: "daemon.promptRegistry.download.init";
    readonly DAEMON_PROMPT_REGISTRY_DOWNLOAD_CHUNK: "daemon.promptRegistry.download.chunk";
    readonly DAEMON_PROMPT_REGISTRY_DOWNLOAD_FINALIZE: "daemon.promptRegistry.download.finalize";
    readonly DAEMON_PROMPT_REGISTRY_DOWNLOAD_ABORT: "daemon.promptRegistry.download.abort";
    readonly DAEMON_PROMPT_REGISTRY_INSTALL: "daemon.promptRegistry.install";
    readonly DAEMON_DIRECT_SESSIONS_CANDIDATES_LIST: "daemon.directSessions.candidates.list";
    readonly DAEMON_DIRECT_SESSION_LINK_ENSURE: "daemon.directSessions.link.ensure";
    readonly DAEMON_DIRECT_SESSION_STATUS_GET: "daemon.directSessions.status.get";
    readonly DAEMON_DIRECT_SESSION_TRANSCRIPT_PAGE: "daemon.directSessions.transcript.page";
    readonly DAEMON_DIRECT_SESSION_TRANSCRIPT_READ_AFTER: "daemon.directSessions.transcript.readAfter";
    readonly DAEMON_DIRECT_SESSION_TAKEOVER: "daemon.directSessions.takeover";
    readonly DAEMON_DIRECT_SESSION_TAKEOVER_PERSIST: "daemon.directSessions.takeoverPersist";
    readonly DAEMON_SESSION_HANDOFF_START: "daemon.sessionHandoff.start";
    readonly DAEMON_SESSION_HANDOFF_PREPARE_TARGET: "daemon.sessionHandoff.prepareTarget";
    readonly DAEMON_SESSION_HANDOFF_PREPARE_TARGET_RESULT_GET: "daemon.sessionHandoff.prepareTargetResult.get";
    readonly DAEMON_SESSION_HANDOFF_COMMIT: "daemon.sessionHandoff.commit";
    readonly DAEMON_SESSION_HANDOFF_ABORT: "daemon.sessionHandoff.abort";
    readonly DAEMON_SESSION_HANDOFF_STATUS_GET: "daemon.sessionHandoff.status.get";
    readonly SESSION_CONTINUE_WITH_REPLAY: "session.continueWithReplay";
    readonly SESSION_FORK: "session.fork";
    readonly BASH: "bash";
    readonly PREVIEW_ENV: "preview-env";
    readonly READ_FILE: "readFile";
    readonly WRITE_FILE: "writeFile";
    readonly CREATE_DIRECTORY: "createDirectory";
    readonly LIST_DIRECTORY: "listDirectory";
    readonly GET_DIRECTORY_TREE: "getDirectoryTree";
    readonly DAEMON_FILESYSTEM_LIST_ROOTS: "daemon.filesystem.listRoots";
    readonly DAEMON_FILESYSTEM_LIST_DIRECTORY: "daemon.filesystem.listDirectory";
    readonly STAT_FILE: "statFile";
    readonly RENAME_PATH: "renamePath";
    readonly DELETE_PATH: "deletePath";
    readonly RIPGREP: "ripgrep";
    readonly DIFFTASTIC: "difftastic";
    readonly SESSION_LOG_TAIL: "session.log.tail";
    readonly SCM_BACKEND_DESCRIBE: "scm.backend.describe";
    readonly SCM_STATUS_SNAPSHOT: "scm.status.snapshot";
    readonly SCM_DIFF_FILE: "scm.diff.file";
    readonly SCM_DIFF_COMMIT: "scm.diff.commit";
    readonly SCM_CHANGE_INCLUDE: "scm.change.include";
    readonly SCM_CHANGE_EXCLUDE: "scm.change.exclude";
    readonly SCM_CHANGE_DISCARD: "scm.change.discard";
    readonly SCM_COMMIT_CREATE: "scm.commit.create";
    readonly SCM_COMMIT_BACKOUT: "scm.commit.backout";
    readonly SCM_LOG_LIST: "scm.log.list";
    readonly SCM_BRANCH_LIST: "scm.branch.list";
    readonly SCM_BRANCH_CREATE: "scm.branch.create";
    readonly SCM_BRANCH_CHECKOUT: "scm.branch.checkout";
    readonly SCM_WORKTREE_CREATE: "scm.worktree.create";
    readonly SCM_WORKTREE_REMOVE: "scm.worktree.remove";
    readonly SCM_WORKTREE_PRUNE: "scm.worktree.prune";
    readonly SCM_REMOTE_FETCH: "scm.remote.fetch";
    readonly SCM_REMOTE_PUSH: "scm.remote.push";
    readonly SCM_REMOTE_PULL: "scm.remote.pull";
    readonly SCM_REMOTE_PUBLISH: "scm.remote.publish";
    readonly SCM_STASH_LIST: "scm.stash.list";
    readonly SCM_STASH_DROP: "scm.stash.drop";
    readonly SCM_STASH_POP: "scm.stash.pop";
    readonly SCM_STASH_APPLY: "scm.stash.apply";
    readonly SCM_STASH_SHOW: "scm.stash.show";
    readonly KILL_SESSION: "killSession";
    readonly CAPABILITIES_DESCRIBE: "capabilities.describe";
    readonly CAPABILITIES_DETECT: "capabilities.detect";
    readonly CAPABILITIES_INVOKE: "capabilities.invoke";
    readonly BUGREPORT_COLLECT_DIAGNOSTICS: "bugreport.collectDiagnostics";
    readonly BUGREPORT_GET_LOG_TAIL: "bugreport.getLogTail";
    readonly BUGREPORT_UPLOAD_ARTIFACT: "bugreport.uploadArtifact";
};
export type RpcMethod = (typeof RPC_METHODS)[keyof typeof RPC_METHODS];
export declare const RPC_ERROR_CODES: {
    readonly METHOD_NOT_AVAILABLE: "RPC_METHOD_NOT_AVAILABLE";
    readonly METHOD_NOT_FOUND: "RPC_METHOD_NOT_FOUND";
};
export type RpcErrorCode = (typeof RPC_ERROR_CODES)[keyof typeof RPC_ERROR_CODES];
export declare const RPC_ERROR_MESSAGES: {
    readonly METHOD_NOT_AVAILABLE: "RPC method not available";
    readonly METHOD_NOT_FOUND: "Method not found";
};
export declare const SESSION_RPC_METHODS: {
    readonly SESSION_USER_MESSAGE_SEND: "session.userMessage.send";
    readonly EXECUTION_RUN_START: "execution.run.start";
    readonly EXECUTION_RUN_ENSURE: "execution.run.ensure";
    readonly EXECUTION_RUN_ENSURE_OR_START: "execution.run.ensureOrStart";
    readonly EXECUTION_RUN_SEND: "execution.run.send";
    readonly EXECUTION_RUN_STREAM_START: "execution.run.stream.start";
    readonly EXECUTION_RUN_STREAM_READ: "execution.run.stream.read";
    readonly EXECUTION_RUN_STREAM_CANCEL: "execution.run.stream.cancel";
    readonly EXECUTION_RUN_STOP: "execution.run.stop";
    readonly EXECUTION_RUN_LIST: "execution.run.list";
    readonly EXECUTION_RUN_GET: "execution.run.get";
    readonly EXECUTION_RUN_ACTION: "execution.run.action";
    readonly SESSION_ROLLBACK: "session.rollback";
    readonly EPHEMERAL_TASK_RUN: "ephemeral.task.run";
};
export declare function isRpcMethodNotFoundResult(value: unknown): value is {
    error: string;
    errorCode?: string;
};
//# sourceMappingURL=rpc.d.ts.map