import type { ConfigDataFlatpak } from '../../types/config-data.js';
/**
 * Default GNOME-Platform runtime version. Bumped per release window.
 * GNOME 50 = April 2026 stable; tracked in
 * https://docs.flathub.org/docs/for-app-authors/requirements.
 */
export declare const DEFAULT_GNOME_RUNTIME_VERSION = "50";
/** Default Freedesktop-Platform runtime version (LTS-ish). */
export declare const DEFAULT_FREEDESKTOP_RUNTIME_VERSION = "24.08";
/** Permissive GUI defaults for GTK4 + Adwaita apps. */
export declare const DEFAULT_GUI_FINISH_ARGS: string[];
/** Lean defaults for headless CLI tools — no display, no GPU. */
export declare const DEFAULT_CLI_FINISH_ARGS: string[];
/** Read package.json from a directory. Throws a helpful error if missing/invalid. */
export declare function readPackageJson(dir: string): Record<string, unknown>;
/** True if a name string looks like a reverse-DNS Flatpak app id. */
export declare function looksLikeAppId(value: unknown): value is string;
/**
 * Pick the runtime + sdk + version triple from config + CLI overrides.
 * `--runtime` and `--runtime-version` flags win over config values.
 */
export declare function resolveRuntime(flatpak: ConfigDataFlatpak | undefined, overrides: {
    runtime?: string;
    runtimeVersion?: string;
}): {
    runtime: 'gnome' | 'freedesktop';
    runtimeId: string;
    sdk: string;
    runtimeVersion: string;
};
/** Default container image for the GitHub Actions workflow. */
export declare function defaultCiContainer(runtime: 'gnome' | 'freedesktop', runtimeVersion: string): string;
