import { Sql } from 'postgres'; import { LegiArticleInfo, LegiResolver, LegiSectionInfo, PreloadTextTitlesInfosOptions } from './resolver.js'; export declare class CanutesResolver implements LegiResolver { private readonly canutesDb; private readonly options; private readonly articleRowsByNumByTextAndDate; private readonly directSectionChildrenByParentAndDate; private readonly globalArticleRowsByNumAndDate; private readonly textIdBySegmentId; private textTitlesInfosLoaded; constructor(canutesDb: Sql, options?: { textTitlesInfosPath?: string; }); getActiveArticlesByTextAndNum({ date, num, textId, }: { date: string; num: string | undefined; textId: string; }): Promise; getDirectSectionChildren({ date, parentPath, }: { date: string; parentPath: string; }): Promise; getTextIdFromSegmentId(segmentId: string): Promise; getUniqueActiveArticlesByNum({ date, num, }: { date: string; num: string | undefined; }): Promise; preloadTextTitlesInfos(options?: PreloadTextTitlesInfosOptions): Promise; preloadUniqueActiveArticlesByNums({ date, nums, }: { date: string; nums: Iterable; }): Promise; }