import type { ArkmeAuthSnapshot, ArkmeSourceItem } from '../types.js'; import type { ArkmeDSHBetaCommunityJoinResult } from '../dsh-beta-community.js'; export interface BetaCommunityWelcome { accountKey: string; sourceRef: string; sourceKey?: string; title: string; occurredAtMillis: number; } export declare function welcomeAccountKey(auth: ArkmeAuthSnapshot | undefined): string | undefined; export declare class BetaCommunityWelcomeStore { private persist; private value; private listeners; constructor(initial?: BetaCommunityWelcome, persist?: (value: BetaCommunityWelcome) => void); getSnapshot: () => BetaCommunityWelcome | undefined; subscribe: (listener: () => void) => () => void; joined(result: ArkmeDSHBetaCommunityJoinResult, accountKey: string | undefined, currentAccountKey: string | undefined): void; resolveLegacySource(expected: BetaCommunityWelcome, source: ArkmeSourceItem): void; } export declare function welcomeMatchesSource(welcome: BetaCommunityWelcome | undefined, accountKey: string | undefined, source: ArkmeSourceItem | undefined): boolean; export declare const betaCommunityWelcomeStore: BetaCommunityWelcomeStore; export declare function welcomeDraft(current: string, lastSuggestion: string | undefined, suggestion: string): string; //# sourceMappingURL=beta-community-welcome.d.ts.map