• Returns {
        bulkPut(items: (Omit<DocumentEntity, "id"> & {
            id?: number;
        })[]): Promise<number[]>;
        deleteByRepo(repo: string): Promise<number>;
        deleteUnusedInRepo(repo: string, usedIds: number[]): Promise<number>;
        deleteUnusedRepo(usedRepos: string[]): Promise<number>;
        deletedByRepoAndPath(repo: string, path: string): Promise<number>;
        findAllMtimeMsByRepo(repo: string): Promise<Map<string, {
            id: number;
            mtimeMs: number;
        }>>;
        findByRepoAndPath(repo: string, path: string): Promise<undefined | DocumentEntity>;
        getTable(): EntityTable<DocumentEntity, "id">;
        put(entity: Omit<DocumentEntity, "id"> & {
            id?: number;
        }): Promise<number>;
    }

    • bulkPut:function
      • Parameters

        • items: (Omit<DocumentEntity, "id"> & {
              id?: number;
          })[]

        Returns Promise<number[]>

    • deleteByRepo:function
      • Parameters

        • repo: string

        Returns Promise<number>

    • deleteUnusedInRepo:function
      • Parameters

        • repo: string
        • usedIds: number[]

        Returns Promise<number>

    • deleteUnusedRepo:function
      • Parameters

        • usedRepos: string[]

        Returns Promise<number>

    • deletedByRepoAndPath:function
      • Parameters

        • repo: string
        • path: string

        Returns Promise<number>

    • findAllMtimeMsByRepo:function
      • Parameters

        • repo: string

        Returns Promise<Map<string, {
            id: number;
            mtimeMs: number;
        }>>

    • findByRepoAndPath:function
      • Parameters

        • repo: string
        • path: string

        Returns Promise<undefined | DocumentEntity>

    • getTable:function
      • Returns EntityTable<DocumentEntity, "id">

    • put:function
      • Parameters

        • entity: Omit<DocumentEntity, "id"> & {
              id?: number;
          }

        Returns Promise<number>