import { z } from 'zod'; import type { RemoteResult, TypertRemoteContribution } from '@deepseek-ai/dsh-typert-protocol'; import type { CopilotUsageView } from './copilot-usage-types.ts'; import type { CopilotAccountsView } from './copilot-accounts-types.ts'; export declare const SessionAccountViewSchema: z.ZodObject<{ source: z.ZodEnum<{ session: "session"; global: "global"; }>; accountId: z.ZodString; globalAccountId: z.ZodString; runningAccountId: z.ZodOptional; accounts: 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>; }, z.core.$strict>; export interface SessionAccountView { readonly source: 'global' | 'session'; readonly accountId: string; readonly globalAccountId: string; readonly runningAccountId?: string; readonly accounts: CopilotAccountsView; } export declare const TurnAccountViewSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ state: z.ZodLiteral<"unknown">; }, z.core.$strict>, z.ZodObject<{ state: z.ZodLiteral<"recorded">; accountId: z.ZodString; source: z.ZodEnum<{ session: "session"; global: "global"; }>; identity: z.ZodOptional>; }, z.core.$strict>], "state">; export type TurnAccountView = z.infer; declare module '@deepseek-ai/dsh-typert-protocol' { interface TypertRemoteNamespaceMap { githubCopilotSessionAccount: { get(agentId: string): Promise>; set(agentId: string, accountId: string | null, revision: number): Promise>; refreshIdentity(agentId: string): Promise>; ensureIdentity(agentId: string): Promise>; usage(agentId: string): Promise>; refreshUsage(agentId: string): Promise>; turn(agentId: string, turn: number): Promise>; }; } } declare const contribution: TypertRemoteContribution; export default contribution; //# sourceMappingURL=session-accounts-remote.d.ts.map