import { NamedPackageDir } from '@salesforce/core';
import { ComponentSet, RegistryAccess } from '@salesforce/source-deploy-retrieve';
type GroupedFileInput = {
    packageDirs: NamedPackageDir[];
    nonDeletes: string[];
    deletes: string[];
};
type GroupedFile = {
    path: string;
    nonDeletes: string[];
    deletes: string[];
};
export declare const getGroupedFiles: (input: GroupedFileInput, byPackageDir?: boolean) => GroupedFile[];
export declare const getComponentSets: ({ groupings, sourceApiVersion, registry, projectPath, }: {
    groupings: GroupedFile[];
    sourceApiVersion?: string;
    registry: RegistryAccess;
    /** absolute path to the project root */
    projectPath: string;
}) => ComponentSet[];
export {};
