/** * OpenCode provider implementation */ import type { PermissionMode } from '../../core/models/index.js'; import { type AgentSetup, type Provider, type ProviderAgent, type ProviderCompactSessionOptions } from './types.js'; /** OpenCode provider — delegates to OpenCode SDK */ export declare class OpenCodeProvider implements Provider { readonly supportsStructuredOutput = true; readonly supportsIsolatedStructuredExecution = true; readonly supportsNativeImageInput = false; readonly supportedMcpTransports: ReadonlySet<'stdio' | 'sse' | 'http'>; getRuntimeInstructions(allowedTools?: string[], permissionMode?: PermissionMode, networkAccess?: boolean): string | null; keepsAllowedToolWithoutEdit(tool: string): boolean; compactSession(options: ProviderCompactSessionOptions): Promise; setup(config: AgentSetup): ProviderAgent; setupIsolatedStructured(config: AgentSetup): ProviderAgent; } //# sourceMappingURL=opencode.d.ts.map