import { z } from "zod"; import type { BlockMdxConfig } from "../types.js"; export type ApiEndpointMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS"; export declare const API_ENDPOINT_METHODS: ApiEndpointMethod[]; export type ApiParamLocation = "path" | "query" | "header" | "body"; export declare const API_PARAM_LOCATIONS: ApiParamLocation[]; export type ApiEndpointChange = "added" | "modified" | "removed" | "renamed"; export declare const API_ENDPOINT_CHANGES: ApiEndpointChange[]; export interface ApiEndpointParam { name: string; in: ApiParamLocation; type?: string; required?: boolean; description?: string; change?: ApiEndpointChange; was?: string; } export interface ApiEndpointRequest { contentType?: string; example?: string; } export interface ApiEndpointResponse { status: string; description?: string; example?: string; change?: ApiEndpointChange; } export interface ApiEndpointData { method: ApiEndpointMethod; path: string; summary?: string; description?: string; auth?: string; deprecated?: boolean; change?: ApiEndpointChange; params?: ApiEndpointParam[]; request?: ApiEndpointRequest; responses?: ApiEndpointResponse[]; } export declare const apiEndpointSchema: z.ZodType; export declare const apiEndpointMdx: BlockMdxConfig;