/** * Marketplace Resource Method Definitions for Claude Code Bridge * * Shared method definitions with examples for LLM documentation. * Used by register.ts and start.ts when creating/updating the resource. */ /** * Method example structure matching the backend MethodExample interface */ interface MethodExample { description: string; input: Record; output: Record; note?: string; } /** * Resource method structure matching the backend ResourceMethod interface */ interface ResourceMethod { name: string; httpMethod: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; path: string; description: string; parameters: Record; response: { type: string; description?: string; }; examples?: MethodExample[]; } /** * Get all resource method definitions with examples */ export declare function getResourceMethods(): ResourceMethod[]; /** * Get method definitions for the basic set (without respond) * Used in register.ts which has a simpler method set */ export declare function getBasicResourceMethods(): ResourceMethod[]; /** * Convert methods to the format expected by sdk.resources.create/update * This strips TypeScript-specific fields and converts to plain objects */ export declare function toSDKMethods(methods: ResourceMethod[]): any[]; export {}; //# sourceMappingURL=resource-methods.d.ts.map