export interface Dependency {
    name: string;
    url: string;
    version?: string;
    branch?: string;
    revision?: string;
}
export interface Product {
    name: string;
    type: 'executable' | 'library';
    targets: string[];
}
/**
 * Queries information about Swift packages
 */
export declare class SwiftPackageInfo {
    /**
     * Get list of products in a package
     */
    getProducts(packagePath: string): Promise<Product[]>;
    /**
     * Get list of targets in a package
     */
    getTargets(packagePath: string): Promise<string[]>;
    /**
     * Get list of dependencies
     */
    getDependencies(packagePath: string): Promise<Dependency[]>;
    /**
     * Add a dependency to the package
     */
    addDependency(packagePath: string, url: string, options?: {
        version?: string;
        branch?: string;
        exact?: boolean;
        from?: string;
        upToNextMajor?: string;
    }): Promise<void>;
    /**
     * Remove a dependency from the package
     */
    removeDependency(packagePath: string, name: string): Promise<void>;
    /**
     * Update package dependencies
     */
    updateDependencies(packagePath: string): Promise<void>;
    /**
     * Resolve package dependencies
     */
    resolveDependencies(packagePath: string): Promise<void>;
}
//# sourceMappingURL=SwiftPackageInfo.d.ts.map