import { ById } from '../../types/util'; import type { OneDriveState, OneDriveItem } from './microsoft-onedrive-types.ts'; import { DriveStructure } from './init.ts'; export declare function getDocumentFiles(oneDriveState: OneDriveState, init: DriveStructure, docIds: string[]): Promise<{ files: OneDriveItem[]; }>; export declare function insertDocumentFiles(oneDriveState: OneDriveState, init: DriveStructure, primaryPath: keyof RxDocType, docs: RxDocType[]): Promise; export declare function updateDocumentFiles(oneDriveState: OneDriveState, primaryPath: keyof DocType, docs: DocType[], fileIdByDocId: Record, concurrency?: number): Promise>; export declare function fetchDocumentContents(oneDriveState: OneDriveState, fileIds: string[], concurrency?: number): Promise<{ byId: ById; ordered: (DocType)[]; }>;