export interface GroupBot { larkAppId: string; botName?: string; botAvatarUrl?: string; } export interface GroupMemberBot extends GroupBot { inChat: boolean; hasRole?: boolean; error?: unknown; oncallChat?: { workingDir?: string; } | null; } export interface GroupChat { chatId: string; name?: string; ownerId?: string | null; avatar?: string; memberBots: GroupMemberBot[]; } export interface GroupsSnapshot { chats: GroupChat[]; bots: GroupBot[]; } export interface GroupFilters { q: string; missingOnly: boolean; } export interface FetchGroupsSnapshotOptions { cacheMs?: number; force?: boolean; } export declare const emptyGroupsSnapshot: GroupsSnapshot; export declare function primeGroupsSnapshotCache(snapshot: GroupsSnapshot): void; export declare function fetchGroupsSnapshot(options?: FetchGroupsSnapshotOptions): Promise; //# sourceMappingURL=groups-api.d.ts.map