import type { SimpleWorkflow } from '../workflow'; export declare const categories: readonly ['AI', 'AI Chatbot', 'AI RAG', 'AI Summarization', 'Content Creation', 'CRM', 'Crypto Trading', 'DevOps', 'Document Extraction', 'Document Ops', 'Engineering', 'File Management', 'HR', 'Internal Wiki', 'Invoice Processing', 'IT Ops', 'Lead Generation', 'Lead Nurturing', 'Marketing', 'Market Research', 'Miscellaneous', 'Multimodal AI', 'Other', 'Personal Productivity', 'Project Management', 'Sales', 'SecOps', 'Social Media', 'Support', 'Support Chatbot', 'Ticket Management']; export type Category = (typeof categories)[number]; export interface TemplateSearchQuery { search?: string; rows?: number; page?: number; sort?: string; price?: number; combineWith?: 'or' | 'and'; category?: Category; nodes?: string; } export interface TemplateWorkflowDescription { id: number; name: string; description: string; price: number; totalViews: number; nodes: Array<{ id: number; name: string; displayName: string; nodeCategories: Array<{ id: number; name: string; }>; }>; user: { id: number; name: string; username: string; verified: boolean; bio: string; }; } export interface TemplateSearchResponse { totalWorkflows: number; workflows: TemplateWorkflowDescription[]; } export interface TemplateFetchResponse { id: number; name: string; workflow: SimpleWorkflow; }