import { WorkbenchHostLaunchRequest } from '@tutti-os/workbench-surface'; import { AgentGuiWorkbenchOpenSessionPayload, agentGuiWorkbenchOpenSessionActivationType, AgentGuiWorkbenchPrefillPromptPayload, agentGuiWorkbenchPrefillPromptActivationType, AgentGuiWorkbenchProvider, AgentGuiWorkbenchOpenSessionComposerAppend } from './types.js'; type AgentGuiWorkbenchLaunchRequestInput = Pick & { dockEntryId?: string | null; }; declare const agentGuiWorkbenchTypeId = "agent-gui"; interface AgentGuiWorkbenchDockIdentity { kind: "unifiedAggregate"; } /** * @deprecated AgentGUI has one canonical Dock entry. Use * {@link agentGuiWorkbenchUnifiedDockEntryId} instead. */ declare function agentGuiWorkbenchDockEntryId(_provider: AgentGuiWorkbenchProvider): string; declare function agentGuiWorkbenchUnifiedDockEntryId(): string; declare function createAgentGuiWorkbenchInstanceId(): string; declare function agentGuiWorkbenchDockIdentityFromIdentifier(value: string | null | undefined): AgentGuiWorkbenchDockIdentity | null; declare function agentGuiWorkbenchProviderFromLaunchRequest(request: AgentGuiWorkbenchLaunchRequestInput): AgentGuiWorkbenchProvider; declare function createAgentGuiWorkbenchSessionLaunchRequest(input: { agentTargetId?: string | null; agentSessionId?: string; composerAppend?: AgentGuiWorkbenchOpenSessionComposerAppend; forceNewInstance?: boolean; openInNewWindow?: boolean; provider: unknown; }): { dockEntryId: string; payload: { agentTargetId?: string | undefined; agentSessionId?: string | undefined; composerAppend?: { draftPrompt: string; focusComposer: boolean; } | undefined; forceNewInstance?: boolean | undefined; openInNewWindow?: boolean | undefined; provider: string; }; reason: "host"; typeId: string; }; declare function createAgentGuiWorkbenchDraftLaunchRequest(input: { agentTargetId?: string | null; autoSubmit?: boolean; draftPrompt: string; model?: string | null; modelPlanId?: string | null; openInNewWindow?: boolean; provider: unknown; userProjectPath?: string | null; }): { dockEntryId: string; payload: { draftPrompt: string; provider: string; agentTargetId?: string | undefined; autoSubmit?: boolean | undefined; model?: string | undefined; modelPlanId?: string | undefined; openInNewWindow?: boolean | undefined; userProjectPath?: string | undefined; }; reason: "host"; typeId: string; }; interface AgentGuiWorkbenchLaunchDescriptor { activation: { payload: AgentGuiWorkbenchOpenSessionPayload; type: typeof agentGuiWorkbenchOpenSessionActivationType; } | { payload: AgentGuiWorkbenchPrefillPromptPayload; type: typeof agentGuiWorkbenchPrefillPromptActivationType; } | null; dockEntryId: string; instanceId: string; openInNewWindow: boolean; provider: AgentGuiWorkbenchProvider; reusePolicy: AgentGuiWorkbenchReusePolicy; targetAgentSessionId: string | null; } type AgentGuiWorkbenchReusePolicy = { kind: "dock-entry"; } | { agentSessionId: string; kind: "current-session"; } | { kind: "none"; }; declare function createAgentGuiWorkbenchLaunchDescriptor(request: AgentGuiWorkbenchLaunchRequestInput): AgentGuiWorkbenchLaunchDescriptor; /** * @deprecated AgentGUI launch results always use the unified Dock entry. Use * {@link agentGuiWorkbenchUnifiedDockEntryId} instead. */ declare function resolveAgentGuiWorkbenchLaunchDockEntryId(_input: { provider: AgentGuiWorkbenchProvider; requestedDockEntryId?: string | null; }): string; export { type AgentGuiWorkbenchDockIdentity, type AgentGuiWorkbenchLaunchDescriptor, type AgentGuiWorkbenchReusePolicy, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchPrefillPromptActivationType, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest, resolveAgentGuiWorkbenchLaunchDockEntryId };