import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { z } from 'zod';
import { APIVersionWithAPI } from '../../../shopify-dev-tools/src';
import { ValidationToolResult } from '../../../shopify-dev-tools/src/types';
export declare const DEFAULT_GRAPHQL_API = "admin";
export declare const withConversationId: <T extends z.ZodRawShape>(schema: T) => {
    conversationId: z.ZodString;
} & T;
/**
 * Builds common API parameters for GraphQL tools
 * @param apiVersions Available API versions
 * @returns Zod schema object with api parameter
 */
export declare function enabledGraphQLAPIs(apiVersions: APIVersionWithAPI[]): {
    api: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
        [x: string]: string;
    }>>>;
};
/**
 * Gets the API version for the specified API
 * @param params Tool parameters containing api
 * @param apiVersions Available API versions
 * @returns The APIVersionWithAPI for the specified API
 */
export declare function getAPIVersion(params: {
    api?: string;
}, apiVersions: APIVersionWithAPI[]): APIVersionWithAPI | undefined;
export declare function shopifyTools(server: McpServer): Promise<void>;
/**
 * Formats a ValidationToolResult into a readable markdown response
 * @param result - The validation result to format
 * @param itemName - Name of the items being validated (e.g., "Code Blocks", "Operations")
 * @returns Formatted markdown string with validation summary and details
 */
export declare function formatValidationResult(result: ValidationToolResult, itemName?: string): string;
//# sourceMappingURL=index.d.ts.map