
//#region src/v2/runtime/core/fetch-cors.d.ts
/**
 * Built-in CORS utility for framework-agnostic CopilotKit runtime handler.
 *
 * This is a lightweight CORS implementation for web-standard
 * Request/Response. It's optional — if your framework already handles CORS,
 * pass `cors: false` or omit it.
 */
interface CopilotCorsConfig {
  origin?: string | string[] | ((origin: string) => string | null);
  credentials?: boolean;
  allowMethods?: string[];
  allowHeaders?: string[];
  exposeHeaders?: string[];
  maxAge?: number;
}
//#endregion
export { CopilotCorsConfig };
//# sourceMappingURL=fetch-cors.d.cts.map