import type { AnalyticsStack, AnalyticsSpec } from '../../types/index.js';
/**
 * Returns true when create_spec should generate an Analytics section.
 * Requires: user interaction feature AND a detected analytics provider.
 */
export declare function shouldGenerateAnalyticsSection(title: string, description: string, criteria: string, stack: AnalyticsStack | null): boolean;
/**
 * Builds a complete AnalyticsSpec for a feature.
 * Called from create_spec when shouldGenerateAnalyticsSection returns true.
 */
export declare function buildAnalyticsSpec(specId: string, title: string, description: string, criteria: string, stack: AnalyticsStack, hasGdprOrCcpa: boolean): AnalyticsSpec;
/**
 * Generates a "no provider detected" note for specs where analytics is not configured.
 */
export declare function buildNoProviderNote(): string;
/**
 * Generates the HU.md Analytics section as a Markdown string.
 */
export declare function buildAnalyticsHuSection(analyticsSpec: AnalyticsSpec): string;
export { isUserInteractionFeature, hasPIIProperties } from '../../engine/analytics-detector.js';
//# sourceMappingURL=analytics-spec-adapter.d.ts.map