import type { Integration } from './constants.js'; export interface AutoConfigResult { redirectUri: { success: boolean; alreadyExists: boolean; }; corsOrigin: { success: boolean; alreadyExists: boolean; }; homepageUrl: { success: boolean; }; } export interface AutoConfigOptions { /** Custom homepage URL (defaults to http://localhost:{port}) */ homepageUrl?: string; /** Custom redirect URI (defaults to framework convention) */ redirectUri?: string; } /** * Auto-configure WorkOS dashboard settings for local development. * Sets redirect URI, CORS origin, and homepage URL via the WorkOS API. * * @param apiKey - WorkOS API key (sk_xxx) * @param integration - Framework integration type * @param port - Detected or default dev server port * @param options - Optional overrides for homepage URL and redirect URI * * Non-blocking: failures are logged but don't stop the wizard. */ export declare function autoConfigureWorkOSEnvironment(apiKey: string, integration: Integration, port: number, options?: AutoConfigOptions): Promise;