import { AccessRulesSettings } from './settings'; /** * The helpers and `__tqGeoResponse(request)`: the response a blocked visitor * gets, `null` for everyone else. Expects `NextResponse` in scope. */ export declare const buildGeoMiddlewareSegment: (settings: AccessRulesSettings, unavailableRoute: string | null) => string; /** * The authentication middleware with the country rule in front of it: the * segment is appended, and the default export wrapped, so the file keeps * every auth helper untouched. Null when the file has no default export to * wrap (then the rule is left out rather than a broken middleware written). */ export declare const wrapMiddlewareWithGeo: (content: string, segment: string) => string | null; /** A middleware of the rule's own, for a project without the authentication one. */ export declare const buildStandaloneGeoMiddleware: (segment: string) => string; //# sourceMappingURL=geo-middleware.d.ts.map