import type { IntegrationStore } from "../../../integrations/store.js";
import type { Clark } from "../../../state-machine/clark-fsm.js";
type IntegrationSetupDeps = {
    clark: Clark;
};
type SaveIntegrationDeps = {
    clark: Clark;
    integrationStore: IntegrationStore;
};
export declare const openIntegrationSetupToolFactory: import("../../tools2/types.js").ToolFactory<IntegrationSetupDeps, import("../../tools2/types.js").Tool<{
    pluginId: string;
    displayName?: string | undefined;
    fields?: Record<string, string | number | boolean> | undefined;
}, {
    success: boolean;
    formState?: unknown;
    error?: string;
}>>;
export declare const openExistingIntegrationToolFactory: import("../../tools2/types.js").ToolFactory<IntegrationSetupDeps, import("../../tools2/types.js").Tool<{
    integrationId: string;
    fields?: Record<string, string | number | boolean> | undefined;
}, {
    success: boolean;
    pluginId?: string;
    integrationName?: string;
    formState?: unknown;
    error?: string;
}>>;
export declare const updateIntegrationFieldsToolFactory: import("../../tools2/types.js").ToolFactory<IntegrationSetupDeps, import("../../tools2/types.js").Tool<{
    fields: Record<string, string | number | boolean>;
    configId?: string | undefined;
}, {
    success: boolean;
    formState?: unknown;
    error?: string;
}>>;
export declare const testIntegrationConnectionToolFactory: import("../../tools2/types.js").ToolFactory<IntegrationSetupDeps, import("../../tools2/types.js").Tool<{
    configId?: string | undefined;
}, {
    success: boolean;
    configId?: string;
    error?: {
        message: string;
        details: string;
    };
    formState?: unknown;
} | {
    success: boolean;
    error: string;
}>>;
export declare const saveIntegrationToolFactory: import("../../tools2/types.js").ToolFactory<SaveIntegrationDeps, import("../../tools2/types.js").Tool<{
    force?: boolean | undefined;
}, {
    success: boolean;
    integrationId?: string;
    integrationName?: string;
    pluginId?: string;
    testFailed?: boolean;
    failedConfigIds?: string[];
    error?: string;
}>>;
export declare const closeIntegrationSetupToolFactory: import("../../tools2/types.js").ToolFactory<IntegrationSetupDeps, import("../../tools2/types.js").Tool<{}, {
    success: boolean;
} | {
    success: boolean;
    error: string;
}>>;
export declare const getIntegrationFormSchemaToolFactory: import("../../tools2/types.js").ToolFactory<IntegrationSetupDeps, import("../../tools2/types.js").Tool<{
    pluginId: string;
}, {
    success: boolean;
    pluginId?: string;
    pluginName?: string;
    isTestable?: boolean;
    fields?: Record<string, unknown>;
    error?: string;
}>>;
type ListIntegrationTypesDeps = {
    integrationStore: IntegrationStore;
};
export declare const listAvailableIntegrationTypesToolFactory: import("../../tools2/types.js").ToolFactory<ListIntegrationTypesDeps, import("../../tools2/types.js").Tool<{}, {
    id: string;
    name: string;
}[]>>;
export {};
//# sourceMappingURL=integration-setup.d.ts.map