/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
import type {
  RemoteResult,
  TypertRemoteContribution,
} from '@deepseek-ai/dsh-typert-protocol'
import type { ApprovalRequestId, CordisDynamicPackageId, CordisDynamicPluginId, CordisDynamicPluginRunId, CordisDynamicRunMode, CordisErrorDetails, CordisInspectProviderManifest, CordisInspectQueryResolution, CordisInspectRequestId, CordisInspectResolveAck, DynamicCordisClientSource, DynamicCordisHostHalfResult, DynamicCordisInventoryRow, DynamicCordisInvokeResult, DynamicCordisRenderFailure, DynamicCordisResolveAck, DynamicCordisRunResolution, DynamicCordisRunResponse, DynamicCordisStopResponse, DynamicCordisUndefineReceipt } from '@deepseek-ai/dsh-cordis-host-runner/types'
import type { JsonValue, SessionId } from '@deepseek-ai/dsh-session/types'

declare module '@deepseek-ai/dsh-typert-protocol' {
  interface TypertRemoteNamespace$64796e616d6963436f7264697352756e6e6572 {
    getClientCode: (agentId: SessionId, pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId) => Promise<RemoteResult<DynamicCordisClientSource>>
    inventory: () => Promise<RemoteResult<DynamicCordisInventoryRow[]>>
    invoke: (pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, method: string, args: JsonValue) => Promise<RemoteResult<DynamicCordisInvokeResult>>
    reportClientGuardFailure: (agentId: SessionId, pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, failure: CordisErrorDetails) => Promise<RemoteResult<null>>
    reportRenderFailure: (agentId: SessionId, pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, failure: DynamicCordisRenderFailure) => Promise<RemoteResult<null>>
    resolveInspectQuery: (agentId: SessionId, requestId: CordisInspectRequestId, resolution: CordisInspectQueryResolution) => Promise<RemoteResult<CordisInspectResolveAck>>
    resolveRequestRun: (requestId: ApprovalRequestId, resolution: DynamicCordisRunResolution) => Promise<RemoteResult<DynamicCordisResolveAck>>
    runHostHalf: (agentId: SessionId, pluginId: CordisDynamicPluginId, packageId: CordisDynamicPackageId, mode: CordisDynamicRunMode, requestId: ApprovalRequestId | null, approveFutureVersions: boolean) => Promise<RemoteResult<DynamicCordisHostHalfResult>>
    settleUserRun: (agentId: SessionId, pluginId: CordisDynamicPluginId, resolution: DynamicCordisRunResolution) => Promise<RemoteResult<DynamicCordisRunResponse>>
    stopFromPanel: (agentId: SessionId, pluginId: CordisDynamicPluginId) => Promise<RemoteResult<DynamicCordisStopResponse>>
    syncInspectManifest: (providers: readonly CordisInspectProviderManifest[]) => Promise<RemoteResult<null>>
    undefineFromPanel: (agentId: SessionId, pluginId: CordisDynamicPluginId) => Promise<RemoteResult<DynamicCordisUndefineReceipt>>
  }
  interface TypertRemoteMap {
    'dynamicCordisRunner/getClientCode': (agentId: SessionId, pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId) => Promise<RemoteResult<DynamicCordisClientSource>>
    'dynamicCordisRunner/inventory': () => Promise<RemoteResult<DynamicCordisInventoryRow[]>>
    'dynamicCordisRunner/invoke': (pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, method: string, args: JsonValue) => Promise<RemoteResult<DynamicCordisInvokeResult>>
    'dynamicCordisRunner/reportClientGuardFailure': (agentId: SessionId, pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, failure: CordisErrorDetails) => Promise<RemoteResult<null>>
    'dynamicCordisRunner/reportRenderFailure': (agentId: SessionId, pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, failure: DynamicCordisRenderFailure) => Promise<RemoteResult<null>>
    'dynamicCordisRunner/resolveInspectQuery': (agentId: SessionId, requestId: CordisInspectRequestId, resolution: CordisInspectQueryResolution) => Promise<RemoteResult<CordisInspectResolveAck>>
    'dynamicCordisRunner/resolveRequestRun': (requestId: ApprovalRequestId, resolution: DynamicCordisRunResolution) => Promise<RemoteResult<DynamicCordisResolveAck>>
    'dynamicCordisRunner/runHostHalf': (agentId: SessionId, pluginId: CordisDynamicPluginId, packageId: CordisDynamicPackageId, mode: CordisDynamicRunMode, requestId: ApprovalRequestId | null, approveFutureVersions: boolean) => Promise<RemoteResult<DynamicCordisHostHalfResult>>
    'dynamicCordisRunner/settleUserRun': (agentId: SessionId, pluginId: CordisDynamicPluginId, resolution: DynamicCordisRunResolution) => Promise<RemoteResult<DynamicCordisRunResponse>>
    'dynamicCordisRunner/stopFromPanel': (agentId: SessionId, pluginId: CordisDynamicPluginId) => Promise<RemoteResult<DynamicCordisStopResponse>>
    'dynamicCordisRunner/syncInspectManifest': (providers: readonly CordisInspectProviderManifest[]) => Promise<RemoteResult<null>>
    'dynamicCordisRunner/undefineFromPanel': (agentId: SessionId, pluginId: CordisDynamicPluginId) => Promise<RemoteResult<DynamicCordisUndefineReceipt>>
  }
  interface TypertRemoteNamespaceMap {
    'dynamicCordisRunner': TypertRemoteNamespace$64796e616d6963436f7264697352756e6e6572
  }
  interface TypertRemoteScopeMap {
    'agent:dynamicCordisRunner/getClientCode': (pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId) => Promise<RemoteResult<DynamicCordisClientSource>>
    'agent:dynamicCordisRunner/reportClientGuardFailure': (pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, failure: CordisErrorDetails) => Promise<RemoteResult<null>>
    'agent:dynamicCordisRunner/reportRenderFailure': (pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, failure: DynamicCordisRenderFailure) => Promise<RemoteResult<null>>
    'agent:dynamicCordisRunner/resolveInspectQuery': (requestId: CordisInspectRequestId, resolution: CordisInspectQueryResolution) => Promise<RemoteResult<CordisInspectResolveAck>>
    'agent:dynamicCordisRunner/runHostHalf': (pluginId: CordisDynamicPluginId, packageId: CordisDynamicPackageId, mode: CordisDynamicRunMode, requestId: ApprovalRequestId | null, approveFutureVersions: boolean) => Promise<RemoteResult<DynamicCordisHostHalfResult>>
    'agent:dynamicCordisRunner/settleUserRun': (pluginId: CordisDynamicPluginId, resolution: DynamicCordisRunResolution) => Promise<RemoteResult<DynamicCordisRunResponse>>
    'agent:dynamicCordisRunner/stopFromPanel': (pluginId: CordisDynamicPluginId) => Promise<RemoteResult<DynamicCordisStopResponse>>
    'agent:dynamicCordisRunner/undefineFromPanel': (pluginId: CordisDynamicPluginId) => Promise<RemoteResult<DynamicCordisUndefineReceipt>>
  }
}

export declare const TYPERT_REMOTE: TypertRemoteContribution
export default TYPERT_REMOTE
//# sourceMappingURL=typert.remote-client.d.ts.map
