import type { TamboComponent, TamboTool } from "../model/component-metadata.js"; /** * Validates a tool before registration. * Throws an error if the tool is invalid. * @param tool - The tool to validate */ export declare function validateTool(tool: unknown): asserts tool is TamboTool; /** * Validates a component and prepares its props for registration. * Throws an error if the component is invalid. * @param component - The component to validate and prepare * @returns Object containing the serialized props */ export declare function validateAndPrepareComponent(component: TamboComponent): { props: Record; }; /** * Validates a tool association between a component and tool. * Throws an error if the association is invalid. * @param componentName - The component name * @param toolName - The tool name * @param componentExists - Whether the component exists in the registry * @param toolExists - Whether the tool exists in the registry */ export declare function validateToolAssociation(componentName: string, toolName: string, componentExists: boolean, toolExists: boolean): void; //# sourceMappingURL=registry-validators.d.ts.map