import { TEMPLATES } from './templates.js'; export { TEMPLATES }; export type Lang = 'Shell' | 'Python' | 'JavaScript' | 'Java' | 'Go' | 'PHP'; export interface CodeVariant { key: string; label: string; /** Key into TEMPLATES. */ templateKey: string; } export declare const VARIANTS: Record; export declare const LANGUAGE_NAMES: Lang[]; export interface RenderInput { lang: Lang; /** Key into TEMPLATES (from the chosen variant). */ templateKey: string; method?: string; url: string; headers: { key: string; value: string; }[]; body: { key: string; value: unknown; }[]; } /** * Render a code snippet for the given language/template with per-language value * coercion (Python True/False/None, JSON.stringify for JS/PHP/Java/Go, raw * header values for Shell). Returns '' for an unknown templateKey. */ export declare function renderApiCode(input: RenderInput): string; //# sourceMappingURL=index.d.ts.map