import type { PromptContextIntegration } from "@superblocksteam/library-shared/types";
import { type FactDto } from "@superblocksteam/shared";
export type IntegrationFactsResult = {
    integration: PromptContextIntegration;
    facts: FactDto[];
};
export declare function formatSystemPromptFacts(orgFacts: FactDto[]): string;
export declare function formatUserMessageFacts(userFacts: FactDto[], integrationFactsResults: IntegrationFactsResult[]): string;
/**
 * Generate XML index for on-demand facts that can be loaded via build_readFile.
 * Similar to system skills index, but for org/user/integration facts.
 *
 * @returns XML string listing available on-demand knowledge, or null if none
 */
export declare function generateOnDemandFactsSkillIndex(orgFacts: FactDto[], userFacts: FactDto[], integrationFactsResults: IntegrationFactsResult[]): string | null;
//# sourceMappingURL=helpers.d.ts.map