import type { ResolvedKitConfig } from './kitConfig'; /** * Supported @sveltejs/adapters-[adapter] SvelteKit adapters */ export type SupportedSvelteKitAdapters = 'node' | 'auto' | 'vercel' | 'cloudflare' | 'other'; /** * Tries to detect the used adapter for SvelteKit. * 1. If kitConfig is provided and has adapter.name, uses that (source of truth from SvelteKit itself). * 2. Otherwise falls back to inferring from package.json dependencies. * Returns the name of the adapter or 'other' if no supported adapter was found. * * @param kitConfig - Resolved SvelteKit config (e.g. from the kit config resolver). Pass `undefined` to skip config-based detection. * @param debug - Whether to log detection result. Pass `undefined` for false. */ export declare function detectAdapter(kitConfig: ResolvedKitConfig | undefined, debug: boolean | undefined): Promise; //# sourceMappingURL=detectAdapter.d.ts.map