/** * Client-safe Remote contribution for the plugin-owned authorization bridge. */ import type { RemoteResult, TypertRemoteContribution } from '@deepseek-ai/dsh-typert-protocol'; import { z } from 'zod'; import type { GitHubCopilotAuthorizationView, GitHubCopilotModelPreferencesView } from './authorization-controller.ts'; import type { GitHubCopilotMigrationStatus } from './migration-status.ts'; declare module '@deepseek-ai/dsh-typert-protocol' { interface TypertRemoteNamespaceMap { githubCopilot: { migrationStatus(): Promise>; status(): Promise>; reconcile(): Promise>; discoverModels(): Promise>; ensureModels(): Promise>; excludeModel(modelId: string): Promise>; restoreModel(modelId: string): Promise>; setModelExcluded(modelId: string, excluded: boolean): Promise>; setModelHighCost(modelId: string, highCost: boolean): Promise>; start(): Promise>; cancel(): Promise>; signOut(): Promise>; }; } } export declare const GITHUB_COPILOT_AUTHORIZATION_VIEW_TYPE_SYMBOL = "dsh-github-copilot#GitHubCopilotAuthorizationView"; export declare const GitHubCopilotAuthorizationViewSchema: z.ZodObject<{ phase: z.ZodEnum<{ error: "error"; authorizing: "authorizing"; "signed-out": "signed-out"; "signed-in": "signed-in"; }>; configured: z.ZodBoolean; writable: z.ZodBoolean; inFlight: z.ZodBoolean; notices: z.ZodArray; code: z.ZodOptional; }, z.core.$strict>>; catalog: z.ZodOptional; accountModelCount: z.ZodNumber; supportedModelCount: z.ZodNumber; unknownModelIds: z.ZodArray; temporarilyUnavailableModelIds: z.ZodOptional>; previewModelIds: z.ZodOptional>; }, z.core.$strict>>; accountModels: z.ZodOptional; models: z.ZodArray>; rejected: z.ZodArray; code: z.ZodString; }, z.core.$strict>>; warnings: z.ZodOptional>>; discoveredAt: z.ZodOptional; error: z.ZodOptional; }, z.core.$strict>>; modelPreferences: z.ZodOptional; writable: z.ZodBoolean; revision: z.ZodOptional; excludedModelIds: z.ZodArray; lockedModelIds: z.ZodArray; unavailableExcludedModelIds: z.ZodArray; highCostModelIds: z.ZodOptional>; error: z.ZodOptional>; }, z.core.$strict>>; route: z.ZodOptional; diagnosticCode: z.ZodOptional>; }, z.core.$strict>>; error: z.ZodOptional; authorizationMilestone: z.ZodOptional>; }, z.core.$strict>; export declare const GitHubCopilotModelPreferencesViewSchema: z.ZodObject<{ state: z.ZodEnum<{ error: "error"; ready: "ready"; }>; writable: z.ZodBoolean; revision: z.ZodOptional; excludedModelIds: z.ZodArray; lockedModelIds: z.ZodArray; unavailableExcludedModelIds: z.ZodArray; highCostModelIds: z.ZodOptional>; error: z.ZodOptional>; }, z.core.$strict>; export declare const GITHUB_COPILOT_MIGRATION_STATUS_TYPE_SYMBOL = "dsh-github-copilot#GitHubCopilotMigrationStatus"; /** Independent Ops result: strict at every object level; no account or private Session data. */ export declare const GitHubCopilotMigrationStatusSchema: z.ZodObject<{ plugin: z.ZodObject<{ name: z.ZodLiteral<"dsh-github-copilot">; version: z.ZodString; }, z.core.$strict>; protocolVersion: z.ZodLiteral<1>; historyScope: z.ZodLiteral<"live-agents-only">; observedAt: z.ZodNumber; capabilities: z.ZodObject<{ agentsList: z.ZodBoolean; sessionProjections: z.ZodBoolean; settingsCas: z.ZodBoolean; providerRegistry: z.ZodBoolean; defaultSelection: z.ZodBoolean; }, z.core.$strict>; complete: z.ZodObject<{ sessions: z.ZodBoolean; defaultSelection: z.ZodBoolean; routes: z.ZodBoolean; }, z.core.$strict>; defaultSelection: z.ZodNullable; }, z.core.$strict>>; sessions: z.ZodArray; effectiveSelection: z.ZodNullable; }, z.core.$strict>>; selectionSource: z.ZodEnum<{ default: "default"; unknown: "unknown"; pending: "pending"; "request-header": "request-header"; }>; activeRequestSelection: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>>; routes: z.ZodObject<{ nativeConfigured: z.ZodNullable; nativeRegistered: z.ZodNullable; managedRegistered: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; declare const contribution: TypertRemoteContribution; export default contribution; //# sourceMappingURL=remote.d.ts.map