import type { Clark, ClarkStateHandlerParams } from "../../../state-machine/clark-fsm.js";
import { PermissionLevel } from "../../tools2/types.js";
import { type MutationInfo } from "./analysis.js";
/**
 * Validates testApi inputs before permission check.
 * Throws if validation fails (e.g., mutations detected but no description provided).
 */
export declare const validateTestApiInput: (input?: {
    apiName?: string;
    description?: string;
}, mutations?: MutationInfo[]) => void;
export declare const checkTestApiPermissions: (services: ClarkStateHandlerParams, input?: {
    apiName?: string;
    description?: string;
}, _clark?: Clark) => Promise<PermissionLevel>;
export declare const testApiToolFactory: import("../../tools2/types.js").ToolFactory<{
    clark: Clark;
    services: ClarkStateHandlerParams;
}, import("../../tools2/types.js").Tool<{
    apiName: string;
    inputs: Record<string, any>;
    timeout?: number | undefined;
    description?: string | undefined;
    omitStepOutputs?: boolean | undefined;
}, any>>;
//# sourceMappingURL=test-api.d.ts.map