declare const PHONE_TARGET: "phone"; declare const USER_ID_TARGET: "user_id"; export interface PhoneTarget { readonly kind: typeof PHONE_TARGET; readonly value: string; } export interface UserIdTarget { readonly kind: typeof USER_ID_TARGET; readonly value: string; } export type RecipientTarget = PhoneTarget | UserIdTarget; export declare function Phone(phoneNumber: string): PhoneTarget; export declare function UserId(userId: string): UserIdTarget; export declare function isRecipientTarget(v: unknown): v is RecipientTarget; export interface ResolvedRecipient { to?: string; recipient?: string; } export declare function resolveRecipient(input: string | RecipientTarget, explicitRecipient?: string): ResolvedRecipient; export interface RecipientIdentity { key: string; primary: 'phone' | 'bsuid'; waId?: string; userId?: string; parentUserId?: string; username?: string; phoneUnavailable: boolean; replyTarget?: RecipientTarget; } export declare function getRecipientIdentity(input: { wa_id?: string; user_id?: string; parent_user_id?: string; username?: string; }): RecipientIdentity; export {};