import { ConnectSkillSourceDto, DiscoverSkillSourceDto, ListSkillSourceCredentialsQueryDto, ListSkillSourceRepositoriesQueryDto } from '@n8n/api-types'; import type { AuthenticatedRequest } from '@n8n/db'; import type { NextFunction, Response } from 'express'; import { SkillSourceService } from '../services/skill-source.service'; import { SkillSyncFlagGate } from '../services/skill-sync-flag-gate'; import { SkillSyncService } from '../services/skill-sync.service'; export declare class SkillSourceController { private readonly skillSourceService; private readonly skillSyncService; private readonly flagGate; constructor(skillSourceService: SkillSourceService, skillSyncService: SkillSyncService, flagGate: SkillSyncFlagGate); requireSkillSyncEnabled(req: AuthenticatedRequest, res: Response, next: NextFunction): Promise; credentials(req: AuthenticatedRequest, _res: Response, query: ListSkillSourceCredentialsQueryDto): Promise; repositories(req: AuthenticatedRequest, _res: Response, query: ListSkillSourceRepositoriesQueryDto): Promise; discover(req: AuthenticatedRequest, _res: Response, payload: DiscoverSkillSourceDto): Promise; connect(req: AuthenticatedRequest, _res: Response, payload: ConnectSkillSourceDto): Promise; stopSyncing(req: AuthenticatedRequest, _res: Response, skillId: string): Promise<{ ok: boolean; }>; checkNow(req: AuthenticatedRequest, _res: Response, skillId: string): Promise; }