/**
 * Translation helper for the ai-agent package.
 * @module i18n/messages
 */
import { type I18nInstance } from '@contractspec/lib.contracts-spec/translations';
import type { AgentMessageKey } from './keys';
/** I18n instance type for the ai-agent package. */
export type AgentI18n = I18nInstance<AgentMessageKey>;
/** Create an i18n instance for a given locale. */
export declare const createAgentI18n: (optionsLocale?: string, runtimeLocale?: string) => I18nInstance<"agent.json.rules.validJsonOnly" | "agent.json.rules.noMarkdownFences" | "agent.json.rules.noCommentary" | "agent.json.rules.doubleQuotes" | "agent.json.rules.noTrailingCommas" | "agent.json.defaultDescription" | "agent.json.systemPrompt" | "knowledge.header" | "knowledge.description" | "tool.knowledge.description" | "tool.knowledge.availableSpaces" | "tool.knowledge.spaceDefault" | "tool.knowledge.param.query" | "tool.knowledge.param.spaceKey" | "tool.knowledge.param.topK" | "tool.knowledge.noResults" | "tool.knowledge.sourceLabel" | "tool.fallbackDescription" | "tool.mcp.param.message" | "tool.mcp.param.sessionId" | "tool.mcp.agentDescription" | "tool.mcp.executePrompt" | "tool.mcp.toolDescription" | "interop.prompt.agentIdentity" | "interop.prompt.youAre" | "interop.prompt.description" | "interop.prompt.instructions" | "interop.prompt.availableTools" | "interop.prompt.toolsIntro" | "interop.prompt.parameters" | "interop.prompt.knowledgeContext" | "interop.prompt.additionalContext" | "interop.md.toc" | "interop.md.overview" | "interop.md.tools" | "interop.md.knowledge" | "interop.md.policy" | "interop.md.metaKey" | "interop.md.metaVersion" | "interop.md.metaStability" | "interop.md.metaOwners" | "interop.md.metaTags" | "interop.md.schema" | "interop.md.automationSafe" | "interop.md.required" | "interop.md.optional" | "interop.md.minConfidence" | "interop.md.escalationThreshold" | "interop.md.escalateToolFailure" | "interop.md.escalateTimeout" | "interop.md.yes" | "interop.md.no" | "error.jsonRunner.requiresModel" | "error.missingToolHandler" | "error.unknownBackend" | "error.claudeSdk.notAvailable" | "error.claudeSdk.notInstalled" | "error.opencodeSdk.notAvailable" | "error.opencodeSdk.notInstalled" | "error.providerNotInitialized" | "error.agentKeyRequired" | "error.agentMissingVersion" | "error.agentRequiresInstructions" | "error.agentRequiresTool" | "error.agentDuplicateTool" | "error.agentSpecNotFound" | "error.specNotFound" | "error.toolNotFound" | "error.noHandlerForTool" | "error.noToolHandler" | "error.unknownExportFormat" | "error.handlerNotFoundForTool" | "error.toolNotFoundOrNoHandler" | "error.toolNoExecuteHandler" | "error.provider.notRegistered" | "error.provider.depsNotInstalled" | "error.provider.sdkNotConfigured" | "error.provider.claudeSdkMissing" | "error.provider.opencodeSdkMissing" | "error.provider.sdkNotInstalled" | "error.provider.contextCreation" | "error.provider.executionFailed" | "error.provider.streamFailed" | "export.agentConfiguration" | "export.metadata" | "export.metaName" | "export.metaVersion" | "export.metaOwners" | "export.metaModel" | "export.instructions" | "export.availableTools" | "export.tools" | "export.knowledgeSources" | "export.policy" | "export.additionalContext" | "export.configuration" | "export.mcpServers" | "export.parameters" | "export.requiresApproval" | "export.notAutomationSafe" | "export.requiresApprovalMd" | "export.notAutomationSafeMd" | "export.required" | "export.optional" | "export.minConfidence" | "export.escalationConfigured" | "export.escalationPolicyConfigured" | "export.featureFlags" | "export.generatedFrom" | "export.exportedAt" | "export.agentType" | "export.noDescription" | "export.validation.requiresKey" | "export.validation.requiresInstructions" | "export.validation.requiresTool" | "export.validation.toolRequiresName" | "export.validation.toolRequiresDescOrName" | "export.validation.toolInvalidName" | "export.agentType.build" | "export.agentType.plan" | "export.agentType.general" | "export.agentType.explore" | "export.bridge.requiresApproval" | "export.bridge.askMode" | "approval.toolRequiresApproval" | "log.unifiedAgent.fallback" | "log.knowledge.spaceNotAvailable" | "log.knowledge.loadFailed" | "log.knowledge.queryFailed" | "log.mcpServer.started" | "log.mcpServer.stopped" | "error.telemetry.posthogAiRequired" | "error.telemetry.posthogClientOrKeyRequired" | "error.telemetry.posthogNodeRequired" | "error.provider.notAvailable">;
/** Create a default (English) i18n instance. */
export declare const getDefaultI18n: () => I18nInstance<"agent.json.rules.validJsonOnly" | "agent.json.rules.noMarkdownFences" | "agent.json.rules.noCommentary" | "agent.json.rules.doubleQuotes" | "agent.json.rules.noTrailingCommas" | "agent.json.defaultDescription" | "agent.json.systemPrompt" | "knowledge.header" | "knowledge.description" | "tool.knowledge.description" | "tool.knowledge.availableSpaces" | "tool.knowledge.spaceDefault" | "tool.knowledge.param.query" | "tool.knowledge.param.spaceKey" | "tool.knowledge.param.topK" | "tool.knowledge.noResults" | "tool.knowledge.sourceLabel" | "tool.fallbackDescription" | "tool.mcp.param.message" | "tool.mcp.param.sessionId" | "tool.mcp.agentDescription" | "tool.mcp.executePrompt" | "tool.mcp.toolDescription" | "interop.prompt.agentIdentity" | "interop.prompt.youAre" | "interop.prompt.description" | "interop.prompt.instructions" | "interop.prompt.availableTools" | "interop.prompt.toolsIntro" | "interop.prompt.parameters" | "interop.prompt.knowledgeContext" | "interop.prompt.additionalContext" | "interop.md.toc" | "interop.md.overview" | "interop.md.tools" | "interop.md.knowledge" | "interop.md.policy" | "interop.md.metaKey" | "interop.md.metaVersion" | "interop.md.metaStability" | "interop.md.metaOwners" | "interop.md.metaTags" | "interop.md.schema" | "interop.md.automationSafe" | "interop.md.required" | "interop.md.optional" | "interop.md.minConfidence" | "interop.md.escalationThreshold" | "interop.md.escalateToolFailure" | "interop.md.escalateTimeout" | "interop.md.yes" | "interop.md.no" | "error.jsonRunner.requiresModel" | "error.missingToolHandler" | "error.unknownBackend" | "error.claudeSdk.notAvailable" | "error.claudeSdk.notInstalled" | "error.opencodeSdk.notAvailable" | "error.opencodeSdk.notInstalled" | "error.providerNotInitialized" | "error.agentKeyRequired" | "error.agentMissingVersion" | "error.agentRequiresInstructions" | "error.agentRequiresTool" | "error.agentDuplicateTool" | "error.agentSpecNotFound" | "error.specNotFound" | "error.toolNotFound" | "error.noHandlerForTool" | "error.noToolHandler" | "error.unknownExportFormat" | "error.handlerNotFoundForTool" | "error.toolNotFoundOrNoHandler" | "error.toolNoExecuteHandler" | "error.provider.notRegistered" | "error.provider.depsNotInstalled" | "error.provider.sdkNotConfigured" | "error.provider.claudeSdkMissing" | "error.provider.opencodeSdkMissing" | "error.provider.sdkNotInstalled" | "error.provider.contextCreation" | "error.provider.executionFailed" | "error.provider.streamFailed" | "export.agentConfiguration" | "export.metadata" | "export.metaName" | "export.metaVersion" | "export.metaOwners" | "export.metaModel" | "export.instructions" | "export.availableTools" | "export.tools" | "export.knowledgeSources" | "export.policy" | "export.additionalContext" | "export.configuration" | "export.mcpServers" | "export.parameters" | "export.requiresApproval" | "export.notAutomationSafe" | "export.requiresApprovalMd" | "export.notAutomationSafeMd" | "export.required" | "export.optional" | "export.minConfidence" | "export.escalationConfigured" | "export.escalationPolicyConfigured" | "export.featureFlags" | "export.generatedFrom" | "export.exportedAt" | "export.agentType" | "export.noDescription" | "export.validation.requiresKey" | "export.validation.requiresInstructions" | "export.validation.requiresTool" | "export.validation.toolRequiresName" | "export.validation.toolRequiresDescOrName" | "export.validation.toolInvalidName" | "export.agentType.build" | "export.agentType.plan" | "export.agentType.general" | "export.agentType.explore" | "export.bridge.requiresApproval" | "export.bridge.askMode" | "approval.toolRequiresApproval" | "log.unifiedAgent.fallback" | "log.knowledge.spaceNotAvailable" | "log.knowledge.loadFailed" | "log.knowledge.queryFailed" | "log.mcpServer.started" | "log.mcpServer.stopped" | "error.telemetry.posthogAiRequired" | "error.telemetry.posthogClientOrKeyRequired" | "error.telemetry.posthogNodeRequired" | "error.provider.notAvailable">;
/** Reset the shared registry (useful for testing). @internal */
export declare const resetI18nRegistry: () => void;
