import type { BootstrapMemoryWorkspaceResult, MemoryCatalogLoadResult, MemoryCatalogShapeValidation, MemoryCategory } from './types.js';
export declare const DEFAULT_MEMORY_ROOT_CATALOG_MAX_BYTES: number;
export declare const DEFAULT_MEMORY_ROOT_CATALOG_TARGET_BYTES: number;
export declare const DEFAULT_MEMORY_FOLDER_CATALOG_MAX_BYTES: number;
export declare const DEFAULT_MEMORY_FOLDER_CATALOG_TARGET_BYTES: number;
export declare const DEFAULT_MEMORY_CATEGORIES: MemoryCategory[];
/**
 * Owns the cataloged memory workspace shape and the startup memory context.
 */
export declare class MemoryCatalogService {
    private readonly memoryRoot;
    constructor(memoryRoot: string);
    bootstrap(): BootstrapMemoryWorkspaceResult;
    loadRootCatalog(maxBytes?: number): MemoryCatalogLoadResult;
    formatCatalogSystemContext(catalog: MemoryCatalogLoadResult): string;
    appendCatalogSystemContext(options: {
        systemContext?: string;
        maxBytes?: number;
    }): string;
    validateShape(): MemoryCatalogShapeValidation;
    private resolveRoot;
    private static missingRootCatalog;
    private static writeIfMissing;
    private static createRootCatalogTemplate;
    private static createFolderCatalogTemplate;
    private static truncateUtf8;
}
//# sourceMappingURL=catalog.d.ts.map