import type { SurpriseScore, CommunityInfo } from "./wiki-surprise.js";
import type { ModuleMetadata, ProjectOverview } from "./wiki-manifest.js";
export type { CommunityInfo };
export interface HubSymbol {
    name: string;
    file: string;
    role: string;
    callers: number;
    callees: number;
}
export interface FileHotspot {
    file: string;
    commits: number;
    hotspot_score: number;
}
export interface FrameworkInfo {
    name: string;
    details: string;
}
export interface CommunityPageData {
    community: CommunityInfo;
    cohesion: number;
    internal_edges: number;
    external_edges: number;
    hotspots: FileHotspot[];
    hub_symbols: HubSymbol[];
}
/**
 * Generate a community markdown page. When `module` is provided (v2 path),
 * the page leads with Overview / Key Exports / Dependencies sections populated
 * from structured metadata. When `module` is undefined (v1 rollback path),
 * falls back to the legacy generic boilerplate.
 */
export declare function generateCommunityPage(data: CommunityPageData, module?: ModuleMetadata): string;
/**
 * Generate the 2500-char `.summary.md` injected by the PreToolUse hook.
 * When `module` is provided, the summary leads with purpose + exports + deps;
 * otherwise falls back to the legacy 4-line format.
 */
export declare function generateCommunitySummary(data: CommunityPageData, module?: ModuleMetadata): string;
/** Project-overview landing page (new in v2). */
export declare function generateOverviewPage(project: ProjectOverview, modules: ModuleMetadata[]): string;
/** Architecture narrative page — module dependencies + roles. */
export declare function generateArchitecturePage(modules: ModuleMetadata[]): string;
export declare function generateHubsPage(hubs: HubSymbol[]): string;
export declare function generateSurprisePage(surprises: SurpriseScore[]): string;
export declare function generateHotspotsPage(hotspots: FileHotspot[]): string;
export declare function generateFrameworkPage(framework: FrameworkInfo | null): string;
export declare function generateIndexPage(pages: Array<{
    slug: string;
    title: string;
    type: string;
}>, project?: ProjectOverview): string;
//# sourceMappingURL=wiki-page-generators.d.ts.map