import type { Command } from '../../types/index.js';
interface SyncFlathubOptions {
    version?: string;
    appId?: string;
    flathubRepo?: string;
    commit?: string;
    branch?: string;
    sourceIndex?: number;
    pr?: boolean;
    dryRun?: boolean;
    verbose?: boolean;
}
export declare const flatpakSyncFlathubCommand: Command<unknown, SyncFlathubOptions>;
/**
 * Surgically edit a Flathub manifest to update the git source's `tag` +
 * `commit` (and inject `x-checker-data` if missing). Preserves the
 * original indent + whitespace + key ordering of the surrounding JSON
 * by parsing through JSON.parse + re-stringifying with the detected
 * indent.
 */
export declare function editManifest(original: string, args: {
    tag: string;
    commit: string;
    sourceIndex?: number;
}): string;
export {};
