/**
 * Shared utilities for building API prompts in a consistent XML format.
 * Used by both the runtime prompt construction and example formatting.
 */
export interface PageEntity {
    name: string;
    type: "Component" | "Variable" | "Api" | "StateVar";
    componentType?: string;
}
export interface AvailableIntegration {
    name: string;
    displayName?: string;
    id: string;
    type: string;
}
/**
 * Integration metadata that would be returned by grepMetadata tool.
 * This is a simplified subset of the actual metadata, containing only what's
 * relevant for the example.
 */
export interface IntegrationMetadata {
    integrationId: string;
    metadata: Record<string, any>;
}
export interface ApiPromptInput {
    apiName: string;
    userPrompt: string;
    availableIntegrations?: AvailableIntegration[];
    integrationMetadata?: IntegrationMetadata[];
    existingApiSource?: string;
    missingIntegrationIds?: string[];
    isEdit?: boolean;
}
/**
 * Builds the API prompt in standardized XML format.
 * This format is used consistently for both examples and runtime prompts.
 */
export declare function buildApiPrompt(input: ApiPromptInput): string;
//# sourceMappingURL=prompt-builder.d.ts.map