import type { AuthorizationScope, CanonicalAgent, CanonicalBundle, CanonicalCommand, ResponsePolicy } from '../canonical/bundle.js'; import type { Artifact, CompileInput, CompilerDiagnostic, RuntimeId } from './types.js'; export interface SelectedInput { readonly bundle: CanonicalBundle; readonly agents: readonly CanonicalAgent[]; readonly commands: readonly SelectedCommand[]; readonly sourceFiles: ReadonlyMap; readonly runtimeResources: ReadonlyMap; } export type SelectedCommand = CanonicalCommand & Readonly<{ authorizationScope: AuthorizationScope; }>; export declare const sourceBodyBegin = ""; export declare const sourceBodyEnd = ""; export declare const mobbinConnectorPath = "connectors/mobbin.mcp.json"; export declare const mobbinMcpEndpoint = "https://api.mobbin.com/mcp"; export declare function selectInput(input: CompileInput): SelectedInput; export declare function commandWorkflow(command: SelectedCommand, runtime?: RuntimeId): string; export declare function commandMarkdown(command: SelectedCommand): string; export declare function agentKnowledgePreamble(agent: CanonicalAgent, runtime: RuntimeId, responsePolicy: ResponsePolicy): string; export declare function embeddedSourceBody(body: string): string; export declare function mobbinConnectorArtifact(runtime: RuntimeId): Artifact; export declare function mobbinConnectorDiagnostic(runtime: RuntimeId): CompilerDiagnostic; export declare function agentCommandAdapterDiagnostic(runtime: RuntimeId): CompilerDiagnostic; export declare function internalSubagentsDiagnostic(runtime: RuntimeId): CompilerDiagnostic; export declare function portableAgentMarkdown(agent: CanonicalAgent, runtime: RuntimeId, responsePolicy: ResponsePolicy): string; export declare function portableAgentWrapperMarkdown(agent: CanonicalAgent, publicName: string): string; export declare function geminiAgentWrapperMarkdown(agent: CanonicalAgent, publicName: string): string; export declare function claudeAgentWrapperMarkdown(agent: CanonicalAgent, publicName: string): string; export declare function geminiAgentMarkdown(agent: CanonicalAgent, responsePolicy: ResponsePolicy): string; export declare function claudeAgentMarkdown(agent: CanonicalAgent, responsePolicy: ResponsePolicy): string; export declare function claudeCommandMarkdown(command: SelectedCommand): string; export declare function claudeNamespaceSkill(commands: readonly SelectedCommand[]): string; export declare function buildCapabilityContract(runtime: RuntimeId, selected: SelectedInput, diagnostics: readonly CompilerDiagnostic[], commandPath: (command: CanonicalCommand) => string, agentPath: (agent: CanonicalAgent) => string): string; export declare function permissionEnforcementDiagnostic(runtime: RuntimeId): CompilerDiagnostic; export declare function buildNativeManifest(runtime: RuntimeId, productVersion: string): string; export declare function commandArtifacts(commands: readonly SelectedCommand[], pathFor: (command: SelectedCommand) => string): Artifact[]; export declare function runtimeResourceArtifacts(selected: SelectedInput): Artifact[]; /** Plugin-local hooks use documented host discovery, never edit global host settings. */ export declare function sessionHookArtifact(runtime: Exclude): Artifact;