import { Auto, IPlugin } from '@auto-it/core';
export interface ICocoapodsPluginOptions {
    /** path to podspec file */
    podspecPath: string;
    /** the Cocoapods repo to publish to */
    specsRepo?: string;
}
/**
 * Returns the regex'd version of the podspec file
 *
 * @param podspecPath - The relative path to the podspec file
 * @returns The regular expression array for use in replacing file contents
 */
export declare function getParsedPodspecContents(podspecPath: string): RegExpExecArray | null;
/**
 * Retrieves the version currently in the podspec file
 *
 * @param podspecPath - The relative path to the podspec file
 */
export declare function getVersion(podspecPath: string): string;
/**
 * Updates the version in the podspec to the supplied version
 *
 * @param podspecPath - The relative path to the podspec file
 * @param version - The version to update the podspec to
 */
export declare function updatePodspecVersion(podspecPath: string, version: string): Promise<void>;
/** Use auto to version your cocoapod */
export default class CocoapodsPlugin implements IPlugin {
    /** The name of the plugin */
    name: string;
    /** The options of the plugin */
    readonly options: ICocoapodsPluginOptions;
    /** Initialize the plugin with it's options */
    constructor(options: ICocoapodsPluginOptions);
    /** Tap into auto plugin points. */
    apply(auto: Auto): void;
}
//# sourceMappingURL=index.d.ts.map