import { ContentEntryRenderFunction, ContentEntryType } from "astro"; import type { AstroConfig, AstroIntegrationLogger } from 'astro'; import { ParsedPattern } from './types/ParsedPattern.js'; import { Entry } from './types/Entry.js'; export type SyncContext = { config: AstroConfig; logger: AstroIntegrationLogger; watcher: any; parseData: >(props: { id: string; data: TData; filePath: string; }) => Promise; store: any; generateDigest: (contents: string) => string; entryTypes: Map; untouchedEntries: Set; rendererCache: WeakMap; fileToIdMap: Map; transform?: (e: E) => E; }; export declare function syncData(context: SyncContext, parsedPatterns: ParsedPattern[], entry: string, base: URL, entryType?: ContentEntryType): Promise;