import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { lookupCompanyByVat } from './vies.js'; import type { RegistryAdapter } from './types.js'; export type RegistryAdapters = Record; export interface EuRegistryServerOptions { adapters?: RegistryAdapters; authorizeLookup?: RegistryLookupAuthorizer; vatLookup?: typeof lookupCompanyByVat; } export interface RegistryLookupRequest { country: string; tool: 'search_company' | 'get_company' | 'lookup_company_by_vat'; depth: 'basic'; } export interface RegistryLookupAccess { upstreamAllowed: boolean; country?: string; error?: unknown; record?: (upstreamCalled: boolean, options?: { ctaSuppressed?: boolean; ctaFanout?: boolean; }) => void; } export type RegistryLookupAuthorizer = (request: RegistryLookupRequest) => RegistryLookupAccess | Promise; export declare function buildDefaultRegistryAdapters(): RegistryAdapters; export declare function buildEuRegistryServer(options?: EuRegistryServerOptions): McpServer; //# sourceMappingURL=server.d.ts.map