import type { ApiDefinition, CodeSnippet, EndpointDefinition, ExampleEndpointCall } from "../latest"; import type { SnippetGenerationFlags, SnippetGenerators } from "./types"; /** * Options for HTTP snippet generation */ export interface HttpSnippetOptions { /** HTTP snippet generation flags */ flags: SnippetGenerationFlags; /** Dynamic generators to check for available SDK snippets (optional) */ dynamicGenerators?: SnippetGenerators; /** Existing snippets that should not be regenerated */ existingSnippets?: Record; } /** * Generate a curl snippet for an endpoint example */ export declare function generateCurlSnippet(apiDefinition: ApiDefinition, endpoint: EndpointDefinition, example: ExampleEndpointCall): CodeSnippet; /** * Generate HTTP snippets for an endpoint example using httpsnippet-lite */ export declare function generateHttpSnippets(apiDefinition: ApiDefinition, endpoint: EndpointDefinition, example: ExampleEndpointCall, options: HttpSnippetOptions): Promise; /** * Check if a language should be included for HTTP snippet generation based on flags */ export declare function shouldIncludeHttpSnippetLanguage(language: string, flags: Pick): boolean; //# sourceMappingURL=http-snippets.d.ts.map