import type stylelint from 'stylelint'; import type { RunnerOptions } from '../../stylelint/types.js'; import type { WorkerLintResult, WorkerResolveConfigResult, WorkerResolveResult } from '../../worker/types.js'; import { type LoggingService } from '../infrastructure/logging.service.js'; import { PackageRootCacheService } from './package-root-cache.service.js'; import { PnPConfigurationCacheService } from './pnp-configuration-cache.service.js'; import { WorkerEnvironmentService } from './worker-environment.service.js'; import { WorkerRegistryService } from './worker-registry.service.js'; export type WorkspaceLintRequest = { workspaceFolder: string; options: stylelint.LinterOptions; stylelintPath?: string; runnerOptions: RunnerOptions; }; export type WorkspaceResolveRequest = { workspaceFolder: string; stylelintPath?: string; codeFilename?: string; runnerOptions?: RunnerOptions; }; export type WorkspaceResolveConfigRequest = { workspaceFolder: string; filePath: string; stylelintPath?: string; runnerOptions?: RunnerOptions; }; export declare class WorkspaceStylelintService { #private; constructor(loggingService: LoggingService, packageRootCache: PackageRootCacheService, pnpConfigurationCache: PnPConfigurationCacheService, workerEnvironment: WorkerEnvironmentService, workerRegistry: WorkerRegistryService); lint(request: WorkspaceLintRequest): Promise; resolve(request: WorkspaceResolveRequest): Promise; resolveConfig(request: WorkspaceResolveConfigRequest): Promise; dispose(workspaceFolder: string): void; disposeAll(): void; notifyWorkspaceActivity(workspaceFolder: string): void; notifyFileActivity(filePath: string | undefined): void; }