import type { ArkmeRecordReeditAttachmentView } from './record-reedit-contract.js'; import type { ArkmeSourceItem, ArkmeTimelineItem } from './types.js'; export declare function canPublishSelfNote(source: ArkmeSourceItem | undefined, item: ArkmeTimelineItem): boolean; export interface WorldPublishSource { sourceRef: string; itemUid: string; } export type WorldPublishOrigin = WorldPublishSource & ({ kind?: 'record'; } | { kind: 'arko'; sessionId: number; messageId: number; } | { kind: 'action'; actionRef: string; hasAttachments: boolean; } /** Local input snapshot, never a cloud ownership or provenance assertion. */ | { kind: 'local'; textContent: string; sourceLabel: string; sendAtMillis: number; hasAttachments: boolean; }); export declare function worldPublishSourceLabel(origin: WorldPublishOrigin): string; /** A committed owner-verified snapshot, independent from unsaved edit drafts. */ export interface WorldPublishSourceDraft extends WorldPublishSource { version: number; title: string; textContent: string; textFormat?: 'plain' | 'markdown'; sourceLabel?: string; sendAtMillis: number; attachments: ArkmeRecordReeditAttachmentView[]; } //# sourceMappingURL=world-publish-source.d.ts.map