import { type CodegenPromptRecord } from '../../client/codegen/renderSnapshot.typedefs'; import { type LLMPromptCatalog } from '../../client/codegen/promptCatalog.typedefs'; export interface FetchPromptRecordsOptions { label: string; onWarn?: (message: string) => void; } /** * Fetches every prompt that carries the given label from the injected catalog * and shapes it into a codegen record. A prompt whose `config` does not satisfy * the gateway schema is skipped with a warning rather than failing the build — * the governor (PR3) is the edit-time gate; codegen never crashes on a bad live * config so a Langfuse edit can never break a build. */ export declare function fetchPromptRecords(catalog: LLMPromptCatalog, options: FetchPromptRecordsOptions): Promise;