/**
 * Feedback form tools — the hosted page an extension opens while it is still
 * installed (feedback.extenshi.io). Same shape as uninstall-form-tools.ts: read,
 * preview and update an existing form through the validation the Dojo editor
 * uses, and read its answers. Translations stay with get/set_page_translations
 * (surface `feedback`); the form itself is created in Dojo.
 */
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 feedbackFormPatchSchema: 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>>;
    categories: z.ZodOptional<z.ZodArray<z.ZodEnum<["bug", "site_not_working", "idea"]>, "many">>;
    customCategories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    askContact: z.ZodOptional<z.ZodBoolean>;
    askSite: z.ZodOptional<z.ZodBoolean>;
    categoryOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
        category: z.ZodString;
        thankYouMessage: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        category: string;
        thankYouMessage?: string | undefined;
    }, {
        category: string;
        thankYouMessage?: string | undefined;
    }>, "many">>;
    categoryFollowups: z.ZodOptional<z.ZodArray<z.ZodObject<{
        category: 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";
        category: string;
        prompt: string;
        choices?: string[] | undefined;
        multiple?: boolean | undefined;
    }, {
        kind: "choice" | "text";
        category: 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;
    categories?: ("idea" | "bug" | "site_not_working")[] | undefined;
    headline?: string | null | undefined;
    thankYouMessage?: string | null | undefined;
    askContact?: boolean | undefined;
    customCategories?: string[] | undefined;
    askSite?: boolean | undefined;
    categoryOutcomes?: {
        category: string;
        thankYouMessage?: string | undefined;
    }[] | undefined;
    categoryFollowups?: {
        kind: "choice" | "text";
        category: string;
        prompt: string;
        choices?: string[] | undefined;
        multiple?: boolean | undefined;
    }[] | undefined;
}, {
    name?: string | undefined;
    enabled?: boolean | undefined;
    theme?: "light" | "dark" | undefined;
    accentColor?: string | undefined;
    categories?: ("idea" | "bug" | "site_not_working")[] | undefined;
    headline?: string | null | undefined;
    thankYouMessage?: string | null | undefined;
    askContact?: boolean | undefined;
    customCategories?: string[] | undefined;
    askSite?: boolean | undefined;
    categoryOutcomes?: {
        category: string;
        thankYouMessage?: string | undefined;
    }[] | undefined;
    categoryFollowups?: {
        kind: "choice" | "text";
        category: string;
        prompt: string;
        choices?: string[] | undefined;
        multiple?: boolean | undefined;
    }[] | undefined;
}>;
export declare function registerFeedbackFormTools(add: AddTool, bff: (context: ToolCallContext) => Bff, fail: (err: unknown) => never): void;
export {};
//# sourceMappingURL=feedback-form-tools.d.ts.map