/** * The columns that hold a task's display id, for a rename to rewrite. * * A leaf: the display-id rename (`./display-id-alias.ts`) and the reconcile's * legacy-task renumbering (`./exodus/task-id-remap.ts`, T13172) share it, and * the reconcile must not pull the whole alias module onto its write path. * * @module * @task T12341 * @task T13172 */ import type { DatabaseSync } from 'node:sqlite'; import type { TaskReferenceColumn } from './sqlite-data-accessor.js'; /** * Every local column that holds a task's display id: declared foreign keys to * the tasks table, and the ROW_IDENTITY refs, key refs, owners and JSON-array * refs that point at it. * * @param db - Connection on the database holding the columns. * @param localName - Maps a consolidated table name to its name in `db`, or * `null` when `db` has no such table. Identity for a `cleo.db`; a legacy * `tasks.db` copy passes its unprefixed names (T13172). * @returns The columns, limited to tables present in `db`. * @task T12341 */ export declare function taskReferenceColumns(db: DatabaseSync, localName?: (consolidated: string) => string | null): TaskReferenceColumn[]; //# sourceMappingURL=task-reference-columns.d.ts.map