import type Database from 'better-sqlite3';
import type { PagesService } from './pages.js';
import type { PagesWatcher } from '../fs/watcher.js';
import type { WsGateway } from '../ws/gateway.js';
export declare class SectionIndexerService {
    private db;
    private pages;
    private watcher;
    private ws;
    private debounceMs;
    private pending;
    constructor(db: Database.Database, pages: PagesService, watcher: PagesWatcher, ws: WsGateway);
    schedulePage(relPath: string): void;
    handleUnlink(relPath: string): Promise<void>;
    private removeSectionIndex;
    indexAll(): Promise<void>;
    indexPage(relPath: string): Promise<void>;
    private resolveEntityId;
}
export declare function normalizeContent(content: string): string;
