import { ClientConfig } from "@prismicio/client";

//#region src/types.d.ts
declare module "@prismicio/client" {
  interface RequestInitLike {
    next?: RequestInit["next"];
  }
}
/** @deprecated Use `@prismicio/client`'s `ClientConfig`. */
type CreateClientConfig = ClientConfig;
/**
 * The minimal set of properties needed from `next`'s `NextRequest` type.
 *
 * This request type is only compatible with Route Handlers defined in the `app` directory.
 */
type NextRequestLike = {
  headers: {
    get(name: string): string | null;
  };
  url: string;
  nextUrl: {
    pathname: string;
    searchParams: {
      get(name: string): string | null;
    };
  };
};
//#endregion
export { CreateClientConfig, NextRequestLike };
//# sourceMappingURL=types.d.ts.map