import { ServerOptions } from '../types/cookieHandling/ServerOptions.js'; import 'cookie'; import 'http'; type FetcherResponse = { isError: false; frontasticRequestId: string; data: T; } | { isError: true; frontasticRequestId: string; error: string | Error; }; declare const fetcher: (url: string, options: RequestInit, serverOptions?: ServerOptions, sessionLifetime?: number) => Promise>; export { type FetcherResponse, fetcher };