import type { Config } from '../../config/schema.js';
export declare function extractSections(content: string, sectionNames: string[], foundNames?: string[]): string[];
export type PostCompactionContextOptions = {
    cfg?: Config;
    agentId?: string;
    nowMs?: number;
    userTimezone?: string;
};
export declare function readPostCompactionContextFromAgentsMd(agentsMdContent: string, options?: PostCompactionContextOptions): string | null;
export declare function readPostCompactionContext(params: {
    cfg?: Config;
    sessionKey?: string;
    agentId?: string;
    nowMs?: number;
    userTimezone?: string;
}): string | null;
