import type { Db } from "@rudderhq/db";
import { type AgentRuntimeType, type OrganizationIntelligenceProfile, type OrganizationIntelligenceProfilePurpose, type OrganizationIntelligenceProfileStatus } from "@rudderhq/shared";
export declare function sanitizeConfigForProductIntelligence(config: Record<string, unknown>): Record<string, unknown>;
export declare function buildIntelligenceProfileConfigWithPurposeDefaults(_purpose: OrganizationIntelligenceProfilePurpose, agentRuntimeType: string, sourceConfig: Record<string, unknown>): Record<string, unknown>;
export declare function organizationIntelligenceProfileService(db: Db): {
    getByPurpose: (orgId: string, purpose: OrganizationIntelligenceProfilePurpose) => Promise<OrganizationIntelligenceProfile | null>;
    list: (orgId: string) => Promise<(OrganizationIntelligenceProfile | null)[]>;
    upsert: (orgId: string, purpose: OrganizationIntelligenceProfilePurpose, data: {
        agentRuntimeType: AgentRuntimeType;
        agentRuntimeConfig: Record<string, unknown>;
        status?: OrganizationIntelligenceProfileStatus;
        lastError?: string | null;
        lastVerifiedAt?: Date | null;
    }) => Promise<OrganizationIntelligenceProfile>;
    ensureDefaultsFromRuntime: (input: {
        orgId: string;
        agentRuntimeType: AgentRuntimeType;
        agentRuntimeConfig: Record<string, unknown>;
    }) => Promise<OrganizationIntelligenceProfile[]>;
    sanitizeConfigForProductIntelligence: typeof sanitizeConfigForProductIntelligence;
};
//# sourceMappingURL=organization-intelligence-profiles.d.ts.map