import { ICommonObject } from 'flowise-components'; import { DeleteResult, QueryRunner } from 'typeorm'; import { Assistant } from '../../database/entities/Assistant'; import { AssistantType } from '../../Interface'; declare function getAssistantsCountByOrganization(type: AssistantType, organizationId: string): Promise; declare const _default: { createAssistant: (requestBody: any, orgId: string, workspaceId: string) => Promise; deleteAssistant: (assistantId: string, isDeleteBoth: any, workspaceId: string) => Promise; getAllAssistants: (workspaceId: string, type?: AssistantType) => Promise; getAllAssistantsCount: (workspaceId: string, type?: AssistantType) => Promise; getAssistantById: (assistantId: string, workspaceId: string) => Promise; updateAssistant: (assistantId: string, requestBody: any, workspaceId: string) => Promise; importAssistants: (newAssistants: Partial[], orgId: string, _: string, subscriptionId: string, queryRunner?: QueryRunner) => Promise; getChatModels: () => Promise; getDocumentStores: (activeWorkspaceId: string) => Promise; getTools: () => Promise; generateAssistantInstruction: (task: string, selectedChatModel: ICommonObject) => Promise; getAssistantsCountByOrganization: typeof getAssistantsCountByOrganization; }; export default _default;