import type { DataContext, DataResult, PageWithData, StaticPathsResult } from "./types.js"; /** * Options for isolated data fetching. Passed through to ServerDataFetcher * when worker isolation is enabled. */ export interface FetchDataOptions { /** Absolute path to the module containing getServerData */ modulePath?: string; /** Project directory for worker scoping */ projectDir?: string; /** Host-owned locality decision for development-only behavior. */ isLocalProject?: boolean; /** Narrow host-owned capability for project-code execution. */ allowHostProjectCodeExecution?: boolean; /** Stable host-owned tenant/project scope for reusable workers. */ workerScope?: string; /** Immutable release or source-snapshot identity for reusable workers. */ sourceGeneration?: string; } export declare class DataFetcher { private cacheManager; private serverFetcher; private staticFetcher; private pathsFetcher; constructor(_adapter?: unknown); fetchData(pageModule: PageWithData, context: DataContext, mode?: "development" | "production", options?: FetchDataOptions): Promise; getStaticPaths(pageModule: PageWithData): Promise; clearCache(pattern?: string): void; } //# sourceMappingURL=data-fetcher.d.ts.map