/** * @conveniencepro/ctp-examples * * Example tool implementations for the ConveniencePro Tool Protocol. * Demonstrates best practices and patterns for building CTP tools. * * @packageDocumentation * @module @conveniencepro/ctp-examples * @version 1.0.0 */ import type { ToolDefinition, ToolFunction, ToolRegistry } from '@conveniencepro/ctp-core'; export { jsonFormatterDefinition, jsonFormatterFn } from './tools/json-formatter'; export { base64EncoderDefinition, base64EncoderFn } from './tools/base64-encoder'; export { hashGeneratorDefinition, hashGeneratorFn } from './tools/hash-generator'; /** * Tool entry with definition and function */ export interface ToolEntry { definition: ToolDefinition; fn: ToolFunction; } /** * All example tools */ export declare const exampleTools: ToolEntry[]; /** * Get all tool definitions */ export declare function getToolDefinitions(): ToolDefinition[]; /** * Get tool by ID */ export declare function getToolById(id: string): ToolEntry | undefined; /** * Create a registry with all example tools pre-registered */ export declare function createExampleRegistry(): ToolRegistry; /** * Register all example tools in an existing registry */ export declare function registerExampleTools(registry: ToolRegistry): void; declare const _default: { tools: ToolEntry[]; getDefinitions: typeof getToolDefinitions; getById: typeof getToolById; createRegistry: typeof createExampleRegistry; register: typeof registerExampleTools; }; export default _default; //# sourceMappingURL=index.d.ts.map