import type { JournalEntry, EntryType } from '../../../types/index.js'; import type { CreateEntryInput } from '../../core/interfaces.js'; import type { EntriesSharedContext } from './shared.js'; export declare function validateEntryInput(input: CreateEntryInput): { normalizedTimestamp: string; }; export declare function createEntry(context: EntriesSharedContext, input: CreateEntryInput): JournalEntry; export interface UpdateEntryInput { content?: string | undefined; entryType?: EntryType | undefined; tags?: string[] | undefined; isPersonal?: boolean | undefined; significanceType?: string | null | undefined; autoContext?: string | null | undefined; projectNumber?: number | null | undefined; projectOwner?: string | null | undefined; issueNumber?: number | null | undefined; issueUrl?: string | null | undefined; prNumber?: number | null | undefined; prUrl?: string | null | undefined; prStatus?: string | null | undefined; workflowRunId?: number | null | undefined; workflowName?: string | null | undefined; workflowStatus?: string | null | undefined; isArchived?: boolean | undefined; expectedVersion?: number | undefined; workspaceId?: string | undefined; trustScore?: number | undefined; validationStatus?: 'passed' | 'failed' | 'none' | undefined; impactScore?: number | undefined; sessionId?: string | null | undefined; targetWorkspaceId?: string | undefined; } export declare function updateEntry(context: EntriesSharedContext, id: number, input: UpdateEntryInput): JournalEntry | null; export declare function deleteEntry(context: EntriesSharedContext, id: number, permanent?: boolean, workspaceId?: string): boolean; export declare function restoreEntry(context: EntriesSharedContext, id: number, workspaceId?: string): boolean; export declare function createEntries(context: EntriesSharedContext, inputs: CreateEntryInput[]): { created: JournalEntry[]; errors: { index: number; error: Error; }[]; }; export declare function updateEntries(context: EntriesSharedContext, updates: ({ id: number; } & Parameters[2])[]): { updated: JournalEntry[]; notFound: number[]; errors: { id: number; error: Error; }[]; }; export declare function deleteEntries(context: EntriesSharedContext, ids: number[], permanent?: boolean, workspaceId?: string): { deleted: number[]; notFound: number[]; errors: { id: number; error: Error; }[]; }; //# sourceMappingURL=crud-write.d.ts.map