import type { ConfigDataFlatpak } from '../../types/config-data.js';
export interface ScaffoldInputs {
    appId: string;
    name: string;
    command: string;
    kind: 'app' | 'cli';
    flatpak: ConfigDataFlatpak;
}
export interface MissingFieldError {
    field: string;
    hint: string;
}
/**
 * Validate that the config has the minimum set of fields required for
 * MetaInfo XML rendering. Returns the list of missing fields with
 * actionable hints; empty list means OK.
 */
export declare function validateScaffoldInputs(inputs: ScaffoldInputs): MissingFieldError[];
/** Render the MetaInfo XML for a desktop application. */
export declare function renderMetainfoApp(inputs: ScaffoldInputs): string;
/** Render the MetaInfo XML for a console application. */
export declare function renderMetainfoCli(inputs: ScaffoldInputs): string;
/** Render the .desktop entry (app kind only). */
export declare function renderDesktop(inputs: ScaffoldInputs): string;
/** Render the flathub.json policy file. */
export declare function renderFlathubJson(kind: 'app' | 'cli'): string;
