import { i as UseNotionRevalidateOptions, n as NotionRealtimeOptions, r as NotionRevalidateTrigger, t as NotionPollOptions } from "./revalidate-BlMUmq1z.mjs"; //#region src/next.d.ts /** * Next.js App Router で SWR 再検証を `router.refresh()` 経由で発火させるフック。 * RSC ストリームを差分で受け取るため、URL も変わらず別 API fetch も発生しない。 * * @example * useNotionRevalidate({ on: ["mount", "visibility"] }); */ declare function useNotionRevalidate(opts?: UseNotionRevalidateOptions): void; /** * マウント後に `router.refresh()` を呼び、サーバー側 SWR で差し替わった最新データを * 別 fetch なしで取り込むレンダー無しコンポーネント。 * `poll` を指定すると KV ポーリングで更新完了を検出してから revalidate する。 */ declare function NotionRevalidator(props: UseNotionRevalidateOptions): null; //#endregion export { type NotionPollOptions, type NotionRealtimeOptions, type NotionRevalidateTrigger, NotionRevalidator, type UseNotionRevalidateOptions, useNotionRevalidate }; //# sourceMappingURL=next.d.mts.map