import type { MigrateConfig } from './types';
/**
 * Create and push a commit containing the migration changes.
 * Commit with optional `--author` option and opinionated message.
 *
 * Any files not already staged will be staged and added to the commit.
 *
 * @param config Migration configuration
 * @param latestVersion Latest Nx version
 * @throws Error if no file changes are found in the workspace
 */
export declare const createAndPushCommit: (config: MigrateConfig, latestVersion: string) => Promise<void>;
