export { parseSpec } from './parse.js';
export { transformSpec } from './transform.js';
export { transformWebhooks } from './webhooks.js';
export { autoConvert } from './convert.js';
export type { ConvertResult } from './convert.js';
export type { WebhookTransformOptions } from './webhooks.js';

export type {
  ParseInput,
  ParseResult,
  ParseWarning,
  TransformOptions,
  TransformResult,
  TransformWarning,
  MCPToolDefinition,
  MCPResourceDefinition,
  MCPNotificationDefinition,
  WebhookTransformResult,
  ResolvedOpenAPISpec,
  OpenAPIOperation,
  OpenAPIParameter,
  OpenAPIRequestBody,
  OpenAPIPathItem,
  OpenAPIInfo,
  HttpMethod,
  JSONSchema,
} from './types.js';

export {
  TransformerError,
  ParseError,
  ValidationError,
  ResolveError,
  TransformError,
} from './errors.js';
