/**
 * Type guard to check if a tool definition is a task tool.
 *
 * @param def - The tool definition to check
 * @returns True if the definition has taskHandlers (is a TaskToolDefinition)
 */
export function isTaskToolDefinition(def) {
    return (def !== null &&
        typeof def === 'object' &&
        'taskHandlers' in def &&
        def.taskHandlers !== null &&
        typeof def.taskHandlers === 'object');
}
//# sourceMappingURL=taskToolDefinition.js.map