import type { Client } from '@libsql/client'; import type { Task, ImportTaskInput } from '../../types.js'; /** * Import (upsert) a task based on origin + remote_id. * If a task with the same origin+remote_id exists, update it. * If not, create a new task (local public_id auto-assigned). */ export declare function importTask(client: Client, data: ImportTaskInput): Promise; /** * Create an attachment record for an imported task. * The caller is responsible for writing the file to disk. */ export declare function importAttachment(client: Client, taskId: string, filePath: string, input: { filename: string; type: string; mime_type: string; }, sizeBytes: number): Promise; /** * Import an admin note for a task. */ export declare function importAdminNote(client: Client, taskId: string, input: { content: string; author_email?: string | null; }): Promise; /** * Replace all admin notes for a task with new ones. * Used during re-import to avoid diffing. */ export declare function replaceAdminNotes(client: Client, taskId: string, notes: Array<{ content: string; author_email?: string | null; }>): Promise; //# sourceMappingURL=import.d.ts.map