import { type OpenCodeBackendMode } from '../providerSettings/definitions/opencode.js';
export type OpenCodeRuntimeDescriptorProviderExtraRuntimeHandle = Readonly<{
    backendMode: OpenCodeBackendMode | null;
    vendorSessionId: string | null;
    serverBaseUrl: string | null;
    serverBaseUrlExplicit: boolean;
}>;
export type OpenCodeRuntimeDescriptorProviderExtra = Readonly<{
    v: 1;
    runtimeHandle?: Readonly<{
        backendMode?: OpenCodeBackendMode;
        vendorSessionId?: string;
        serverBaseUrl?: string;
        serverBaseUrlExplicit?: true;
    }>;
}>;
export declare function buildOpenCodeRuntimeDescriptorProviderExtra(params: Readonly<{
    backendMode?: OpenCodeBackendMode | null;
    vendorSessionId?: string | null;
    serverBaseUrl?: string | null;
    serverBaseUrlExplicit?: boolean;
}>): OpenCodeRuntimeDescriptorProviderExtra;
export declare function readOpenCodeRuntimeDescriptorProviderExtra(value: unknown): OpenCodeRuntimeDescriptorProviderExtraRuntimeHandle | null;
//# sourceMappingURL=opencodeRuntimeDescriptorExtra.d.ts.map