import { CreateVariableRequestDto, UpdateVariableRequestDto } from '@n8n/api-types'; import { LicenseState } from '@n8n/backend-common'; import type { User, Variables } from '@n8n/db'; import { VariablesRepository } from '@n8n/db'; import { Scope } from '@n8n/permissions'; import { EventService } from '../../events/event.service'; import { CacheService } from '../../services/cache/cache.service'; import { ProjectService } from '../../services/project.service.ee'; export declare class VariablesService { private readonly cacheService; private readonly variablesRepository; private readonly eventService; private readonly licenseState; private readonly projectService; constructor(cacheService: CacheService, variablesRepository: VariablesRepository, eventService: EventService, licenseState: LicenseState, projectService: ProjectService); private findAll; private isAuthorizedForVariable; getAllCached(filters?: { globalOnly: boolean; }): Promise; getCached(id: string): Promise; updateCache(): Promise; getAllForUser(user: User, filter?: { state?: 'empty'; projectId?: string | null; }): Promise; getForUser(user: User, variableId: string, scope?: Scope): Promise; deleteForUser(user: User, id: string): Promise; delete(id: string): Promise; deleteByIds(ids: string[]): Promise; private canCreateNewVariable; validateUniqueVariable(key: string, projectId?: string, id?: string): Promise; create(user: User, variable: CreateVariableRequestDto): Promise; update(user: User, id: string, variable: UpdateVariableRequestDto): Promise; }