import { ProjectPluginStructure } from '@teleporthq/teleport-types'; /** One rule of `next.config.js`'s `headers()`. */ export interface NextHeaderRule { source: string; headers: Array<{ key: string; value: string; }>; } /** * Serves `rules` through `next.config.js` — the one place that reaches both a * TeleportHQ deploy and a self-hosted export (the platform rewrites * `vercel.json`'s headers away). Creates the config when the project has * none, and leaves every other key of an existing one as it was. A `headers()` * the generator did not write is someone else's decision and is left alone. */ export declare const addNextConfigHeaderRules: (structure: ProjectPluginStructure, rules: NextHeaderRule[]) => void; //# sourceMappingURL=next-config-headers.d.ts.map