import type { SharedWorkflow, User } from '@n8n/db'; import { WorkflowEntity } from '@n8n/db'; import { type Scope } from '@n8n/permissions'; export declare function getSharedWorkflowIds(user: User, scopes: Scope[], projectId?: string): Promise; export declare function getSharedWorkflow(user: User, workflowId?: string): Promise; export declare function getWorkflowById(id: string): Promise; export declare function createWorkflow(user: User, body: WorkflowEntity & { projectId?: string; }): Promise; export declare function deleteWorkflow(workflow: WorkflowEntity): Promise; export declare function parseTagNames(tags: string): string[]; export declare function getWorkflowTags(workflowId: string): Promise; export declare function updateTags(workflowId: string, newTags: string[]): Promise;