/** * Onboarding flow — first-contact composition. */ import type { WhatsAppClient, ContactCard } from '../client/whatsapp.js'; export interface OnboardingOptions { client: WhatsAppClient; contact?: ContactCard | null; welcomeBody?: string | ((args: { name: string | null; }) => string); optInButtonId?: string; optInButtonTitle?: string; helpText?: string | ((args: { name: string | null; }) => string) | null; delayBetweenMs?: number; } export declare class OnboardingFlow { readonly client: WhatsAppClient; readonly contact: ContactCard | null; readonly welcomeBody: string | ((args: { name: string | null; }) => string); readonly optInButtonId: string; readonly optInButtonTitle: string; readonly helpText: string | ((args: { name: string | null; }) => string) | null; readonly delayBetweenMs: number; constructor({ client, contact, welcomeBody, optInButtonId, optInButtonTitle, helpText, delayBetweenMs, }: OnboardingOptions); greet(whatsapp: string, { name }?: { name?: string | null; }): Promise; private maybeDelay; } //# sourceMappingURL=onboarding.d.ts.map