@capgo/cli
Version:
A CLI to upload to capgo servers
10 lines (9 loc) • 509 B
TypeScript
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 {};