import { serverCacheKey } from 'rntwsc/cache/key' import { hydrationKey } from 'rntwsc/hydration/config' import type { StrMap } from 'rntwsc/libs/utility-types' export const sck = serverCacheKey('rntwsc/fetch', ['fetch'] as const) export type UseFetch = { url: string headers?: StrMap } export const hk = hydrationKey('fetch')