import type { Note } from './types.js'; export { parseNoteAttachmentTarget, buildNoteAttachmentRef } from './attachment-ref.js'; export declare function notePlainText(note: Pick): string; export declare function stripMediaFromPlainText(text: string): string; export declare function extractAttachmentFileNames(note: Pick): string[] | undefined; export declare function extractCoverAttachmentId(note: Note): string | undefined; export declare function buildNoteSnippet(note: Pick): string | undefined; export declare function buildNoteIndexMeta(note: Note): { snippet?: string; coverAttachmentId?: string; voiceAttachmentId?: string; voiceDurationSec?: number; attachmentNames?: string[]; headingCount?: number; taskCount?: number; uncheckedTaskCount?: number; linkCount?: number; };