/**
 * Solution utilities for working with solution data structures
 */
interface SolutionQuestion {
    id?: string;
    answer?: unknown;
}
interface SolutionQuestions {
    required?: SolutionQuestion[];
    basic?: SolutionQuestion[];
    advanced?: SolutionQuestion[];
    open?: {
        answer?: string;
    };
    [key: string]: unknown;
}
export interface Solution {
    questions: SolutionQuestions;
    intent?: string;
    [key: string]: unknown;
}
/**
 * Extract all user answers from a solution's questions
 */
export declare function extractUserAnswers(solution: Solution): Record<string, unknown>;
/**
 * Sanitize intent string for use as Kubernetes label (63 char limit, alphanumeric + hyphens)
 */
export declare function sanitizeIntentForLabel(intent: string): string;
/**
 * Generate standard dot-ai labels for Kubernetes resources
 */
export declare function generateDotAiLabels(userAnswers: Record<string, unknown>, solution: Solution): Record<string, string>;
/**
 * Add dot-ai labels to existing labels object
 */
export declare function addDotAiLabels(existingLabels: Record<string, string> | undefined, userAnswers: Record<string, unknown>, solution: Solution): Record<string, string>;
export {};
//# sourceMappingURL=solution-utils.d.ts.map