import * as _conveniencepro_ctp_core from '@conveniencepro/ctp-core'; export { NormalizedParams, ParameterSchema, ToolDefinition, ToolFunction, ToolParams, ToolRegistry, ToolRegistryEntry, ToolResult, failure, normalizeParams, success, validateParameters, validateToolDefinition } from '@conveniencepro/ctp-core'; export { BatchRequest, BatchResult, ToolBuilder, createRegistry, executeBatch, executeSequential, executeTool, getAllDefinitions, getGlobalRegistry, getTool, hasTool, listTools, registerTool, resetGlobalRegistry, tool } from './registry.mjs'; /** * Detect the current runtime environment */ declare function detectEnvironment(): 'browser' | 'node' | 'unknown'; /** * Check if running in browser */ declare function isBrowser(): boolean; /** * Check if running in Node.js */ declare function isNode(): boolean; /** * URL encode text (works in both environments) */ declare function urlEncode(text: string): string; /** * URL decode text (works in both environments) */ declare function urlDecode(input: string): string; /** * HTML encode (works in both environments) */ declare function htmlEncode(text: string): string; /** * HTML decode (works in both environments) */ declare function htmlDecode(input: string): string; /** * Validate UUID format (works in both environments) */ declare function isValidUUID(uuid: string): boolean; /** * Format JSON (works in both environments) */ declare function formatJSON(json: string, indent?: number): _conveniencepro_ctp_core.ToolResult; /** * Minify JSON (works in both environments) */ declare function minifyJSON(json: string): _conveniencepro_ctp_core.ToolResult; /** * Text statistics (works in both environments) */ declare function getTextStats(text: string): Record; /** * Case conversion types */ type CaseType = 'upper' | 'lower' | 'title' | 'sentence' | 'camel' | 'pascal' | 'snake' | 'kebab' | 'constant'; /** * Convert text case (works in both environments) */ declare function convertCase(text: string, to: CaseType): string; /** * Runtime configuration */ interface RuntimeConfig { /** Timeout for operations (ms) */ timeout?: number; /** Enable debug mode */ debug?: boolean; } /** * Create a runtime appropriate for the current environment */ declare function createRuntime(config?: RuntimeConfig): any; export { type CaseType, type RuntimeConfig, convertCase, createRuntime, detectEnvironment, formatJSON, getTextStats, htmlDecode, htmlEncode, isBrowser, isNode, isValidUUID, minifyJSON, urlDecode, urlEncode };