import type { HostedPublicationSnapshot } from './hosted-session-share.js'; import { type NoteShareSource } from './note-share-service.js'; export interface HostedNotePublicationSnapshot extends HostedPublicationSnapshot { kind: 'note_document'; sourceNoteId: string; sourceVersion: number; title: string; attachmentCount: number; } export declare class HostedNotePublicationBuilder { private readonly notes; constructor(notes: NoteShareSource); build(noteId: string, input: { expectedNoteVersion?: number; attachmentIds?: string[]; description?: string; }): Promise; } export declare class HostedNoteVersionConflictError extends Error { readonly currentVersion: number; constructor(currentVersion: number); }