/** * The reason an address was refused, as a header the client can read. * * The domain's IP lists answer 403, and so does "no domain chosen" (domain-authenticate-middleware). * The client sent both to check-in; for a refused address check-in sends the person straight back, * so the screen stopped with nothing said (ADR README, plan 3). With this header the client can tell * the two apart and say what happened - the address is not let in, and check-in cannot change that. * * A header, not a body: it reaches the client whatever the request was (GraphQL, HTML, a file). */ export declare const REFUSAL_HEADER = "x-refusal"; export declare const REFUSED_ADDRESS = "address-not-allowed"; export declare function domainMiddleware(context: any, next: any): Promise;