/**
 * Uninstall survey tools (plan 2026-10-18 §3).
 *
 * Until these, the survey was editable only in Dojo: an extension renamed after
 * launch kept its old name in the survey headline, the thank-you screens and
 * their translations, and an agent could not fix it. These read, preview and
 * update one survey through the same validation the Dojo editor uses; its
 * translations stay with get/set_page_translations (surface `uninstall`).
 * find_brand_mentions finds the old name across every hosted text first.
 * list_uninstall_responses reads the answers the Dojo responses tab shows.
 */
import type { FastMCPSessionAuth, Tool, ToolParameters } from 'fastmcp';
import { z } from 'zod';
import type { Bff } from './bff.js';
import type { ToolCallContext } from './tools.js';
type AddTool = <P extends ToolParameters>(tool: Tool<FastMCPSessionAuth, P>) => void;
/** Mirrors the BFF's partial patch; the server validates the merged form again. */
export declare const uninstallFormPatchSchema: z.ZodObject<{
    name: z.ZodOptional<z.ZodString>;
    enabled: z.ZodOptional<z.ZodBoolean>;
    accentColor: z.ZodOptional<z.ZodString>;
    theme: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
    headline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    thankYouMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<["too_buggy", "found_alternative", "not_needed", "privacy_concerns", "too_expensive", "confusing", "missing_features", "slows_browser"]>, "many">>;
    customReasons: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    askComment: z.ZodOptional<z.ZodBoolean>;
    askContact: z.ZodOptional<z.ZodBoolean>;
    winbackUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    winbackLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    reasonOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
        reason: z.ZodString;
        thankYouMessage: z.ZodOptional<z.ZodString>;
        winbackUrl: z.ZodOptional<z.ZodString>;
        winbackLabel: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        reason: string;
        thankYouMessage?: string | undefined;
        winbackUrl?: string | undefined;
        winbackLabel?: string | undefined;
    }, {
        reason: string;
        thankYouMessage?: string | undefined;
        winbackUrl?: string | undefined;
        winbackLabel?: string | undefined;
    }>, "many">>;
    reasonFollowups: z.ZodOptional<z.ZodArray<z.ZodObject<{
        reason: z.ZodString;
        prompt: z.ZodString;
        kind: z.ZodEnum<["text", "choice"]>;
        choices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        multiple: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        kind: "choice" | "text";
        reason: string;
        prompt: string;
        choices?: string[] | undefined;
        multiple?: boolean | undefined;
    }, {
        kind: "choice" | "text";
        reason: string;
        prompt: string;
        choices?: string[] | undefined;
        multiple?: boolean | undefined;
    }>, "many">>;
}, "strict", z.ZodTypeAny, {
    name?: string | undefined;
    enabled?: boolean | undefined;
    theme?: "light" | "dark" | undefined;
    accentColor?: string | undefined;
    headline?: string | null | undefined;
    thankYouMessage?: string | null | undefined;
    reasons?: ("not_needed" | "too_buggy" | "found_alternative" | "privacy_concerns" | "too_expensive" | "confusing" | "missing_features" | "slows_browser")[] | undefined;
    customReasons?: string[] | undefined;
    askComment?: boolean | undefined;
    askContact?: boolean | undefined;
    winbackUrl?: string | null | undefined;
    winbackLabel?: string | null | undefined;
    reasonOutcomes?: {
        reason: string;
        thankYouMessage?: string | undefined;
        winbackUrl?: string | undefined;
        winbackLabel?: string | undefined;
    }[] | undefined;
    reasonFollowups?: {
        kind: "choice" | "text";
        reason: string;
        prompt: string;
        choices?: string[] | undefined;
        multiple?: boolean | undefined;
    }[] | undefined;
}, {
    name?: string | undefined;
    enabled?: boolean | undefined;
    theme?: "light" | "dark" | undefined;
    accentColor?: string | undefined;
    headline?: string | null | undefined;
    thankYouMessage?: string | null | undefined;
    reasons?: ("not_needed" | "too_buggy" | "found_alternative" | "privacy_concerns" | "too_expensive" | "confusing" | "missing_features" | "slows_browser")[] | undefined;
    customReasons?: string[] | undefined;
    askComment?: boolean | undefined;
    askContact?: boolean | undefined;
    winbackUrl?: string | null | undefined;
    winbackLabel?: string | null | undefined;
    reasonOutcomes?: {
        reason: string;
        thankYouMessage?: string | undefined;
        winbackUrl?: string | undefined;
        winbackLabel?: string | undefined;
    }[] | undefined;
    reasonFollowups?: {
        kind: "choice" | "text";
        reason: string;
        prompt: string;
        choices?: string[] | undefined;
        multiple?: boolean | undefined;
    }[] | undefined;
}>;
export declare function registerUninstallFormTools(add: AddTool, bff: (context: ToolCallContext) => Bff, fail: (err: unknown) => never): void;
export {};
//# sourceMappingURL=uninstall-form-tools.d.ts.map