import { CachedRscResponse, peekPrefetchResponseForNavigation } from "../shims/navigation.js";
//#region src/server/app-browser-prefetch-response.d.ts
declare function peekSettledPrefetchResponseForNavigation(options: {
  additionalRscUrls: readonly string[];
  bypassNavigationCache: boolean;
  interceptionContext: string | null;
  mountedSlotsHeader: string | null;
  navigationKind: "navigate" | "refresh" | "traverse";
  peek?: typeof peekPrefetchResponseForNavigation;
  targetPathAndSearch: string;
}): CachedRscResponse | null;
declare function resolvePrefetchNavigationResponseUrl(options: {
  additionalRscUrls: readonly string[];
  origin: string;
  responseUrl: string;
  visibleRscUrl: string;
}): string;
declare function prepareConsumedPrefetchResponseForPublication(response: CachedRscResponse, responseUrl: string): {
  expiresAt: number | undefined;
  preparedElements: CachedRscResponse["preparedElements"];
  snapshot: CachedRscResponse;
};
declare function preserveCommittedPrefetchExpiry(snapshot: CachedRscResponse, expiresAt: number | undefined): CachedRscResponse;
//#endregion
export { peekSettledPrefetchResponseForNavigation, prepareConsumedPrefetchResponseForPublication, preserveCommittedPrefetchExpiry, resolvePrefetchNavigationResponseUrl };