import { ANY, MIRROR_REQUEST } from "./support.js"; /** * Holds configuration for how to set the `Access-Control-Allow-Headers` header. * * @see [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) * @see {@link CorsLayer.allowHeaders} */ export declare class AllowHeaders { private readonly inner; private constructor(); static default(): AllowHeaders; static from(like: AllowHeadersLike): AllowHeaders; /** * Allows no headers. */ static none(): AllowHeaders; /** * Allows any headers by sending a wildcard (`*`). */ static any(): AllowHeaders; /** * Sets multiple allowed headers. */ static list(headers: string[]): AllowHeaders; /** * Allow any headers by mirroring the preflight `Access-Control-Request-Headers` header. */ static mirrorRequest(): AllowHeaders; } export type AllowHeadersLike = AllowHeaders | string[] | typeof ANY | typeof MIRROR_REQUEST | null;