import type { ToolResult } from '../../core/types.js';
import type { ListMemoryNotesInput, ReadMemoryNoteInput, SearchMemoryNotesInput } from './types.js';
/**
 * Owns note-level memory reads, search, listing, and scoped note edits.
 */
export declare class MemoryNoteService {
    private readonly memoryRoot;
    constructor(memoryRoot: string);
    list(input?: ListMemoryNotesInput): Promise<string[]>;
    read(input: ReadMemoryNoteInput): Promise<string>;
    search(input: SearchMemoryNotesInput): Promise<string>;
    edit(raw: unknown): Promise<ToolResult>;
    private resolvePath;
    private listMarkdownNotes;
    private searchWithCli;
    private resolveRoot;
    private static pageText;
    private static sanitizeMaxResults;
    private static isMarkdownPath;
    private static trimSearchOutput;
    private static runSearchCommand;
}
//# sourceMappingURL=note-service.d.ts.map