UNPKG

@capgo/cli

Version:
10 lines (9 loc) 509 B
import type { SupabaseClient } from '@supabase/supabase-js'; import type { Database } from '../types/supabase.types'; interface ChannelSelectionPrompts { reuseChannel: (name: string) => Promise<boolean>; chooseName: (existingNames: string[]) => Promise<string>; createChannel: (name: string) => Promise<void>; } export declare function selectOnboardingChannel(supabase: SupabaseClient<Database>, appId: string, preferredName: string, prompts: ChannelSelectionPrompts): Promise<string>; export {};