import type { RemoteResult, TypertRemoteContribution } from '@deepseek-ai/dsh-typert-protocol'; import { z } from 'zod'; import type { CopilotAccountsView } from './copilot-accounts-types.ts'; export type { CopilotAccountsView, CopilotAccountIdentity, CopilotAccountView } from './copilot-accounts-types.ts'; declare module '@deepseek-ai/dsh-typert-protocol' { interface TypertRemoteNamespaceMap { githubCopilotAccounts: { get(): Promise>; refreshIdentity(): Promise>; ensureIdentity(): Promise>; add(): Promise>; cancel(): Promise>; reauthorize(accountId: string, expectedRevision: number): Promise>; switchAccount(accountId: string, expectedRevision: number): Promise>; removeAccount(accountId: string, expectedRevision: number): Promise>; }; } } export declare const CopilotAccountIdSchema: z.ZodString; export declare const CopilotAccountsViewSchema: z.ZodObject<{ state: z.ZodEnum<{ error: "error"; ready: "ready"; }>; activeAccountId: z.ZodString; revision: z.ZodOptional; writable: z.ZodBoolean; switchable: z.ZodBoolean; accounts: z.ZodArray; identity: z.ZodOptional>; }, z.core.$strict>>; operation: z.ZodOptional>; notices: z.ZodArray>; code: z.ZodOptional; }, z.core.$strict>>; diagnostic: z.ZodOptional>; }, z.core.$strict>; declare const contribution: TypertRemoteContribution; export default contribution; //# sourceMappingURL=copilot-accounts-remote.d.ts.map