/**
 * WorkItem Database Mapper
 *
 * Maps between WorkItem domain objects and SQLite database rows.
 *
 * Mapping Rules:
 * - TypeScript objects (camelCase) <-> SQL columns (snake_case)
 * - Dates stored as INTEGER (unix milliseconds)
 * - sort_order stored as REAL (float64) for fractional indexing
 * - JSON objects stored as TEXT
 */
import type { WorkItem } from '../../../../domain/generated/output.js';
/**
 * Database row type matching the work_items table schema.
 */
export interface WorkItemRow {
    id: string;
    project_id: string;
    sequence_id: number;
    identifier_prefix: string;
    title: string;
    description: string | null;
    state_id: string;
    priority: string;
    parent_id: string | null;
    sort_order: number;
    start_date: number | null;
    due_date: number | null;
    estimate_value: string | null;
    custom_property_values: string | null;
    created_at: number;
    updated_at: number;
    deleted_at: number | null;
}
/**
 * Maps WorkItem domain object to database row.
 */
export declare function toDatabase(item: WorkItem): WorkItemRow;
/**
 * Maps database row to WorkItem domain object.
 */
export declare function fromDatabase(row: WorkItemRow): WorkItem;
//# sourceMappingURL=work-item.mapper.d.ts.map