import { DefaultUpdater, UpdateOptions } from './default'; import { Logger } from '../util/logger'; export interface JavaModule { artifact_id: string; [key: string]: any; } export interface LibrarianLibrary { name: string; version: string; output?: string; java?: JavaModule; [key: string]: any; } export interface LibrarianYamlSchema { libraries: LibrarianLibrary[]; [key: string]: any; } export interface LibrarianUpdateOptions extends UpdateOptions { packagePath?: string; component?: string; } /** * Updates a librarian.yaml file. */ export declare class LibrarianYamlUpdater extends DefaultUpdater { private readonly packagePath?; private readonly component?; private readonly specialArtifacts; constructor(options: LibrarianUpdateOptions); /** * Given initial file contents, return updated contents. * @param {string} content The initial content * @returns {string} The updated content */ updateContent(content: string, _logger?: Logger): string; private deriveOutputDirectory; private findArtifactID; }