import { ProjectGraphProcessor } from '../config/project-graph';
import { TargetConfiguration } from '../config/workspace-json-project-json';
import { NxPluginV2 } from '../project-graph/plugins';
/**
 * @deprecated Add targets to the projects in a {@link CreateNodes} function instead. This will be removed in Nx 19
 */
export type ProjectTargetConfigurator = (file: string) => Record<string, TargetConfiguration>;
/**
 * @deprecated Use {@link NxPluginV2} instead. This will be removed in Nx 19
 */
export type NxPluginV1 = {
    name: string;
    /**
     * @deprecated Use {@link CreateNodes} and {@link CreateDependencies} instead. This will be removed in Nx 19
     */
    processProjectGraph?: ProjectGraphProcessor;
    /**
     * @deprecated Add targets to the projects inside of {@link CreateNodes} instead. This will be removed in Nx 19
     */
    registerProjectTargets?: ProjectTargetConfigurator;
    /**
     * A glob pattern to search for non-standard project files.
     * @example: ["*.csproj", "pom.xml"]
     * @deprecated Use {@link CreateNodes} instead. This will be removed in Nx 19
     */
    projectFilePatterns?: string[];
};
/**
 * @todo(@agentender) v19: Remove this fn when we remove readWorkspaceConfig
 */
export declare function getDefaultPluginsSync(root: string): NxPluginV2[];
