import type { Plugin } from 'vite';
/** App Framework API prefix that should be proxied, see [AppFW URL]/swagger-ui */
export declare const APPFW_API_PATH_PREFIX = "/platform";
/**
 * Vite plugin that provides App Framework API stubs and controlled redirect proxy.
 * Ports packages/cli/src/dev/fastify/appfw-plugin.ts to Vite's configureServer hook.
 */
export declare function dtAppfwVitePlugin(): Plugin;
/** Checks if the redirect target is the approved runtime.js or settings-widgets-runtime URL */
export declare function isAllowedRedirect(environmentUrl: string, redirectUrl: string): boolean;
