import { type ScaffoldContext, type ScaffoldOptions } from '../types.js'; export interface SupabaseOptions extends ScaffoldOptions { skipSupabase?: boolean; /** Commander's `--no-auth` negation. */ auth?: boolean; } export interface SupabaseCredentials { url: string; publishableKey: string; } /** `https://abcdefgh.supabase.co` -> `abcdefgh` */ export declare function projectRefFromUrl(url: string): string | null; /** * Collects credentials, writes `.env.local`, and drives the Supabase CLI when * it is available. * * Every part of this degrades. A user who skips the prompts, or has no Supabase * CLI, still ends up with a working project and the exact commands they need. */ export declare function connectSupabase(ctx: ScaffoldContext): Promise;