import type { ApiDefinition, CodeSnippet, EndpointDefinition, ExampleEndpointCall } from "../latest"; import type { DynamicIRsByLanguage, SnippetGenerationFlags, SnippetGenerators } from "./types"; /** * Backfill snippets for an entire API definition. * This is the main entry point for snippet generation during docs loading. */ export declare function backfillSnippets(apiDefinition: ApiDefinition, dynamicIr: DynamicIRsByLanguage | undefined, flags: SnippetGenerationFlags): Promise; /** * Backfill snippets for a single endpoint example. * Combines SDK snippets (from dynamic IR) and HTTP snippets (from httpsnippet-lite). */ export declare function backfillSnippetsForExample(apiDefinition: ApiDefinition, dynamicGenerators: SnippetGenerators, endpoint: EndpointDefinition, example: ExampleEndpointCall, flags: SnippetGenerationFlags): Promise; /** * Generate all snippets for a single example without modifying the original. * This is a utility function for use in FDR registration and other contexts. */ export declare function generateSnippetsForExample(apiDefinition: ApiDefinition, endpoint: EndpointDefinition, example: ExampleEndpointCall, dynamicIr: DynamicIRsByLanguage | undefined, flags: SnippetGenerationFlags): Promise>; //# sourceMappingURL=backfill.d.ts.map