import { d as IntegrationConnectorCategory, b as IntegrationConnector, g as IntegrationDataClass, f as IntegrationActionRisk } from './core-types-DMDmeutI.js';

interface ImportCatalogOptions {
    providerId: string;
    connectorId: string;
    connectorTitle: string;
    category?: IntegrationConnectorCategory;
    auth?: IntegrationConnector['auth'];
    scopes?: string[];
    dataClass?: IntegrationDataClass;
    defaultRisk?: IntegrationActionRisk;
}
interface OpenApiDocument {
    openapi?: string;
    swagger?: string;
    info?: {
        title?: string;
    };
    paths?: Record<string, Record<string, OpenApiOperation | unknown>>;
}
interface OpenApiOperation {
    operationId?: string;
    summary?: string;
    description?: string;
    parameters?: unknown[];
    requestBody?: unknown;
    responses?: unknown;
    security?: Array<Record<string, string[]>>;
    tags?: string[];
}
interface GraphqlOperationSpec {
    name: string;
    kind: 'query' | 'mutation';
    description?: string;
    inputSchema?: unknown;
    outputSchema?: unknown;
    requiredScopes?: string[];
}
interface McpCatalogTool {
    name: string;
    description?: string;
    inputSchema?: unknown;
    annotations?: {
        readOnlyHint?: boolean;
        destructiveHint?: boolean;
        openWorldHint?: boolean;
        title?: string;
    };
}
interface McpCatalog {
    tools: McpCatalogTool[];
}
declare function importOpenApiConnector(document: OpenApiDocument, options: ImportCatalogOptions): IntegrationConnector;
declare function importGraphqlConnector(operations: GraphqlOperationSpec[], options: ImportCatalogOptions): IntegrationConnector;
declare function importMcpConnector(catalog: McpCatalog, options: ImportCatalogOptions): IntegrationConnector;

export { type GraphqlOperationSpec as G, type ImportCatalogOptions as I, type McpCatalogTool as M, type OpenApiDocument as O, type McpCatalog as a, type OpenApiOperation as b, importMcpConnector as c, importOpenApiConnector as d, importGraphqlConnector as i };
