import type { Workspace } from '../../pm/index.ts';
import { buildWorkspaceContext } from './snapshot.ts';
import type { DeplintCategory, DeplintCheckFlags, DeplintDiagnostic, DeplintProgressReporter, DeplintRule, DeplintRunOptions, DeplintWorkspaceProfile } from './types.ts';
export declare function resolveDeplintCheckFlags({ deps, devDeps, peerDeps, }?: Pick<DeplintRunOptions, 'deps' | 'devDeps' | 'peerDeps'>): DeplintCheckFlags;
export declare function getActiveDeplintCategories(flags: DeplintCheckFlags): DeplintCategory[];
export declare function shouldRunDeplintRule(category: DeplintCategory, ruleId: string, options: DeplintRunOptions): boolean;
export declare function evaluateWorkspaces(workspaces: Workspace[], options: DeplintRunOptions, workspaceNames?: Set<string>, pass?: number, progress?: DeplintProgressReporter): Promise<{
    contextsByWorkspace: Map<string, ReturnType<typeof buildWorkspaceContext>>;
    diagnostics: DeplintDiagnostic[];
    profiles: DeplintWorkspaceProfile[];
    rulesById: Map<string, DeplintRule>;
    rulesEvaluated: number;
    rulesSkipped: number;
}>;
//# sourceMappingURL=engine.d.ts.map