import { type H3Event } from "h3"; /** * Reject cross-site POSTs. Cookies are `SameSite=None; Secure` over HTTPS so * the browser would otherwise attach the session to a forged form submission * from evil.com, causing us to spend provider credits on the user's behalf. * Same-origin browsers always send `Origin` on POST; if it's missing we fall * back to `Sec-Fetch-Site` so Safari's fetch-spec behavior still works. */ export declare function isSameOriginRequest(event: H3Event): boolean; //# sourceMappingURL=request-origin.d.ts.map