/*!
 * Copyright (C) Microsoft Corporation. All rights reserved.
 */
import type { Region } from './Regions.js';
/**
 * Map a Power Platform region to the corresponding web player base URL.
 * Falls back to the prod URL when the region is undefined or unrecognised.
 *
 * NOTE: The 'local' region is mapped to the prod URL so local development can
 * still launch flows that target a production-shape player (the player itself
 * does not have a "local" build).
 */
export declare function getMaafPlayerBaseUrl(region: Region | undefined): string;
export interface MaafConnectionUrlOptions {
    /** The connector name (e.g. `shared_sql`). */
    connector: string;
    /** The localhost callback URL the page will redirect to after completion. */
    callbackUrl: string;
    /** One-time nonce for CSRF verification. */
    nonce: string;
    /** Protocol version for drift detection between CLI and player. */
    protocolVersion: string;
}
/**
 * Build the URL that opens the connection creation dialog in the
 * Microsoft Apps web player.
 *
 * Shape: `${baseUrl}/appframework/e/${environmentId}/connections/new?connector=...&callbackUrl=...&nonce=...&v=...`
 */
export declare function createMaafConnectionUrl(region: Region | undefined, environmentId: string, options: MaafConnectionUrlOptions): string;
//# sourceMappingURL=MaafPlayerUrls.d.ts.map