import type { Pool } from 'pg'; import type { PageAddresses, PageEntity } from '../services/ports/pageAddresses.js'; /** * Writes the creation event again for the records that lost theirs (IMP-08). The * event is what the database trigger writes: the name, and the row as JSON. A * record is lost when it was created since `since`, has no `url_rewrite` row, and * has no event that is still to be handled: one `pending`, or one `processing` * for less than the time core allows before it counts it as lost. One statement, * so the records that need it are found and their events written together. */ export declare class PgPageAddresses implements PageAddresses { private readonly pool; constructor(pool: Pool); reemitMissing(entity: PageEntity, since: number): Promise; withAddress(entity: PageEntity, ids: readonly number[]): Promise>; }