import type { TeamConversation, TeamOfficialMembership } from '../team-app-contract.js'; import { type TeamDirectoryPreferences } from './team-directory-preferences.js'; export interface OfficialMembershipSnapshot { state: 'pending' | 'ready' | 'unavailable'; value?: TeamOfficialMembership; } export declare const subscribeOfficialTeamMembership: (listener: () => void) => () => void; export declare const readOfficialTeamMembership: (key: string) => OfficialMembershipSnapshot; export declare const refreshOfficialTeamMembership: (key: string) => Promise; /** This optional read must neither delay conversations nor clear known status on transient failure. */ export declare function startOfficialTeamMembership(key: string): () => void; export declare function shouldShowOfficialContact(membership: OfficialMembershipSnapshot, conversations: readonly TeamConversation[], preferences: TeamDirectoryPreferences): boolean; //# sourceMappingURL=official-team-membership.d.ts.map